Merging two signals.Two signals can be combined to create a new signal in a variety of methods. The standard set subset_merge.jss demonstrates these.The first part splits a signal into several parts using the jetsubset function. These are then recombined to give new signals. The merge works by interpolating the signals before joining them together. For example two signals are defined on the grids shown on the left below. These could be merged along the time axis. The first stage is to interpolate the functions onto the grids shown in the middle below, and then these functions are joined together to give the picture on the right.
The IDL command for this is:-
Similarly two signals can be merged along the x-axis. This time the command is
It is also possible to merge 2D signals. This can be done along the time axis. The command for this is
All three of the above commands have shortcuts to them in the simple expressions dialogues. The top two are under f(t,x) whilst the third is under f(t). It is possible to merge a 2D signal with a 3D signal, or merge two 2D signals as if they are 3D signals. To do this the shortcuts cannot be used, instead the command has to be typed. For examples of this see signals J,K,L,M in the example standard set subset_merge.jss. |