Generating and adding signals in Matlab

Thread Starter


Joined Mar 29, 2008
I have been away from Matlab for awhile and will need to refresh myself. In the mean time I could use a little help getting restarted. I need analyze an output signal that consists of a binary signal that is added to a two tone interference signal.

The binary signal is; +1 for one unit of time starting a zero, -1 for two units of time then +1 for one unit of time, -1 for one unit of time and and finally +1 for one unit of time.

The interference signal is; .7cos(6pit)+.5cos(9pit+pi/4)

How would I go about generating these two signals, then adding them together? Thanks