Matrix dimensions must agree error
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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 个评论
Walter Roberson
2020-7-21
When you use a 1x20 and 1x2 to make the calculation, what size of result do you expect?
Asif Rashid
2020-7-21
Asif Rashid
2020-7-21
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!