- #36
- 1,796
- 33
Why wouldn't you think my A matrix wasn't an [itex]N_{r}\times N_{r}[/itex] matrix? The length of a is clearly [itex]N_{r}[/itex] and the command diag(a) makes an [itex]N_{r}\times N_{r}[/itex] matrix?
Can you do the inverse out of the loop as I suggested?
Can you do the inverse out of the loop as I suggested?