03-14-2012 01:43 PM
Hello,
I need to write application that will allow me to generate diffrent complex signals (like adding many sine, cos signals with diffrent parameters + noises), and I need to be able to define the signals on fromt panel.
It is easy to write sample signal in block diagram but I want to make that generator universal if this is possible.
I ve thinked about using MathScript but I ve no idea haw to start.
Thanks for any suggestions
03-14-2012 03:02 PM
The way to start is to define the range of possible signals. If you will be limited to sine, cosine, and noise, then you have a small number of parameters for each component. By creating an array of those parameters you should be able to create some rather arbitrarily complex waveforms. Of course sine and cosine are redundant since a phase shift will convert one to the other and phase is needed anyway to completely specify a sinusoidal signal.
Lynn