Analyzing Saleae Logic Analyse Data in MATLAB

Status
Not open for further replies.

xpress_embedo

Advanced Member level 4
Joined
Jul 5, 2011
Messages
1,154
Helped
161
Reputation
396
Reaction score
189
Trophy points
1,353
Location
India
Activity points
10,591
Hello!! Everyone
I am using Saleae Logic Analyzer to capture signals from the PS2 Keypad, and it works perfectly.
But i want to save these signals for future analysis, so i saw export option in which we can export data in MATLAB.
Channel-0 is connected to Clock and Channel-1 is connected to Data Pin of PS2 Keyboard.
Sampling Frequency is 1MS/s and Sampling Time is used is 1second, on Logic Analyzer.
Then i export the data to Matlab *.mat File.
Can anyone help me, in plotting the signal in MATLAB as done by logic analyzer software.
I am sharing my *.mat file

View attachment LogicAnalyserA.zip

When i load this file in MATLAB using load command.
I saw the following variables in my work-space.


digital_sample_rate_hz this means the sampling rate i set which is 1MS/s
Rest i am not getting, please help me in understanding this and how can i plot the same in MATLAB.
Thanks in Advance.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…