Hi. Why i can`t get graphic? what is wrong?

1 回表示 (過去 30 日間)
Ferid Qelenderli
Ferid Qelenderli 2016 年 5 月 4 日
コメント済み: CS Researcher 2016 年 5 月 4 日
m=0.221;
i=0;
for w=0:0.01:2
i=i+1;
k1=5./(6.*exp(m.*w));
a1=(-37.52.*(w.^3).*(m.^3)+112.56.*m.*(w.^3)+26.77.*(m.^2).*(w.^2)-26.77.*(w.^2)-8.69.*m.*w+1).*k1;
a2=(112.56.*(w.^3).*(m.^2)-37.52.*(w.^3)-53.54.*m.*(w.^2)+8.69.*w).*k1;
Ree=a1.*cos(w)-a2.*sin(w);
Imm=a2.*cos(w)+a1.*sin(w);
C0=w.*((m.^2)+1)*Imm;
C1=m.*Imm-Ree;
if i==10
i=0;
if C0<0
end
end
plot(C0,C1),grid;
end

採用された回答

CS Researcher
CS Researcher 2016 年 5 月 4 日
Your C0 and C1 are scalars. To see the point you can do this:
scatter(C0, C1)
grid;
  2 件のコメント
Ferid Qelenderli
Ferid Qelenderli 2016 年 5 月 4 日
it`s worked. thank you
CS Researcher
CS Researcher 2016 年 5 月 4 日
If it worked you should accept the answer so it can help others too!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by