How to draw graph of the following function?

2 ビュー (過去 30 日間)
zekeriya özkan
zekeriya özkan 2021 年 5 月 24 日
編集済み: Walter Roberson 2021 年 5 月 27 日
I couldn't manage to draw the graph of the function at the picture? Please help
  1 件のコメント
zekeriya özkan
zekeriya özkan 2021 年 5 月 24 日
Thanks a lot. I am very very kindful to you. See you.
If possible, can you write your e-mail.
Maybe, i can write any question to you like this one.
My e-mail is:
zekeriyaozkan@gmail.com
Sincerely. See you.

サインインしてコメントする。

採用された回答

Torsten
Torsten 2021 年 5 月 24 日
編集済み: Walter Roberson 2021 年 5 月 27 日
function main
a = 1;
nu = 2;
d0 = 0;
nu0 = 1;
n = 15;
deltat = 0.05;
% end of user inputs
T = 0:deltat:n ;
M = [(1-a/nu^2)*cos(nu) sin(nu)/nu ; -nu*(1-a/nu^2)*sin(nu) cos(nu)];
vec = zeros(2,n+1);
vec(:,1) = [d0;nu0];
Mpot= eye(2);
for i=1:n
Mpot = Mpot*M;
vec(:,i+1) = Mpot*[d0;nu0];
end
for i=1:numel(T)
na = floor(T(i));
arg = nu*(T(i)-na);
x(i) = [(1-a/nu^2)*cos(arg)+a/nu^2 , sin(arg)/nu]*vec(1:2,na+1);
end
plot(T,x)
end
  1 件のコメント
zekeriya özkan
zekeriya özkan 2021 年 5 月 25 日
Thanks a lot Dear friend.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by