plotting lines in 3D
1 view (last 30 days)
Show older comments
Deepa Maheshvare on 19 Jul 2020
I've the following to add additional points on a line joingin 2 points located in 3D space extended from 2D example shown here.
xyz1 = [-1,3,0];
xyz2 = [2,5,2];
t = linspace(0,1,n+1)';
xyz = (1-t)*xyz1 + t*xyz2
Plot doesn't work fro 3D,I would like to know how to plot the above.
More Answers (0)
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!