Inner Matrix Dimension must agree
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Error using * Inner matrix dimensions must agree.
K5 = 0.09*(L2/0.115) * (B.^4/(1-B.^4));
1 comentario
KALYAN ACHARJYA
el 9 de Oct. de 2018
What are L2 and B?
Respuestas (2)
madhan ravi
el 9 de Oct. de 2018
Editada: madhan ravi
el 9 de Oct. de 2018
K5 = 0.09.*(L2/0.115).* (B.^4/(1-B.^4));
Remark: Make sure the sizes of L2 and B are the same
2 comentarios
Shikhar
el 10 de Oct. de 2018
madhan ravi
el 10 de Oct. de 2018
Didn’t it solve the problem?
Jan
el 9 de Oct. de 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.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!