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

Answers (1)

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.

Categories

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

Products

Release

R2019a

Tags

No tags entered yet.

Asked:

on 3 Oct 2019

Answered:

on 3 Oct 2019

Community Treasure Hunt

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

Start Hunting!