I am receiving this error "Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 5-by-5. Error in fminsearch (line 200) "
1 view (last 30 days)
I found this code on MATHWORKS site, which I am using find the order of a chemical reaction. But for some reason the code is not working. I am using MATLAB 2020 while the code was coded in MATLAB 2010. Would be much appreciated if someone would help me out.