필터 지우기
필터 지우기

Error using / .

조회 수: 1 (최근 30일)
jay jay
jay jay 2022년 12월 8일
답변: Torsten 2022년 12월 8일
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))

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by