how to matlab discrete signal

Thread Starter

stupid

Joined Oct 18, 2009
81
hi,
i just started with matlab.

suppose the inputs were:
x1(t), x2(t) & x3(t).
y(t)=x1(t)* x2(t)* x3(t) where y(t) is a multiplier output

how to write a code for y[n]=y(nT) for sampling at T=1sec?

thanks in advance
 

Papabravo

Joined Feb 24, 2006
21,228
There is a special multiplication operator that multiplies the corresponding elements of a vector producing a new vector with the same number of elements as the original input vectors.
 

Thread Starter

stupid

Joined Oct 18, 2009
81
thanks for the response,papabravo

my problem is how to write a code for y[n]=y(nT) for sampling at T=1sec

my understanding of y[n] is a discrete signal.

thanks

There is a special multiplication operator that multiplies the corresponding elements of a vector producing a new vector with the same number of elements as the original input vectors.
 

Georacer

Joined Nov 25, 2009
5,182
You can calculate the continuous y(t) through a continuous transfer function and then use the tf G=tf(1,1,1) to sample it every second.
 
Top