I am getting Warning: Rank deficient, rank = 0, tol = NaN repeatedly in my code.Can anyone help me...?

I am getting this error and in my workspace every matrix is having NaN values....what to do?

4 Comments

Have you tried stepping through the function around the lines you're getting the error using the debugger?
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.

Sign in to comment.

Answers (0)

Categories

Tags

No tags entered yet.

Asked:

on 23 Oct 2015

Commented:

on 24 Oct 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!