Hi all, a bit of a noob question here…
Trying to solve:
T = 6.11^(5400((1/273)-(1/T)))
where:
T =[273, 283, 293, 303]
Can’t seem to get the syntax down. Any help would really be appreciated!
Hi all, a bit of a noob question here…
Trying to solve:
T = 6.11^(5400((1/273)-(1/T)))
where:
T =[273, 283, 293, 303]
Can’t seem to get the syntax down. Any help would really be appreciated!
You probably look for element-wise operators .*
, ./
, etc., to evaluate a function of variable T
, i.e. f(T)
f = @(T) 6.11 .^ (5400*((1/273)-(1 ./ T)));
T = [273, 283, 293, 303];
f(T)
ans =
1.0000 3.5432 11.5160 34.6268
or do you try to solve a fixed point equation f(T) = T?