how to loop a equation.

1 Ansicht (letzte 30 Tage)
surawut.A
surawut.A am 22 Aug. 2021
Kommentiert: darova am 23 Aug. 2021
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

Akzeptierte Antwort

Wan Ji
Wan Ji am 22 Aug. 2021
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 Kommentare
Wan Ji
Wan Ji am 22 Aug. 2021
Bearbeitet: Wan Ji am 22 Aug. 2021
My pleasure having helped you!
darova
darova am 23 Aug. 2021

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by