ignore spesific values in my plot
2 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Adam
on 6 Dec 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 Comments
More Answers (0)
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!