I get the "Matrix dimensions must agree." issue when I try to use this equation: heatTrans = r./((surfaceArea.^n).*(heatCap.^q)).
r is a 1×12 vector, surfaceArea is a 1×6 vector, heatCap is a 1×6 vector, and n and q are both 1×1 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.
Best Answer