cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Allocate a Variable

ppal
17-Peridot

Allocate a Variable

 

How do a allocate a variable to another variable based on conditional check?

Attached a picture and Mathcad Prime 4 file.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:ppal)

> Once I find the column of data whose angle  is close to the angle of the fourth column I want to allocate that column of data to a  variable IF.   The new column of data is now IF .

 

So it looks that my guess was correct!? Can you confirm?

 

So all thats needed is to apply it to a whole column of data which you would have to provide in the first place.

View solution in original post

5 REPLIES 5
LucMeekes
23-Emerald III
(To:ppal)

You're not being very clear:

What 'difference'?

And what do you want IF to be when the 'difference' is > 10 degrees?

I could assume a thing or two, but I'd rather start on clear input.

 

Luc

rmikołajczyk
6-Contributor
(To:ppal)

Catch it.

 

screen.PNG

Werner_E
24-Ruby V
(To:ppal)

Something like this?

B.png

ppal
17-Peridot
(To:ppal)

Essentially I have 3 columns of data. 

 

These 3 columns of data are individually  compared with a fourth  column of data.

 

Once I find the column of data whose angle  is close to the angle of the fourth column I want to allocate that column of data to a  variable IF.   The new column of data is now IF .

 

Regards

Werner_E
24-Ruby V
(To:ppal)

> Once I find the column of data whose angle  is close to the angle of the fourth column I want to allocate that column of data to a  variable IF.   The new column of data is now IF .

 

So it looks that my guess was correct!? Can you confirm?

 

So all thats needed is to apply it to a whole column of data which you would have to provide in the first place.

Top Tags