Info

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

Intro Homework help - what to change - where do i go from here?

1 回表示 (過去 30 日間)
Morley
Morley 2011 年 9 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
heres the homework - i took a pic of it in the link http://tinypic.com/r/24cfo6b/7
i worked on the problem for about an hour last night and cant get the first grid right
heres what i did
x=0:.5:90;
y=.02:.05:.2;
[x,y]=meshgrid(x,y);
z = 300./sqrt(2.*pi.*y).*cos(x./2).*(1-sin(x./2).*sin(3.*x./2));
mesh(x,y,z)
  2 件のコメント
Wayne King
Wayne King 2011 年 9 月 28 日
You should post code where you are getting errors. People tend to help out more in those situations, than when somebody just asks for the solution to their homework.
Jan
Jan 2011 年 9 月 28 日
I cannot see anything on tinypic. Itr is surely a fault of my restrictive security setting of my browser. I do not want to make my browser vulnarable only to see a picture.
It would be much more efficient, if the pictures can be hosted directly on the TMW servers.

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 9 月 28 日
sin() vs sind(). cos() vs cosd()

William
William 2011 年 9 月 29 日
Just a quick reminder: Matlab does all that math in Radians. so if you want to convert it all use ether sind() or cosd() or multiply everything by 180/pi

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by