Quantcast
Viewing all articles
Browse latest Browse all 2936

Table/Vector (Excel import) compare value and replace

Hello,

 

On my worksheet, I import an Excel table with about 50.000 lines, name is "signal".

 

With a formula, I convert the input Excel value (Amper) to (Volt) units.

 

After, I would like to create a new table, with 5V when "signal" is HIGHER than a constante name's (SeuilHIGH) and 0V if is lower.

 

I try a boucle for, match, but I don't manage to my objective.Image may be NSFW.
Clik here to view.

 

With match(SeuilHIGH, signal, "gt"), it display the index of the table, but how can I replace the value by the good one?

 

I attached the file.

Excel importation is on page 2 and computation on page 2 and 3.

 

have you got an idea in order to create a new table/matrix with only two values according to the first table "signal"?

 

Thank you,

 

have a good week,

 

Emilien Image may be NSFW.
Clik here to view.

Worksheet is for mathcad 2.0 (and 3.0 I hope)


Viewing all articles
Browse latest Browse all 2936

Trending Articles