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 vues (au cours des 30 derniers jours)
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 commentaires
Aynkaran
Aynkaran le 3 Oct 2022
How can I rate you with stars?? is there an option like that in this platform??
Torsten
Torsten le 3 Oct 2022
I turned my comment to an answer.
If you like, you can accept it. Thanks.

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by