Three Matrix Multipiclation Resulting Nan Value
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
the cyclist
2018-4-7
Your matrix Z has a NaN in it, as can be confirmed with the command
[i,j] = find(isnan(Z))
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
