Need help graphing a surface!
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hi,
I am graphing x, y, z equations into surfaces. I am currently doing this in Excel. However, in Excel, I have to use 'matrices' with defined values. How can I graph an equation like this...
x = y + z
...without needing to have defined values/matrices.
How can I do this? Should I stick to Excel? move to MatLab? or is there a better application out there to do this?
Thanks
0 个评论
回答(3 个)
Mischa Kim
2014-2-5
MATLAB is your tool. Try
[x,y] = meshgrid(0:.1:10);
z = x - y;
mesh(z);
box
mesh is only one of several options you can use to plot data in 3D.
1 个评论
Walter Roberson
2014-2-5
That requires that matrices be defined, which "A" wants to avoid.
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!