フィルターのクリア

number of elements in B and I must be the same?

3 ビュー (過去 30 日間)
Kevin
Kevin 2014 年 7 月 21 日
編集済み: Matt J 2014 年 7 月 21 日
Hi,
For the following line of code:
for i=1:length(C_T)
if C_T(i) > 0.96;
axial_induction(i) = 1 ./ (((4.*F.*cos(relative_wind)) ./ (sigma.*Cl))-1);
else
axial_induction(i) = 1 ./ (1+(4.*F.*(sin(relative_wind)^2)) ./ (sigma.*Cl*cos(relative_wind)));
end;
end;
I am getting the following error:
In an assignment A(I) = B, the number of elements in B and I must be the same.
Error in BEM (line 79) axial_induction(i) = 1 ./ (((4.*F.*cos(relative_wind)) ./ (sigma.*Cl))-1);
I am trying to calculate 'axial_induction' at various points along a blade section and the equation which I use depends on the 'C_T' value. Could anyone please help me with this?

採用された回答

Matt J
Matt J 2014 年 7 月 21 日
編集済み: Matt J 2014 年 7 月 21 日
It means (in this case) that the right hand side of
axial_induction(i) = 1 ./ (((4.*F.*cos(relative_wind)) ./ (sigma.*Cl))-1);
is not scalar-valued.

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by