fprintf prints Multiple Lines
7 ビュー (過去 30 日間)
古いコメントを表示
fprintf('b) Determine the steady state errors:\n\t\t with step input = %.3f,\n\t\t with ramp input = %.3f,\n\t\t with parabola input = %.3f\n', es, er, ep)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/759846/image.jpeg)
4 件のコメント
Walter Roberson
2021 年 10 月 6 日
check size(es), size(er), size(ep) and figure out which one is non-scalar. Then backtrack in your code to figure out why it is nonscalar.
Kshitij Chhabra
2021 年 10 月 11 日
Hi Sachini,
As mentioned by Walter, it seems that you have non scalar values for your variables. Can you please share the portion of code where you are computing the same so that we can get more idea about your problem?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!