how to loop a equation.

조회 수: 2 (최근 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!
darova
darova 2021년 8월 23일

댓글을 달려면 로그인하십시오.

추가 답변 (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