- 11

- 0

I think i should use xcount ycount so i can do it but i shall explain the problem!

I have input some variables in to 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 cant be done because you cant ^ a matrix!!

So could i use xcount to do it or what is the best way!

Thanks in advance!

Matlab Noob