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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(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

Catch it.

 

screen.PNG

Werner_E
25-Diamond I
(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
25-Diamond I
(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.

Announcements

Top Tags