When I use this:
vidObj = mmreader('xylophone.mpg');rank(single(M))M = read(vidObj);[m1,m2,m3,m4] = size(M);M = reshape(M,[m1*m2 m3*m4]);r = rank(double(M))
I get this result:
ans = 45
But when I do this with double precison values I get a different result.
>> rank(double(M)) ans = 423
How can I get similar results as double precision?
Best Answer