이전 댓글 표시
[x,y]=meshgrid(-6:1:6)
z=x*y
Is not giving the function z=x*y, anybody come across this issues pls?
채택된 답변
추가 답변 (1개)
Laura Proctor
2011년 6월 22일
Or, you could use matrix multiplication with vectors:
x = -6:6;
z = x'*x
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!