Error using / .
Afficher commentaires plus anciens
Problem with / when I run the code.
k= k0*e^(-Q/RT)
k = k0 * exp((-Q)/(R*T))
Réponses (1)
Torsten
le 8 Déc 2022
If T is an array of multiple temperatures, you have to use elementwise division:
k = k0 * exp((-Q) ./ (R*T))
instead of
k = k0 * exp((-Q)/(R*T))
Catégories
En savoir plus sur Trigonometry dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!