Error using * Inner matrix dimensions must agree.
显示 更早的评论
error in matrix
7 个评论
Walter Roberson
2019-1-17
houssem alimi
2019-1-17
Walter Roberson
2019-1-17
编辑:Walter Roberson
2019-1-17
Please explain what your tag of tjks signifies. Does it have something to do with toxicity? Is it a topic in graph theory ? Does it stand for "Tertiary Jittered Kalman Scenting" ?
houssem alimi
2019-1-17
Walter Roberson
2019-1-18
Perhaps it would make sense to simply use the tag "matrix dimensions must agree", and to remove tjks as I suspect tjks will not mean anything to anyone other than you.
Tags are like topic indexes for card catalogs.
houssem alimi
2019-1-18
Walter Roberson
2019-1-18
dbstop if error
run the code. when it stops look at the sizes of all of the variables involved and extract portions of the expression until you figure out which multiplication is triggering the error and what the sizes are of the left and right. Then you trace backwards in the code to figure out why they got to be that size.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!