what is the meaning of disp(' ') ?

9 views (last 30 days)
Parth Jain
Parth Jain on 29 Feb 2020
Commented: Walter Roberson on 1 Mar 2020
working on following code
while CorrectABC~=1
disp('Is this the equation you"d like to find roots?')
disp(' ')
what does disp(' ' ) mean?

Accepted Answer

Image Analyst
Image Analyst on 29 Feb 2020
It just prints out a blank line to the command window.
  1 Comment
Walter Roberson
Walter Roberson on 1 Mar 2020
This gives you a visual separation, which can make the output easier to understand.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!