How to save the output from a while loop?

1 回表示 (過去 30 日間)
Tianze Li
Tianze Li 2019 年 10 月 3 日
回答済み: Daniel M 2019 年 10 月 3 日
I used the following code to find an amount of values, but how do I put these values into a new matrix? Many thanks
C = max(u);
while any(abs(C))<10
end

回答 (1 件)

Daniel M
Daniel M 2019 年 10 月 3 日
Your question is unclear, and it seems you are a beginner to Matlab. I would suggest doing the Matlab on-ramp course. It should be easy to find.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by