×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Problem with the use of vector elements in Given-Find block

## Problem with the use of vector elements in Given-Find block

(OP)
Hello all,

I have such a problem - I want to use vector elements variables, ie. x[1 instead of x.1 in the Given-Find block, but I can not, because I get "Something is wrong with the solve block used to define this function" error. Anybody know why I can not use vector elements variables? I have also noticed that ie. if I write x[1 = 1 and in the next line x[1 = 2 Mathcad redefines previously defined variable, but there is no green underline and no "This expression redefines a previously defined variable" inscription, as it is when typing x.1 = 1 and then x.1 = 2. I use MC15.

Pederator

### RE: Problem with the use of vector elements in Given-Find block

It just doesn't. You should define the solve block with a single variable and assign the find to a function, ala,

fcn(x) := find(y) and then pass your vector to x

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!

### RE: Problem with the use of vector elements in Given-Find block

(OP)
Can you please attach an example or explain more detailed? I used to assign Find to a column vector, ie. (origin 1)

|x[1|
|x[2|:=Find(x.1,x.2,x.3)
|x[3|

Thanks for help.

### RE: Problem with the use of vector elements in Given-Find block

(OP)
Because i ususally find elements that are not started from 1, and also these are various variables, ie. m.4, m.7, m.8, m.9, h.7, h.9 etc. Above was just an example.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!