- #1
rc flyer uk
- 11
- 0
I need some help with matlab! not sure which function to use!
I think i should use xcount ycount so i can do it but i shall explain the problem!
I have input some variables into matlab
p2=1e5
t2=288
p3=[2e5:1e4:10e5]
y=1.4
and now i wish to work out
t3is which should be:
t3is=t2*((p3/p2)^(y-1/y))
but that can't be done because you can't ^ a matrix!
So could i use xcount to do it or what is the best way!
Thanks in advance!
Matlab Noob
I think i should use xcount ycount so i can do it but i shall explain the problem!
I have input some variables into matlab
p2=1e5
t2=288
p3=[2e5:1e4:10e5]
y=1.4
and now i wish to work out
t3is which should be:
t3is=t2*((p3/p2)^(y-1/y))
but that can't be done because you can't ^ a matrix!
So could i use xcount to do it or what is the best way!
Thanks in advance!
Matlab Noob