Hi,can anyone help me to figure out to find the value of disp as it is being displayed as NAN

1 view (last 30 days)
I HAVE ATTACHED THE CODE HERE
  2 Comments
Geoff Hayes
Geoff Hayes on 13 May 2020
Dewdrop - are you referring to the disp variable? I ran your code and didn't see where it is being set (or displayed?) as NaN. By the way, I suggest that you rename this variable so that it does not conflict with the built-in MATLAB function of the same name.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 13 May 2020
rank(kk) is only 4, when it would need to be 12 .
kk has a number of rows that are all zero
Could you confirm that your bdcof variable is intended to be different than your bcodf variable? I get the impression that bcodf is a persistent typing mistake for bdcof .

Categories

Find more on Argument Definitions 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!