division of an equation
1 回表示 (過去 30 日間)
古いコメントを表示
while writing the following in matlab,
la=(-1:0.1:1)*pi;
T10=a01/(1+b1*cos(la));
message saying matrix dimension must agree.please tell me how to write this in matlab
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2013 年 1 月 31 日
編集済み: Azzi Abdelmalek
2013 年 1 月 31 日
You can't divide 1 by [ 1 2 3] , you should use operation element by element ./ or .* or .^
la=(-1:0.1:1)*pi;
T10=a01./(1+b1*cos(la));
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!