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) "

3 views (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.
  12 Comments

Sign in to comment.

Accepted Answer

Torsten
Torsten on 3 Oct 2022
You have to transpose t and C !!

More Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!