I had a matrix S=n*3 (x,y,z) where n is variable change every run and i want to get another variable L1 to Ln where L=sqrt((x2-x1)^2+(y2-y1)^2+(z2-z1)^2) in a matrix contain no of column (n)
MATLAB: Math problem for code
cooridates
Related Question
- How to solve error in executing for loop due to Solve command used
- Unable to convert expression into double array
- Getting an error “INDEX OUT OF BOUNDS” in the matlab program. Please help.
- Getting an error “INDEX OUT OF BOUNDS” in the matlab program. Please help.
- How to evaluate the derivatives of a Bessel function at different points
Best Answer