Info

This question is closed. Reopen it to edit or answer.

Matrix dimensions must agree.

1 view (last 30 days)
Rincy Kunjumon
Rincy Kunjumon on 3 Apr 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Can you please guide me the error of the line
Matrix dimensions must agree.
Error in Exercise1 (line 75)
eps_real = 1./(1 - (1 - (Cs1./Cs2)).*(t_gap/t_mut));
  5 Comments
Tommy
Tommy on 4 Apr 2020
I would guess Cs1 and Cs2 are not the same size, considering that t_gap and t_mut are scalars, but it's hard to tell without being able to run the code. After you get the error, look in your workspace and see whether Cs1 and Cs2 are the same size.
Rincy Kunjumon
Rincy Kunjumon on 6 Apr 2020
Ok thank you i got it

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!