How to save the output from a while loop?

1 view (last 30 days)
Tianze Li
Tianze Li on 3 Oct 2019
Answered: Daniel M on 3 Oct 2019
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)

Daniel M
Daniel M on 3 Oct 2019
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

Tags

No tags entered yet.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!