Azzera filtri
Azzera filtri

Plotting Multiple Lines from two end points in a matrix without a loop?

1 visualizzazione (ultimi 30 giorni)
I have sets of two end points in xyz coord in a matrix in the form of
V (2,3,418)
so for example V(1,:,1) would call the start point of the first line as [x, y, z ]
and V(2,:,1) would call the end point as [x,y,z]
I can plot this in a loop like
for i = 1:length
I was wondering if theres a way I can plot this all at once with out a loop?
  3 Commenti
Mitchell Thurston
Mitchell Thurston il 25 Dic 2021
so I left the tab open for this, and I got thinking again would a quiver3 be more what you're looking for?

Accedi per commentare.

Risposte (0)


Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by