MODAL Receptance matrix calculation
조회 수: 9 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!