From: JUN on
the question

t=-1:0.1:1
generer the vectors x(t) AND y(t) between 0 and 1
for exemple
if t=0.1
x(0.1)=0.234
y(0.1)=0.564
if t=—0.8
x(—0.8)=0.412,
y(—0.8)=0.984
……………………………………

now how I can calcul the mean of x(t)
and the mean of y(t+u) ?
u is a variable sign

thanks
From: us on
"JUN " <tianarmy(a)gmail.com> wrote in message <hu5jhl$lbl$1(a)fred.mathworks.com>...
> the question
>
> t=-1:0.1:1
> generer the vectors x(t) AND y(t) between 0 and 1
> for exemple
> if t=0.1
> x(0.1)=0.234
> y(0.1)=0.564
> if t=&#8212;0.8
> x(&#8212;0.8)=0.412,
> y(&#8212;0.8)=0.984
> &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;
>
> now how I can calcul the mean of x(t)
> and the mean of y(t+u) ?
> u is a variable sign
>
> thanks

in essence, you're hurting ...so many... syntax rules, you'd better start with these

http://www.mathworks.com/access/helpdesk/help/techdoc/learn_matlab/bqr_2pl.html

http://matlabwiki.mathworks.com/MATLAB_FAQ

us