3D plot for polynomial
조회 수: 22 (최근 30일)
이전 댓글 표시
How can I plot a polynomial function in MATLAB? for example: 3xy^3+ 2x^2 y^2+ 6xy^3
댓글 수: 0
채택된 답변
Mathieu NOE
2023년 10월 12일
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
Dyuman Joshi
2023년 10월 12일
fsurf(@(x,y) 3*x.*y.^3+ 2*x.^2.*y.^2+ 6*x.*y.^3)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

