How to draw a 3D plot of a function in form y=f(X) and X is an array [X(1),X(2)] ?
이전 댓글 표시
Hi every body i need to draw a function in form :
function F_cost= objfun(X)
F_cost=(cos(X(1)*X(2)));
I cant use fplot or ezsurf and i don't know why !!
for example ezsurf (objfun) or ezplot(objfun,[-3 3 -3 3]) doesn't work !!
Can any body help me plz !?
Bests Sadeg
채택된 답변
추가 답변 (1개)
ss
2014년 4월 10일
댓글 수: 1
Mischa Kim
2014년 4월 10일
See answer above. Please post follow-up questions and comments as comments, not questions.
카테고리
도움말 센터 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!