Inner Matrix Dimension must agree
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Error using * Inner matrix dimensions must agree.
K5 = 0.09*(L2/0.115) * (B.^4/(1-B.^4));
1 Comment
KALYAN ACHARJYA
on 9 Oct 2018
What are L2 and B?
Answers (2)
madhan ravi
on 9 Oct 2018
Edited: madhan ravi
on 9 Oct 2018
K5 = 0.09.*(L2/0.115).* (B.^4/(1-B.^4));
Remark: Make sure the sizes of L2 and B are the same
Jan
on 9 Oct 2018
It is not clear what you want to achieve.
C1 = 0.09 * (L2 / 0.115); % More efficient: (0.09 / 0.115) * L2
C2 = B.^4 / (1 - B .^ 4); % Or:
C2 = B.^4 ./ (1 - B .^ 4); % ??? More efficient: 1 / (1 / B .^4 - 1)
K5 = C1 .* C2;
If this does not help, post the dimensions of the inputs and explain, what you want to calculate and expect as result.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!