How to extract the I and Q values from eye-diagram function into separate Variable?

1 view (last 30 days)
I have .mat file of a signal and i get the eyediagram of that signal. when i look at the workspace its the 1x1Figure. but i need the values. How can i get it. I have attached the .mat file as well. Please assist
a = load("E:\Thesis\3 mod type\frame64APSK100.mat");
a1 = eyediagram(a.frame, 8);

Accepted Answer

yanqi liu
yanqi liu on 27 Oct 2021
clc; clear all; close all
a = load("frame128APSK100.mat");
a1 = eyediagram(a.frame, 8);
a2=get(a1,'Children');
a3=get(a2(1),'Children');
[a3.XData; a3.YData]
a4=get(a2(2),'Children');
[a4.XData; a4.YData]
  25 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!