how to loop a equation.

1 次查看(过去 30 天)
surawut.A
surawut.A 2021-8-22
评论: darova 2021-8-23
guys, I need some help
D==0.27*(1.04/-0.22)*exp((-246)/(R*T))
R=8.314
T=[600:50:800]
I want to loop a data above to find D with different T.
and if I want to use data D, can I use D symbol?
thank you for helping me, im new

采纳的回答

Wan Ji
Wan Ji 2021-8-22
Why use symbol?
R=8.314;
T=[600:50:800];
D=0.27*(1.04/-0.22)*exp((-246)./(R*T))
The D array is good to use
D =
-1.214947318228101 -1.219564871571260 -1.223536739934003 -1.226989487755193 -1.230018633832494
  3 个评论
Wan Ji
Wan Ji 2021-8-22
编辑:Wan Ji 2021-8-22
My pleasure having helped you!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by