Error using / .
显示 更早的评论
Problem with / when I run the code.
k= k0*e^(-Q/RT)
k = k0 * exp((-Q)/(R*T))
回答(1 个)
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!