3D plot for polynomial
22 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Durga thiyanesh
il 12 Ott 2023
Commentato: Dyuman Joshi
il 12 Ott 2023
How can I plot a polynomial function in MATLAB? for example: 3xy^3+ 2x^2 y^2+ 6xy^3
0 Commenti
Risposta accettata
Mathieu NOE
il 12 Ott 2023
hi
see meshgrid and surf documentaion
[x,y] = meshgrid(-2:.2:2,-4:.4:4);
z = 3*x.*y.^3+ 2*x.^2 .*y.^2+ 6*x.*y.^3;
surf(x,y,z)
1 Commento
Dyuman Joshi
il 12 Ott 2023
fsurf(@(x,y) 3*x.*y.^3+ 2*x.^2.*y.^2+ 6*x.*y.^3)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Polynomials 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!

