简体   繁体   English

如何在 Matlab 中使用 Arrhenis 方程?

[英]How do I use the Arrhenis Equation in Matlab?

我需要使用方程k=k0*e^(-Q/RT)其中T是 90 到 500 之间的 10 个变量,以生成我使用的 10 个变量T = linspace(90,500,10) ,但是当我尝试生成方程它不会让我, k0=1200Q=8000R=2所以当我输入k=k0*exp(-Q./(R.*T)数字有点时髦,有一些0.0000 ,我我做错了什么?谢谢

T = linspace(90,500,10);
k0=1200;
Q=8000;
R=2;
k=k0*exp(-Q./(R.*T));
format longG
k =

  Columns 1 through 3

      5.98693127135402e-17      1.83626027549851e-10      3.07185900119097e-07

  Columns 4 through 6

      2.60112352637493e-05      0.000498552970093129       0.00409767412987074

  Columns 7 through 9

        0.0198590098887835         0.067709291730596         0.180526236997812

  Column 10

         0.402555153483014

results = [T';k'];

Nothing wrong there, just the format that went wrong I reckon.那里没有错,只是我认为出错的格式。 For formatting options, see either the documentation on format , or this question.有关格式选项,请参阅format文档或问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM