필터 지우기
필터 지우기

need help in matlab graph

조회 수: 2 (최근 30일)
sara alaraby
sara alaraby 2019년 4월 11일
댓글: sara alaraby 2019년 4월 12일
Dear all
need urgent support:
if i have SINR1,SINR2,SINR3,SINR4 & Pt=-30:30
need to draw a 4 graphs with Pt on x axis & SINR in y axis
how can i write iy by matlab code please.
******************************************
Kindly noted that all one of the SINR is matrix (15*30)

답변 (1개)

Clay Swackhamer
Clay Swackhamer 2019년 4월 11일
SINR = rand(15,30) %15 x 30 matrix of random numbers
Pt = linspace(-30, 30, 15) %create a vector from -30 to 30 with 15 entries (x values)
plot(Pt, SINR(:,1)) %plot the first column of SINR
hold on
plot(Pt, SINR(:,2)) %plot the second column of SINR
plot(Pt, SINR(:,2)) %plot the third column of SINR
Hope that helps.
  댓글 수: 1
sara alaraby
sara alaraby 2019년 4월 12일
Dear
I have 4 variables of each SINR & each one is matrix 15*30

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by