Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello Friends,
I am facing a problem for putting a IF function for a matrics
a=(1
2
3
-5
10)
Thats a is in matrics format.
WL=3
if function reqired that
h= if a>WL then WL
else if a<0 then 0
else WL
Now i am not getting the solution due to "a" is in matrics format and WL is a scalar format
and i want "h" also as matrics format.
Expected answer of h=(1
2
3
0
3) But i want to know how to write the programm for that