SlideShare a Scribd company logo
1 of 1
 Data Random
Scribt Matlab
x=1:1:20;
data_jumat = 3*randn(1,20);
data_sabtu = 3*randn(1,20);
data_minggu = 3*randn(1,20);
jumat = [-66 -66 -76 -74 -71 -76 -64 -75 -79 -71 -88 -97 -93 -76 -86 -93 -93
-84 -84 -90];
sabtu = [-75 -75 -74 -74 -76 -76 -69 -71 -91 -87 -96 -83 -77 -85 -77 -87 -93
-84 -84 -90];
minggu = [-97 -87 -83 -82 -99 -102 -84 -93 -93 -71 -70 -76 -77 -69 -67 -82 -
82 -72 -74 -72];
rand_jumat = jumat+data_jumat;
rand_sabtu = sabtu+data_sabtu;
rand_minggu = minggu+data_minggu;
y_jumat = -1.0135*x-64.358;
y_sabtu = -0.7654*x-65.069;
y_minggu = -0.186*x-66.442;
figure(1)
plot(x,jumat,'-.','linewidth',2); hold on;
plot(x,y_jumat); hold on;
plot(x,rand_jumat,':o');
figure(2)
plot(x,sabtu,'r'); hold on;
plot(x,y_sabtu,'b'); hold on;
plot(x,rand_sabtu,'g');
figure(3)
plot(x,minggu,'r'); hold on;
plot(x,y_minggu,'b'); hold on;
plot(x,rand_minggu,'g');
%plot(x,y_jumat,'b');
%hold on
%plot(x,y_sabtu,'r');
%hold on
%plot(x,y_minggu,'g');
%xlabel('Waktu (s) ');
%ylabel('Kuat Sinyal (dBm)')
%legend('Jumat','Sabtu','Minggu');

More Related Content

What's hot

What's hot (16)

Tonethompson
TonethompsonTonethompson
Tonethompson
 
Definition of Mode
Definition of ModeDefinition of Mode
Definition of Mode
 
Tabela derivadas-e-integrais
Tabela derivadas-e-integraisTabela derivadas-e-integrais
Tabela derivadas-e-integrais
 
Math11
Math11Math11
Math11
 
2Bytesprog2 course_2014_c9_graph
2Bytesprog2 course_2014_c9_graph2Bytesprog2 course_2014_c9_graph
2Bytesprog2 course_2014_c9_graph
 
Exploring fractals in CSS, @fronttrends, Warsaw, 2015
Exploring fractals in CSS, @fronttrends, Warsaw, 2015Exploring fractals in CSS, @fronttrends, Warsaw, 2015
Exploring fractals in CSS, @fronttrends, Warsaw, 2015
 
1st 2practice
1st 2practice1st 2practice
1st 2practice
 
數學測試
數學測試數學測試
數學測試
 
Mathematical methods and tools
Mathematical methods and toolsMathematical methods and tools
Mathematical methods and tools
 
Energía
EnergíaEnergía
Energía
 
Better performance through Superscalarity
Better performance through SuperscalarityBetter performance through Superscalarity
Better performance through Superscalarity
 
Tabela completa de derivadas e integrais
Tabela completa de derivadas e integraisTabela completa de derivadas e integrais
Tabela completa de derivadas e integrais
 
Day 3 4 examples u3f13
Day 3 4 examples u3f13Day 3 4 examples u3f13
Day 3 4 examples u3f13
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
 
Introduction to programming class 13
Introduction to programming   class 13Introduction to programming   class 13
Introduction to programming class 13
 
Vcs9
Vcs9Vcs9
Vcs9
 

Similar to Data random

Write Python for Speed
Write Python for SpeedWrite Python for Speed
Write Python for SpeedYung-Yu Chen
 
Clase de matlab
Clase de matlabClase de matlab
Clase de matlabDeyBarreto
 
EJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESOEJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESOangusoo
 
Ejercicios de verano para primero de eso
Ejercicios de verano para primero de esoEjercicios de verano para primero de eso
Ejercicios de verano para primero de esoangusoo
 

Similar to Data random (7)

Ecuaciones de primer grado
Ecuaciones de primer gradoEcuaciones de primer grado
Ecuaciones de primer grado
 
Ecuaciones de primer grado
Ecuaciones de primer gradoEcuaciones de primer grado
Ecuaciones de primer grado
 
Write Python for Speed
Write Python for SpeedWrite Python for Speed
Write Python for Speed
 
Clase de matlab
Clase de matlabClase de matlab
Clase de matlab
 
Clase de matlab
Clase de matlabClase de matlab
Clase de matlab
 
EJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESOEJERCICIOS DE VERANO PARA SEGUNDO DE ESO
EJERCICIOS DE VERANO PARA SEGUNDO DE ESO
 
Ejercicios de verano para primero de eso
Ejercicios de verano para primero de esoEjercicios de verano para primero de eso
Ejercicios de verano para primero de eso
 

Data random

  • 1.  Data Random Scribt Matlab x=1:1:20; data_jumat = 3*randn(1,20); data_sabtu = 3*randn(1,20); data_minggu = 3*randn(1,20); jumat = [-66 -66 -76 -74 -71 -76 -64 -75 -79 -71 -88 -97 -93 -76 -86 -93 -93 -84 -84 -90]; sabtu = [-75 -75 -74 -74 -76 -76 -69 -71 -91 -87 -96 -83 -77 -85 -77 -87 -93 -84 -84 -90]; minggu = [-97 -87 -83 -82 -99 -102 -84 -93 -93 -71 -70 -76 -77 -69 -67 -82 - 82 -72 -74 -72]; rand_jumat = jumat+data_jumat; rand_sabtu = sabtu+data_sabtu; rand_minggu = minggu+data_minggu; y_jumat = -1.0135*x-64.358; y_sabtu = -0.7654*x-65.069; y_minggu = -0.186*x-66.442; figure(1) plot(x,jumat,'-.','linewidth',2); hold on; plot(x,y_jumat); hold on; plot(x,rand_jumat,':o'); figure(2) plot(x,sabtu,'r'); hold on; plot(x,y_sabtu,'b'); hold on; plot(x,rand_sabtu,'g'); figure(3) plot(x,minggu,'r'); hold on; plot(x,y_minggu,'b'); hold on; plot(x,rand_minggu,'g'); %plot(x,y_jumat,'b'); %hold on %plot(x,y_sabtu,'r'); %hold on %plot(x,y_minggu,'g'); %xlabel('Waktu (s) '); %ylabel('Kuat Sinyal (dBm)') %legend('Jumat','Sabtu','Minggu');