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

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
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.

5 REPLIES 5
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

6-Contributor
(To:ppal)

Catch it.

24-Ruby V
(To:ppal)

Something like this?

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

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.

Announcements