xpress_embedo
Advanced Member level 4
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.
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.