About "eigs" function
4 views (last 30 days)
Show older comments
Hello every one,
I want to run an LLE code when I need to use "eigs" function to solve an eigenproblem.
This is the syntax that I use in Matlab Online :
[YT, ~] = eigs(M, d+1, 0, 'Display', 0, 'StartVector', ones(size(M, 1), 1));
The problem is that I obtain a new result each time the code is executed.
If you can help me to overcome this problem ?
Best regards,
0 Comments
Answers (1)
Christine Tobler
on 4 Jul 2020
This was the case for old EIGS, it would use some random restart vectors that changed on every run. In the version of EIGS that supports the 'Display' and 'StartVector' options, the output should always stay the same.
If you're able to, could you share the matrix M and input d?
See Also
Categories
Find more on Operating on Diagonal Matrices 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!