3-D-plot doesn't look like on Wolfram Alpha
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Niklas Kurz
il 7 Dic 2020
Commentato: Steven Lord
il 15 Dic 2020
I'm confused. By typing:
[x,y] = meshgrid(-2:0.2:2)
z = sin(x)./(y.^2+1)
surf(x,y,z)
I receive a totally different plot.
0 Commenti
Risposta accettata
Alan Stevens
il 8 Dic 2020
It looks the same to me as long as you enter
plot sin(x)/(y^2+1) from x=-2 to 2 and y=-2 to 2
into Wolfram Alpha
2 Commenti
Steven Lord
il 15 Dic 2020
See this documentation page for more information about the difference between the / and ./ operators.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!