- Matrix dimensions must agree.
- See Compatible Array Sizes for Basic Operations
- "other parameters are constant" do you mean constant scalars?
- hw4 What's that?
Info
此问题已关闭。 请重新打开它进行编辑或回答。
Please let me know why this error is popping up even when I use element wise operator??
1 次查看(过去 30 天)
显示 更早的评论
c=(kb^4)/(2*(pi^2)*vd*(h^3)*A*exp(-td/(3.*T)));
T here is an array while all the other parameters are constant. I'm getting the following error in the statement
Error using /
Matrix dimensions must agree.
Error in hw4 (line 11)
c=(kb^4)/(2*(pi^2)*vd*(h^3)*A*exp(-td/(3.*T)));
1 个评论
per isakson
2017-11-5
编辑:per isakson
2017-11-5
What does
whos
show?
回答(1 个)
Walter Roberson
2017-11-5
You did not use elementwise division with the expression involving T. You have td/( instead of td./(
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!