Plotting
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I would like plot a few vectors but I don't want to plot the values of zero. How can I do this the most efficient way?
0 Commenti
Risposte (1)
the cyclist
il 16 Ott 2011
A more detailed question would allow a more detailed answer, but here is a basic step:
indexToNonZeroX = (x~=0); % There are many ways to do this
plot(x(indexToNonZeroX))
0 Commenti
Vedere anche
Categorie
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!