MATLAB: How to compute the absolute value of a symbolic vector

vectors

How can i obtain the absolute value of a symbolic vector?

Best Answer

I am not exactly certain what you want to do, but norm may be what you want.
For example:
syms Vx Vy Vz
V = [Vx; Vy; Vz];
norm1 = norm(V, 1)
produces:
norm1 =
abs(Vx) + abs(Vy) + abs(Vz)
Related Question