Info

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

Can you please help me in this assignment Matlab

1 回表示 (過去 30 日間)
Mike
Mike 2013 年 9 月 30 日
閉鎖済み: Walter Roberson 2013 年 9 月 30 日
E - e*sin[E] = M
create a function called kepler which solves the kepler equation for E given e and M (your function should accept M and e as inputs, and return E). The actual solution should be performed using the MATLAB built in function fzero() to solve the following form of Kepler's equation:
0 = E - e*sin[E] – M
We use this form because fzero solves for roots of the input function. Recall that fzero() is a function function, and that it that it expects that the function argument which you pass it will only accept one argument. This means that fzero(f(x)) is acceptable, but fzero(f(x,y)) is not. As such you might have to use the shared workspace property of nested functions to your advantage to complete this assignment.
Please plot E vs. M for e of values [0 0.25 0.5 0.75 1]. Please include all 5 curves in 1 figure axis. Please label axis and include a legend. E should range from 0 to 2*Pi.
  1 件のコメント
Jan
Jan 2013 年 9 月 30 日
Is this a copy of your homework assignment? And what kind of help do you expect then? See http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by