Error using * Inner matrix dimensions must agree.
Mostra commenti meno recenti
error in matrix
7 Commenti
Walter Roberson
il 17 Gen 2019
houssem alimi
il 17 Gen 2019
Walter Roberson
il 17 Gen 2019
Modificato: Walter Roberson
il 17 Gen 2019
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
il 17 Gen 2019
Walter Roberson
il 18 Gen 2019
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
il 18 Gen 2019
Walter Roberson
il 18 Gen 2019
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!