フィルターのクリア

Matrix dimensions must agree

2 ビュー (過去 30 日間)
Chirag
Chirag 2022 年 10 月 14 日
回答済み: DGM 2022 年 10 月 14 日
wn = 196570;
r = 6351.43;
chi = 0:0.1:2;
phim = 1;
ke = 1.134;
w = 1./(wn.^2.*sqrt(1+(r.*chi).^2.))*sqrt((1-(1+2*phim.*r).*chi.^2.)^2.+((1+ke.^2).*r.*chi+2*phim.*chi-r*chi.^3.)^2.);
plot(chi,w)

回答 (1 件)

DGM
DGM 2022 年 10 月 14 日
I'm going to guess that this is what was intended
wn = 196570;
r = 6351.43;
chi = 0:0.1:2;
phim = 1;
ke = 1.134;
w = 1./(wn.^2.*sqrt(1+(r.*chi).^2)).*sqrt((1-(1+2*phim.*r).*chi.^2).^2 + ((1+ke.^2).*r.*chi + 2*phim.*chi - r*chi.^3).^2);
plot(chi,w)
compare as needed.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by