I need some help with matlab! not sure which function to use!(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab question!

**Physics Forums | Science Articles, Homework Help, Discussion**