필터 지우기
필터 지우기

How to remove the word 'Pythogorean results are' for the second line onwards?

조회 수: 1 (최근 30일)

채택된 답변

Walter Roberson
Walter Roberson 2018년 4월 10일
편집: Walter Roberson 2018년 4월 10일
if c == 1
fprintf('Pythagorean results are\n');
end
if c <= 10
fprintf('a=....');
end
But probably you should just move printing of that one line to before the outer-most loop.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by