I'm trying to calculate the SVD on this symbolic matrix using Matlab
0 2 3 4*a 5*a
6 7 1 8*a 9*a
using the following code:
syms a
M = [0 2 3 4*a 5*a ; 6 7 1 8*a 9*a]
s = svd(M)
It's working, and i can get the singular values, but using the following code I can get the orthogonal matrices.
[U,S,V] = svd(M)
I get this error:
Error using sym/svd (line 85) Input arguments must be convertible to floating-point numbers.
How can i deal with that?
svd
does not accept non-numeric inputs. try doing:syms a real
– Ander Biguri