Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Make graph plot wait until error checking is done

4 ビュー (過去 30 日間)
jake harris
jake harris 2018 年 11 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
if disc >= 0
disp(['This Quadratic equation has two roots']);
disp(['the value of the roots are: ', num2str(x1) ' and ' num2str(x2)]);
if x1 > x2
while Start > x2
disp(['The Start value must be less than: ', num2str(x2)]);
Start = input('Please, input a Start value of x: ')
end
while End < x1
disp(['The End value must be greater than: ', num2str(x1)]);
End = input('Please, input an End value of x: ')
end
elseif x2 >x1
while Start > x1
disp(['The Start value must be less than: ', num2str(x1)]);
Start = input('Please, input a Start value of x: ')
end
while End < x2
disp(['The End value must be greater than: ', num2str(x2)]);
End = input('Please, input an End value of x: ')
end
end
^
|
This bit is includes the plot axis etc.
|
v
end
How do i get the plot to wait until the first section is done??
  1 件のコメント
jake harris
jake harris 2018 年 11 月 9 日
This is the full code

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by