Error using / .

Problem with / when I run the code.
k= k0*e^(-Q/RT)
k = k0 * exp((-Q)/(R*T))

回答(1 个)

Torsten
Torsten 2022-12-8
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))

类别

帮助中心File Exchange 中查找有关 Trigonometry 的更多信息

提问:

2022-12-8

回答:

2022-12-8

Community Treasure Hunt

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

Start Hunting!

Translated by