Measurement of Pulse and Transition Characteristics

2 vues (au cours des 30 derniers jours)
Mahmoud Khedr
Mahmoud Khedr le 30 Juil 2019
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 ?

Réponse acceptée

Samatha Aleti
Samatha Aleti le 2 Août 2019
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

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by