Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Need help graphing a surface!

1 回表示 (過去 30 日間)
A
A 2014 年 2 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (3 件)

Mischa Kim
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
Walter Roberson 2014 年 2 月 5 日
That requires that matrices be defined, which "A" wants to avoid.

Walter Roberson
Walter Roberson 2014 年 2 月 5 日
Depending on your equation forms, you might be able to use MATLAB's explot()

A
A 2014 年 2 月 5 日
I'll check it out. Here's another question:
How can I superimpose multiple equations onto one plot creating this 'mixed' surface?

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by