Info
This question is closed. Reopen it to edit or answer.
Matrix dimensions must agree.
1 view (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!