MODAL Receptance matrix calculation

9 ビュー (過去 30 日間)
H....A.....
H....A..... 2019 年 4 月 20 日
I am triying create receptance matrix of beam exited by harmonic force. I wrote the following code;
for i=1:10
for k=1:10
for r=1:10
summe(i,k)=0;
w=0:0.01:2000;
summe(i,k)=summe(i,k)+(phi_c(i,r).*phi_c(k,r))./(wn_c(r).^2-w.^2+0.05i*wn_c(r).^2)
end
end
end
But there exist an error like "Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is
1-by-200001.
Error in (line 87)
summe(i,k)=summe(i,k)+(phi_c(i,r).*phi_c(k,r))./(wn_c(r).^2-w.^2+0.05i*wn_c(r).^2)"
What is the wrong?

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Physics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by