Three Matrix Multipiclation Resulting Nan Value
Show older comments
Hello, this is my first time using Matlab, and now i'm using trial version. I've project to calculate do aggregation matrix in Leontif input-output analysis. I just want to multiplied three matrix in the same time, namely matix S(25x185), Z(185x185), and T(185x25). I multiplied by using command; >> N=S*Z*T when N is new aggregation matrix with size 25x25 dimension. But the result show me "nan" value. can somebody tell me what's wrong with my data/command/computer's memory, or this matrix size was too large. or can somebody help me calculate that's matrix for me, please? i've attach my file (IST.mat) file for detail.
Accepted Answer
More Answers (1)
the cyclist
on 7 Apr 2018
Your matrix Z has a NaN in it, as can be confirmed with the command
[i,j] = find(isnan(Z))
1 Comment
Patrick Sanders
on 7 Apr 2018
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!