Absolute Value of a Vector in MATLAB - Stack Overflow

Absolute Value of a Vector in MATLAB - Stack Overflow

瀏覽:821
日期:2025-04-28
If I have a vector: A=[1,1,1] I know it has length, SQRT( (1^2)+(1^2)+(1^2) ) ... Use the norm function. B = norm(A,2);. The second parameter indicates you want to use ......看更多