Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
hi
for example if A=(a,b,c,d,e) and a=1, b=-3, c=4, d=2, e=-1,
how can I choose "d"(minimum positive number biger than one)
"A" is matrix
Solved! Go to Solution.
PS Without zeros!
Or a little program
thanks
yes this way is better,tanks alot
this program dont work
use not a but Re(a) please
L.sw=A
thanks alot but I want to choose only from real number not from Imaginary numbers
Maybe that way:
But using the built.in functions match and trim you get into troubles if all values in A a bigger than 1.
Solution can be to write a program for your task or rewrite match and trim to work even if nothing has to be trimmed.
Werner
if I have this matrix how can I choose 4.97?
In this case you need to use "match ()" built-in function: