How to save the output from a while loop?

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 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

製品

リリース

R2019a

タグ

タグが未入力です。

質問済み:

2019 年 10 月 3 日

回答済み:

2019 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by