vectore with two colors
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
abdullah qasim
am 11 Feb. 2019
Bearbeitet: abdullah qasim
am 11 Feb. 2019
I merged two parts together and I want to draw them together but in two different colors
fb=[fr;fi];
when
stem (fb) ;
the output one colors I want output two colors in one plot
0 Kommentare
Akzeptierte Antwort
KSSV
am 11 Feb. 2019
Bearbeitet: KSSV
am 11 Feb. 2019
A = rand(3,1) ;
B = rand(3,1) ;
x1 = 1:length(A) ;
x2 = (1:length(B))+length(A) ;
figure
hold on
stem(x1,A,'r')
stem(x2,B,'b')
7 Kommentare
KSSV
am 11 Feb. 2019
I gave you an exampel code.....you need to do the same with that....your fr is A and fl is B...
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu OFDM finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!