Hi, I´m translating some matlab codes to mathcad and I have had problems with the function Find.
Vlin= Vector 23x1
idx = find(Vs30 < V_lin);
In Mathcad it says that idx is undefined.
It should return a vector 23x1
Please help me, Thank u !
Solved! Go to Solution.
The command "Find" in Mathcad is the end of a specific construction, a solve block. It's not clear what you're trying to do. If you want a 23 element vector, all V30 value, I'd do it this way:
Just to add a small point to Fred's reply: note that indexing in Mathcad starts at 0 by default, though this can be changed using ORIGIN = 1 to match MATLAB's starting index.