ignore spesific values in my plot
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
alexis papadopoulos
am 6 Dez. 2017
Beantwortet: Adam
am 6 Dez. 2017
how can i ignore one spesific value before i plot my funcion? for example i have to plot
y(i)=282*sqrt(1+cos(x(i))/sin(x(i)).^2) , x=[-0.13*pi:0.01:0.13*pi]
but i dont want the value for x=0.
0 Kommentare
Akzeptierte Antwort
Adam
am 6 Dez. 2017
x=[-0.13*pi:0.01:0.13*pi];
x = setdiff( x, 0 );
would be one way. Just creating x in the first place without it containing 0 would be another.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!