필터 지우기
필터 지우기

fprintf prints Multiple Lines

조회 수: 6 (최근 30일)
Sachini Perera
Sachini Perera 2021년 10월 6일
댓글: Kshitij Chhabra 2021년 10월 11일
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)
  댓글 수: 4
Walter Roberson
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
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 CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by