Plotting vector using scatter cloud
Ältere Kommentare anzeigen
I have a 100 3D vectors created using:
V = round(rand(100,3)*2-1);
I want to plot this vector in 3D using scatter3 (scatter cloud) but I need x y z values of the vector. How do I extract the x y z values. So the code I need to run is :
x = ...;
y = ...;
z = ...;
scatter3(x,y,z)
But I don't know how to get the x y z.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Scatter Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!