Matrix dimensions must agree error
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 21 Jul. 2020
When you use a 1x20 and 1x2 to make the calculation, what size of result do you expect?
Asif Rashid
am 21 Jul. 2020
Asif Rashid
am 21 Jul. 2020
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!