Buenas noches, Por favor en la programación que estoy realizando si alguien me pueda ayudar se tata de aplicar condiciones a una matriz. Gracias de antemano por la valiosa ayuda. Mathcad Prime 8.0.
Solved! Go to Solution.
Hi,
Her an alternative to Terry's solution - assuming ORIGIN=0
BTW, to make Terry's version fully ORIGIN-independent the two column operators in the last but one line must use ORIGIN instead of 0 😉
Or using the column operator and vectorization
We could also do without any loop and vectorize the whole matrix multiplication, but because of the first text column its a bit more complicated as we can't simply write
because Prime won't allow to multiply a string by a number. So we have to extract the numerical data only first