I am getting Warning: Rank deficient, rank = 0, tol = NaN repeatedly in my code.Can anyone help me...?
Show older comments
I am getting this error and in my workspace every matrix is having NaN values....what to do?
4 Comments
TastyPastry
on 23 Oct 2015
Edited: TastyPastry
on 23 Oct 2015
Have you tried stepping through the function around the lines you're getting the error using the debugger?
KAPIL MAMTANI
on 23 Oct 2015
Star Strider
on 23 Oct 2015
I did not run your code, but I do not see that you are using any specific matrix operations in it.
You are probably intending to do element-wise operations and doing matrix operations instead. See the documentation for Array vs. Matrix Operations to see if you need to specify element-wise operations.
KAPIL MAMTANI
on 24 Oct 2015
Answers (0)
Categories
Find more on Creating and Concatenating 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!