Issue with "Matrix Dimensions Must Agree"
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!