Storing eigenvalues from a loop
Show older comments
Hi everyone,
I have made a code that finds a space-state system matrix A and finds its eigenvalues for one specified parameter (call it U) that is predefined and its a part of matrix A.
Now I want to create a loop that will allow me to vary U (lets say from U=220 to U=250) and then calculate eigenvalues for each U. I am having a trouble writing the code that will store these eigenvalues after each iteration.
Any help is appreciated, Thank you :)
Accepted Answer
More Answers (1)
j21
on 30 Mar 2020
0 votes
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!