Issue with "Matrix Dimensions Must Agree"
Mostrar comentarios más antiguos
I get the "Matrix dimensions must agree." issue when I try to use this equation: heatTrans = r./((surfaceArea.^n).*(heatCap.^q)).
r is a 1x12 vector, surfaceArea is a 1x6 vector, heatCap is a 1x6 vector, and n and q are both 1x1 scalars. I can't seem to figure out where my issue is within the equation because I keep getting "Matrix dimensions must agree." despite using the dot operator.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multidimensional Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!