How to limit y-axis of eye-diagram?

조회 수: 2 (최근 30일)
Faheem Ur Rehman
Faheem Ur Rehman 2021년 10월 12일
답변: Image Analyst 2021년 10월 12일
I have attached the image in which i don't need whole plot but only the signal areas.
x = load (['frame_snr30256QAM' num2str(i) '.mat']);
sps = 8;
eyediagram(abs(x.frame),sps)
%set(get(gcf, 'Children'), 'Visible', 'off')
ylim([2 0])
error
Error using ylim (line 31)
Limits must be a 2-element vector of increasing numeric values.

답변 (1개)

Image Analyst
Image Analyst 2021년 10월 12일
[2 0] is not "increasing numeric values". Try
ylim([0, 2]);

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by