MATLAB: Measurement of Pulse and Transition Characteristics

matlab function

In the example "Measurement of Pulse and Transition Characteristics" in Matlab, the first line to use is "load clocksig clock1 time1 Fs", how do I save my signal to load it that way ?

Best Answer

Hi,
To load in a similar way as you mentioned, you can save the signal as a mat-file. As an example, saving "x", "y" in a mat-file “signal.mat” as follows:
x= 1:10;
y= 10:20;
% save the vectors into mat-file
save('signal.mat','x','y')
%load mat-file
load signal
If you want to load only selected vectors from mat file (let "x") specify it as follows:
load signal x
Refer the following link for more information