Measurement of Pulse and Transition Characteristics

조회 수: 2 (최근 30일)
Mahmoud Khedr
Mahmoud Khedr 2019년 7월 30일
답변: Samatha Aleti 2019년 8월 2일
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 ?

채택된 답변

Samatha Aleti
Samatha Aleti 2019년 8월 2일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by