Question: Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the
Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To operate on each element of the matrix individually, use TIMES (.*) for elementwise multiplication. Error in q1p1 (line 16) ymodel = basefun(x)*a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
