Error with pinv in MATLAB r2018a
Show older comments
I am taking the pseudoinverse of a matrix using pinv but get the following error:
Error using svd
SVD did not converge.
Error in pinv (line 18)
[U,S,V] = svd(A,'econ');
I cannot reproduce this error in r2021b on my laptop. It only shows up when I run the code on a cluster in r2018a. Is this a known issue? Is there an easy way around it? I'm not sure about the specific matrix / data that causes the code to terminate (I'm analyzing a lot of data with this code on the cluster) but I could look into this if it might narrow down what's going on.
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!