Why am I get discontinuous plot?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Moj
am 27 Nov. 2014
Bearbeitet: Azzi Abdelmalek
am 27 Nov. 2014
Why am I get discontinuous plot?
x = -2*pi:.1:2*pi;
y = 2e-6*sin(x).*cos(x)/(10.5e-12*sin(x).^2+13.8e-12*cos(x).^2);
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 27 Nov. 2014
Bearbeitet: Azzi Abdelmalek
am 27 Nov. 2014
Use ./ instead of /
x = -2*pi:.1:2*pi;
y = 2e-6*sin(x).*cos(x)./(10.5e-12*sin(x).^2+13.8e-12*cos(x).^2);
plot(x,y)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots 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!