Prev: Memory issues regarding sum of sparse matrices
Next: fminunc(Optimization Toolbox): supplying a gradient as well as fixed values
From: JUN on 2 Jun 2010 08:41 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 2 Jun 2010 08:52
"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=—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 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 |