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

回答 (1 件)

Torsten
Torsten 2022 年 12 月 8 日

0 投票

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 ExchangeTrigonometry についてさらに検索

質問済み:

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