Error using / .

Risposte (1)

Torsten
Torsten il 8 Dic 2022

0 voti

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

Categorie

Richiesto:

il 8 Dic 2022

Risposto:

il 8 Dic 2022

Community Treasure Hunt

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

Start Hunting!

Translated by