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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti

Accedi per commentare.

Risposta accettata

Torsten
Torsten il 3 Ott 2022
You have to transpose t and C !!

Più risposte (0)

Categorie

Scopri di più su Oceanography and Hydrology in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by