i need b value for every p using trial and error method
3 ビュー (過去 30 日間)
古いコメントを表示
m=1.6;
r=1.4;
p=[1:1:14];
tan[p]=[2*cot[b]]*[[m.^2*sin[b]*sin[b]-1]/[m.^2[r+cos[2*b]]+2]];
disp(b)
2 件のコメント
John D'Errico
2023 年 9 月 30 日
編集済み: John D'Errico
2023 年 9 月 30 日
You are writing in the wrong language. Square brackets are not how you pass arguments into a function. You use () instead. I'd strongly suggest you start with the MATLAB Onramp tutorial, and learn basic MATLAB syntax.
回答 (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!