how to eliminate undesidered lines
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
my function is the quasi-sinusoidal signal but i don't want those lines which link the beginning and the end of the plot. What should I do?
0 Commenti
Risposte (2)
Image Analyst
il 19 Ott 2019
It looks like the last point is the same as the first. You could just plot all except the last point:
plot(x(end-1), y(end-1), 'g-', 'LineWidth', 2);
0 Commenti
Vedere anche
Categorie
Scopri di più su Annotations 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!