Matrix dimensions must agree error
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Sir, I want to find TC where PA and TSR are the matrices of length
1 20
and
1 2
TC=0.08698-(0.003371).*PA-(0.053272).*TSR
where
size (TSR)
ans = 1 2
size (PA)
ans = 1 20
when i write the function TC , i get the error ''Matrix dimensions must agree ''. Please guide me , how to fix this error. Thankyou
3 commentaires
Walter Roberson
le 21 Juil 2020
When you use a 1x20 and 1x2 to make the calculation, what size of result do you expect?
Asif Rashid
le 21 Juil 2020
Asif Rashid
le 21 Juil 2020
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!