planificador de frecuencias gsm
TRANSCRIPT
-
8/16/2019 Planificador de Frecuencias GSM
1/21
UNIVERSIDAD CATÓLICA BOLIVIANA“SAN PABLO”
LA PAZ - BOLIVIA
Estudiantes:MANUEL IBIETARODRIGO URUCHIGABRIELA VILCHES
Docente: ING. JOSE CAMPERO
Materia: TELECOMUNICACIONES MOVILES
Fecha de Entrega:11 DE MARZO DE 2016
LA PAZ – BOLIVIA
PLANIFICADORDE
FRECUENCIAS
-
8/16/2019 Planificador de Frecuencias GSM
2/21
INFORME DE LABORATORIO
PLANIFIADOR DE FRE!ENIA"
#$ Introducci%n
La telef!"a #$%&l e' (!a )#(!&)a)&$! )(a!* +, l #e!' (! !* 'e
*e'+la-a /a ),e)&* a'ta!te a l la, *e l' a' 3 e! #(3 +) t&e#+ *e&*
a la #%&l&*a* 4(e f,e)e 3 la ,ea5a *e +,e)&' e! )#+a,a)&$! )! la telef!"a
f&5a.
S&! e#a, +, el ),e)&e!t 4(e la telef!"a #$%&l t&e!e e&e (! ,a! +,le#a
4(e e' la )a+a)&*a* *e )a!ale' 4(e ! '+,ta a ta!t' ('(a,&' +, l 4(e a l
la, *e l' a' 'e e#+e-$ a #e5,a, e'ta' ,e*e' #$%&le' *a!* +a' a la
+,e,a e!e,a)&$! 71G8 +a'a!* +, 2G 3 f&!al#e!te /a'ta la a)t(al&*a* llea!*
a 9G LTE.
Pa,a el *&'e *e (!a ,e* *e )#(!&)a)&!e' #$%&le' 'e /a)e (! e't(*&
+,f(!* *el :,ea *e )e,t(,a a*e#:' 'e *ee 'e;! )a*a te)!l"a )(:!t'
)l('te,' 'e (t&l&-a,: 3 )(a!ta' f,e)(e!)&a' 'e *ee (t&l&-a, 'e;! el ,e4(e,&e!t
*el :,ea *e )e,t(,a.
P, e'ta ,a-$! e'te la,at,& 'e a'a,: e! ,eal&-a, (! '&'te#a e+e,t 4(e
)al)(le )(a!ta' f,e)(e!)&a' 'e (t&l&-a,: e! (! :,ea *e )e,t(,a )(a!t' )l('te,'
'e ('a,: t#a!* e! )(e!ta la te)!l"a 4(e (t&l&-a,e#'.
&$ Marco te%rico
La te)!l"a #$%&l t(% (!a e%l()&$! +a'a!* *e'*e 1G /a'ta 9G LTE.
La +,e,a e!e,a)&$! 1G ('a f,e)(e!)&a' 4(e %a! *e 8 *e 2?MH-@ (t&l&-a )!#(ta)&$! *e )&,)(&t' 3 'e #*(la
e! M )! 10H- e! a!*a e't,e)/a 3 e! a!*a !,#al 0H-. S( B> 'e *&%&*e
e! 2 (!a 4(e e' la a!*a A 3 la t,a 4(e e' la a!*a B.
-
8/16/2019 Planificador de Frecuencias GSM
3/21
La 'e(!*a e!e,a)&$! 72G8 ta#&! )!)&*a )# GSM !a)e e! E(,+a
,eal&-a!* (!a #e5,a a la a!te,&, e!e,a)&$! )(,&e!* la' !e)e'&*a*e' *el
('(a,& e! e'a +)a. E'ta e!e,a)&$! (t&l&-a )!#(ta)&$! *e )&,)(&t' 3 e%&ta la
)l!a)&$! *ef&!&e!* el (' *el )/&+ SIM CARD 3 #e5,a el ,a#&! ta#&!
&!)l(3e (!a #e5,a +,ta!te 4(e /a)e 4(e l' *&'+'&t&%' 'ea! #()/ #:'
a,at' 3 e' )#+at&le )! RDSI.
T&e!e 200H- *e '(+,ta*,a' 3 e' ,e#*(la*a TDM t&e!e a'e *e *at' 4(e
(t&l&-a! +lataf,#a O,a)le l' '&'te#a' *e Ra*& Ba'e %a! *e'*e l' 20#>
/a'ta la' 2.?>.
Ut&l&-a DMA 3 TDMA a(#e!ta la )a+a)&*a* 3 #e5,a la' +,e'ta)&!e' 4(e t&e!e
e'ta e!e,a)&$! ,e'+e)t a la a!te,&, a*#&!&'t,a #e5, la' f,e)(e!)&a' *e (' 3
e! '( ,e(t&l&-a)&!.
Estructura ce'u'ar
La e't,()t(,a )el(la, e' lla#a*a *e e'ta #a!e,a *e&* a 4(e e't: *&%&*a +,
)el*a' 4(e '! /ea!ale' 3 +e,#&te )(,&, (! A,ea *e 'e,%&)& '&! /(e)' e't
+e,#&te a 4(e 'e ('e &e! el A,ea *e )e,t(,a.
E&'te! *&'t&!t' t&+' *e )el*a'
• P&) )el*a' ('(al#e!te ('a*a' e! e*&f&)&' 3 )(a!* /a3 alta *e!'&*a* *e
t,:f&).
• M&), )el*a' 7900# a 2F#8 +a,a -!a' (,a!a' e' +a,e)&*a a la +&)
)el*a +e, )! #:' al)a!)e.
• Ma), )el*a' 72 a 20F#8 +a,a )(,&, :,ea' ete,!a'.
Di(ensiona(iento de ce'das
Se *ee a'&!a, a (!a )el*a (!a f,e)(e!)&a +, #e*& *e *&%&'&$! *e f,e)(e!)&a'
71?MH- *e U+l&!F 3 1?MH- *e D!l&!F8.
Pa,a *e!'&!a, la' )el*a' 'e *ee t#a, e! )(e!ta %a,&' fa)t,e' 4(e '!
-
8/16/2019 Planificador de Frecuencias GSM
4/21
Ra*& *e )e,t(,a 7)(,&, t*a la *e#a!*a *el :,ea8.
N;#e, *e ('(a,&' 4(e ate!*e,: la )el*a.
J(e *e f,e)(e!)&a' 4(e (t&l&-a,e#'.
Ef&)&e!)&a e!t,e 'eal a )a+a)&*a* *e )a!ale' +, (!&*a* *e '(+e,f&)&e.
'uster
U! )l('te, e' (!a a,(+a)&$! *e ella' 7'! (! !;#e, *ete,#&!a* *e )el*a'
*ee 'e, (! !;#e, ,#&)8 te +e,#&te ,e+et&, el +at,$! *e #a!e,a &!*ef&!&*a.
La' a,(+a)&!e' 4(e 'e +(e*e (t&l&-a, '! J1 J J J12.
L' )l('te, 'e +(e*e! *&%&*&, e! C )a!ale' e! J )el*a'.
MATLAB
MATLAB 7a,e%&at(,a *e MAT,& LAB,at,3 la,at,& *e #at,&)e'8 e' (!a
/e,,a#&e!ta *e 'fta,e #ate#:t&) 4(e f,e)e (! e!t,! *e *e'a,,ll &!te,a*
7IDE8 )! (! le!(a5e *e +,,a#a)&$! +,+& 7le!(a5e M8. E't: *&'+!&le +a,a
la' +lataf,#a' U!& >&!*' Ma) OS K 3 GNUL&!(.
E!t,e '(' +,e'ta)&!e' :'&)a' 'e /alla! la #a!&+(la)&$! *e #at,&)e' la
,e+,e'e!ta)&$! *e *at' 3 f(!)&!e' la +le#e!ta)&$! *e al,&t#' la ),ea)&$!
*e &!te,fa)e' *e ('(a,& 7GUI8 3 la )#(!&)a)&$! )! +,,a#a' e! t,'
le!(a5e' 3 )! t,' *&'+'&t&%' /a,*a,e. El +a4(ete MATLAB *&'+!e *e *'
/e,,a#&e!ta' a*&)&!ale' 4(e e+a!*e! '(' +,e'ta)&!e' a 'ae, S(l&!F
7+lataf,#a *e '(la)&$! #(lt&*#&!&8 3 GUIDE 7e*&t, *e &!te,fa)e' *e ('(a,&
GUI8. A*e#:' 'e +(e*e! a#+l&a, la' )a+a)&*a*e' *e MATLAB )! la' )a5a' *e
/e,,a#&e!ta' 7tle'8@ 3 la' *e S(l&!F )! l' +a4(ete' *e l4(e'
7l)F'et'8.
E' (! 'fta,e #(3 ('a* e! (!&%e,'&*a*e' 3 )e!t,' *e &!%e't&a)&$! 3
*e'a,,ll. E! l' ;lt' a' /a a(#e!ta* el !;#e, *e +,e'ta)&!e' )# la
*e +,,a#a, *&,e)ta#e!te +,)e'a*,e' *&&tale' *e 'eal ),ea, )$*& VHDL.
-
8/16/2019 Planificador de Frecuencias GSM
5/21
La +lataf,#a *e MATLAB e't: +t&-a*a +a,a ,e'l%e, +,le#a' *e &!e!&e,"a
3 )&e!t"f&)'. El le!(a5e *e MATLAB a'a* e! #at,&)e' e' la f,#a #:' !at(,al
*el #(!* +a,a e+,e'a, la' #ate#:t&)a' )#+(ta)&!ale'. L' ,:f&)'
&!te,a*' fa)&l&ta! la %&'(al&-a)&$! *e l' *at' 3 la te!)&$! *e &!f,#a)&$! a
+a,t&, *e ell'. U!a %a'ta l&,e,"a *e tle' +,e&!'tala*a' le +e,#&te! e#+e-a, a
t,aa5a, &!#e*&ata#e!te )! al,&t#' e'e!)&ale' +a,a '( *#&!&. El e!t,! *e
e'),&t,& &!%&ta a e+e,e!ta, e+l,a, 3 *e')(,&,. T*a' e'ta' /e,,a#&e!ta' 3
+,e'ta)&!e' *e MATLAB e't:! +,a*a' 3 *&'ea*a' ,&(,'a#e!te +a,a t,aa5a,
5(!ta'.
)$ O*+eti,os)$#$ O*+eti,o genera'
• Real&-a, (! '&'te#a e+e,t ele#e!tal 4(e 'ea )a+a- *e +la!&f&)a, la
*&'t,&()&$! *e f,e)(e!)&a' +a,a (! '&'te#a *e telef!"a #$%&l )el(la,.
)$&$ O*+eti,os es-ec./icos
• El +,3e)t ('a,: la +lataf,#a *e MATLAB +a,a ,eal&-a, el ):l)(l *e
f,e)(e!)&a'.
• Real&-a, (! #t* *e e!t,a*a *e %a,&ale' f:)&l 3 )#+,e!'&le +a,a el
('(a,&.
• De'+lea, (! #e!'a5e *e e,,, '& e' 4(e 'e &!t,*()e (! *at e,,!e.
• De'+lea, (!a a*%e,te!)&a '& e! el ,e'(lta* /a3 al;! %al, eae,a*
#(3 +e4(e.
• Real&-a, (! #t* *e e!t,a*a al ('(a,& +a,a 4(e e')e' te)!l"a 1G
2G.
• Val&*a, el %al, J *e a,(+a)&$! *e )el*a'.
• De'+lea, l' ,e'(lta*' *e
N(#e, *e '(+,ta*,a'
D&'ta!)&a *e ,e(t&l&-a)&!
A,ea *el )l('te,
A,ea ttal )(&e,ta +, la ,e* Rela)&$! *e +,te))&$! R+ !;#e, *e )a!ale' +, 'e)t, +, )el*a +,
)l('te, 3 +, :,ea *e 'e,%&)&.
0$ Es-eci/icaciones
El +,,a#a +e*&,: 4(e 'e &!,e'e! l' '&(&e!te' *at'
-
8/16/2019 Planificador de Frecuencias GSM
6/21
• Te)!l"a
Se +*,: e')e, e!t,e 1G 2G
• A!)/ *e Ba!*a
S& la te)!l"a e')&*a e' 1G el %al, *e a!)/ *e a!*a 'e,: f&5
e! 10 MH- #&e!t,a' 4(e '& e' 2G el %al, *e a!)/ *e a!*a 'e
+*,: ele&, e!t,e 1? MH- 2? MH- a!)/ *e a!*a Bl&%&a!
E(,+e ,e'+e)t&%a#e!te.
• N *e Se)t,e'
Se +*,: ele&, e!t,e 1 'e)t,e' 7)# e't&+(la la ("a *e
la,at,&8
• Ra*& *e )e,t(,a
Se &!,e'a,: el %al, e! #.
• Val, *el Cl('te,
Se &!,e'a,: J 4(e 'e,a %al&*a* '& e' ! (! !(#e, ,#&).
• Pat/ L'' Sl+eSe &!,e'a,: el %al, ! e!t,e 2 3 ? 4(e 'e,: %al&*a*.
• a)t, *e Re(t&l&-a)&!
Se &!,e'a,: 4(e e' el fa)t, *e ,e(t&l&-a)&$! 7N *e )l('te,' +,
:,ea *e 'e,%&)&8
1$ odigo !ti'i2adoEl )$*& (t&l&-a* e' el '&(&e!te
function varargout = sinerror(varargin)% SINERROR MATLAB code for sinerror.fig
% SINERROR !" itse#f creates a ne$ SINERROR or raises te e&isting% sing#eton'.%% = SINERROR returns te and#e to a ne$ SINERROR or te and#e to% te e&isting sing#eton'.%% SINERROR(*ALLBA*+O!,ectevent-ataand#es...) ca##s te #oca#% function naed *ALLBA*+ in SINERROR.M $it te given in/utarguents.%% SINERROR(0ro/ert"1a#ue...) creates a ne$ SINERROR or raiseste% e&isting sing#eton'. Starting fro te #eft /ro/ert" va#ue /airsare% a//#ied to te 23I !efore sinerror4O/ening5cn gets ca##ed. An% unrecogni6ed /ro/ert" nae or inva#id va#ue a7es /ro/ert"a//#ication% sto/. A## in/uts are /assed to sinerror4O/ening5cn via varargin.%% 'See 23I O/tions on 23I-Es Too#s enu. *oose 823I a##o$s on#"one% instance to run (sing#eton)8.%
-
8/16/2019 Planificador de Frecuencias GSM
7/21
% See a#so9 23I-E 23I-ATA 23IAN-LES
% Edit te a!ove te&t to odif" te res/onse to e#/ sinerror
% Last Modified !" 23I-E v:.; Mar>:
-
8/16/2019 Planificador de Frecuencias GSM
8/21
function r4*a##!ac7(O!,ect eventdata and#es)% O!,ect and#e to r (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es structure $it and#es and user data (see 23I-ATA)
% ints9 get(O!,ectString) returns contents of r as te&t% str:dou!#e(get(O!,ectString)) returns contents of r as adou!#e
% >>> E&ecutes during o!,ect creation after setting a## /ro/erties.function r4*reate5cn(O!,ect eventdata and#es)% O!,ect and#e to r (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es e/t" > and#es not created unti# after a## *reate5cnsca##ed
% int9 edit contro#s usua##" ave a $ite !ac7ground on indo$s.% See IS0* and *OM03TER.if is/c FF iseJua#(get(O!,ectBac7ground*o#or)get(defau#t3icontro#Bac7ground*o#or)) set(O!,ectBac7ground*o#or$ite)end
function ,4*a##!ac7(O!,ect eventdata and#es)% O!,ect and#e to , (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es structure $it and#es and user data (see 23I-ATA)
% ints9 get(O!,ectString) returns contents of , as te&t% str:dou!#e(get(O!,ectString)) returns contents of , as adou!#e
% >>> E&ecutes during o!,ect creation after setting a## /ro/erties.function ,4*reate5cn(O!,ect eventdata and#es)% O!,ect and#e to , (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es e/t" > and#es not created unti# after a## *reate5cnsca##ed
% int9 edit contro#s usua##" ave a $ite !ac7ground on indo$s.% See IS0* and *OM03TER.if is/c FF iseJua#(get(O!,ectBac7ground*o#or)get(defau#t3icontro#Bac7ground*o#or)) set(O!,ectBac7ground*o#or$ite)end
-
8/16/2019 Planificador de Frecuencias GSM
9/21
function n4*a##!ac7(O!,ect eventdata and#es)% O!,ect and#e to n (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es structure $it and#es and user data (see 23I-ATA)
% ints9 get(O!,ectString) returns contents of n as te&t% str:dou!#e(get(O!,ectString)) returns contents of n as adou!#e
% >>> E&ecutes during o!,ect creation after setting a## /ro/erties.function n4*reate5cn(O!,ect eventdata and#es)% O!,ect and#e to n (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es e/t" > and#es not created unti# after a## *reate5cnsca##ed
% int9 edit contro#s usua##" ave a $ite !ac7ground on indo$s.
% See IS0* and *OM03TER.if is/c FF iseJua#(get(O!,ectBac7ground*o#or)get(defau#t3icontro#Bac7ground*o#or)) set(O!,ectBac7ground*o#or$ite)end
function J4*a##!ac7(O!,ect eventdata and#es)% O!,ect and#e to J (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es structure $it and#es and user data (see 23I-ATA)
% ints9 get(O!,ectString) returns contents of J as te&t% str:dou!#e(get(O!,ectString)) returns contents of J as adou!#e
% >>> E&ecutes during o!,ect creation after setting a## /ro/erties.function J4*reate5cn(O!,ect eventdata and#es)% O!,ect and#e to J (see 2*BO)% eventdata reserved > to !e defined in a future version of MATLAB% and#es e/t" > and#es not created unti# after a## *reate5cnsca##ed
% int9 edit contro#s usua##" ave a $ite !ac7ground on indo$s.% See IS0* and *OM03TER.if is/c FF iseJua#(get(O!,ectBac7ground*o#or)get(defau#t3icontro#Bac7ground*o#or)) set(O!,ectBac7ground*o#or$ite)end
% >>> E&ecutes on 7e" /ress $it focus on , and none of its contro#s.function ,4+e"0ress5cn(O!,ect eventdata and#es)
-
8/16/2019 Planificador de Frecuencias GSM
10/21
g#o!a# ,#etra=get(gcf*urrent*aracter) % detecta #a #etra digitada#etra=dou!#e(#etra)/a#a!ra=get(and#es.,3ser-ata) % vector de datos de usuario
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>if #etra K= /a#a!ra=D/a#a!ra#etra % agrego #a #etra a #a /a#a!rae#seif #engt(/a#a!ra)K= /a#a!ra(end) = Dend %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>set(and#es.,3ser-ata/a#a!ra)
%Esto ace as o enos #o Jue ace e# if de arri!a /ero #o otro da enos%/ro!#eas% !uscarBorrados = find(/a#a!ra == )% /a#a!ra(!uscarBorrados) = D
/a#a!ra=car(/a#a!ra) % #os datos nuricos son convertidos en #etras,=str:nu(/a#a!ra)
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%Aora nos Enfocareos en " en verificar Jue e# nuero sea ro!ico
%e# a#gorito crea en un vector nueros ro!icos
o/ =
-
8/16/2019 Planificador de Frecuencias GSM
11/21
set(and#es.,5oreground*o#orD ) set(and#es.ensa,e5oreground*o#orD < ) set(and#es.ensa,estringNuero ro!ico co/ro!ado) e#se set(and#es.,5oreground*o#orD< ) set(and#es.ensa,e5oreground*o#orD< ) set(and#es.ensa,estringERRORQ -e!e ingresar un nuero
ro!ico) end% O!,ect and#e to , (see 2*BO)% eventdata structure $it te fo##o$ing fie#ds (see 3I*ONTROL)% +e"9 nae of te 7e" tat $as /ressed in #o$er case% *aracter9 caracter inter/retation of te 7e"(s) tat $as /ressed% Modifier9 nae(s) of te odifier 7e"(s) (i.e. contro# sift)/ressed% and#es structure $it and#es and user data (see 23I-ATA)
% >>> E&ecutes on 7e" /ress $it focus on n and none of its contro#s.function n4+e"0ress5cn(O!,ect eventdata and#es)
g#o!a# n#etra=get(gcf*urrent*aracter) % detecta #a #etra digitada#etra=dou!#e(#etra)/a#a!ra=get(and#es.n3ser-ata) % vector de datos de usuario
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>if #etra K= /a#a!ra=D/a#a!ra#etra % agrego #a #etra a #a /a#a!rae#seif #engt(/a#a!ra)K= /a#a!ra(end) = Dend %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>set(and#es.n3ser-ata/a#a!ra)
%Esto ace as o enos #o Jue ace e# if de arri!a /ero #o otro da enos%/ro!#eas% !uscarBorrados = find(/a#a!ra == )% /a#a!ra(!uscarBorrados) = D
/a#a!ra=car(/a#a!ra) % #os datos nuricos son convertidos en #etrasn=str:nu(/a#a!ra)o/ =
-
8/16/2019 Planificador de Frecuencias GSM
12/21
e#se set(and#es.n5oreground*o#orD< ) set(and#es.ensa,eN5oreground*o#orD< ) set(and#es.ensa,eNstringERRORQ n de!e estar entre :. " ;)end% O!,ect and#e to n (see 2*BO)% eventdata structure $it te fo##o$ing fie#ds (see 3I*ONTROL)
% +e"9 nae of te 7e" tat $as /ressed in #o$er case% *aracter9 caracter inter/retation of te 7e"(s) tat $as /ressed% Modifier9 nae(s) of te odifier 7e"(s) (i.e. contro# sift)/ressed% and#es structure $it and#es and user data (see 23I-ATA)
% >>> E&ecutes on 7e" /ress $it focus on J and none of its contro#s.function J4+e"0ress5cn(O!,ect eventdata and#es)g#o!a# J#etra=get(gcf*urrent*aracter) % detecta #a #etra digitada#etra=dou!#e(#etra)/a#a!ra=get(and#es.J3ser-ata) % vector de datos de usuario
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>if #etra K= /a#a!ra=D/a#a!ra#etra % agrego #a #etra a #a /a#a!rae#seif #engt(/a#a!ra)K= /a#a!ra(end) = Dend %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>set(and#es.J3ser-ata/a#a!ra)
%Esto ace as o enos #o Jue ace e# if de arri!a /ero #o otro da enos
%/ro!#eas% !uscarBorrados = find(/a#a!ra == )% /a#a!ra(!uscarBorrados) = D
/a#a!ra=car(/a#a!ra) % #os datos nuricos son convertidos en #etrasJ=str:nu(/a#a!ra)o/ = fi&(J) %o!tiene #a /arte decia# de# va#or if /rue!aE == o/ = :endset(and#es./rue!astringJ)
if o/==: set(and#es.J5oreground*o#orD ) set(and#es.ensa,e5oreground*o#orD < ) set(and#es.ensa,estring1a#or de J co/ro!ado) e#se set(and#es.J5oreground*o#orD< ) set(and#es.ensa,e5oreground*o#orD< ) set(and#es.ensa,estringERRORQ de!e ser un nuero entero)end
-
8/16/2019 Planificador de Frecuencias GSM
13/21
% O!,ect and#e to J (see 2*BO)% eventdata structure $it te fo##o$ing fie#ds (see 3I*ONTROL)% +e"9 nae of te 7e" tat $as /ressed in #o$er case% *aracter9 caracter inter/retation of te 7e"(s) tat $as /ressed% Modifier9 nae(s) of te odifier 7e"(s) (i.e. contro# sift)/ressed% and#es structure $it and#es and user data (see 23I-ATA)
% >>> E&ecutes $en se#ected o!,ect is canged in ui/ane#
-
8/16/2019 Planificador de Frecuencias GSM
14/21
function ui/ane#:4Se#ection*ange5cn(O!,ect eventdata and#es)g#o!a# !$g#o!a# s/g#o!a# generacion% se#eccionando #a noraif generacion == <
s/ =
!$ = E&ecutes $en se#ected o!,ect is canged in ui/ane#.function ui/ane#4Se#ection*ange5cn(O!,ect eventdata and#es)g#o!a# s% se#eccionando #a noranora=get(O!,ectString)s$itc nora case
-
8/16/2019 Planificador de Frecuencias GSM
15/21
end% O!,ect and#e to te se#ected o!,ect in ui/ane#% eventdata structure $it te fo##o$ing fie#ds (see 3IB3TTON2RO30)% EventNae9 string Se#ection*anged (read on#")% O#d1a#ue9 and#e of te /revious#" se#ected o!,ect or e/t" if none$as se#ected% Ne$1a#ue9 and#e of te current#" se#ected o!,ect% and#es structure $it and#es and user data (see 23I-ATA)
% >>> E&ecutes on 7e" /ress $it focus on r and none of its contro#s.function r4+e"0ress5cn(O!,ect eventdata and#es)g#o!a# r#etra=get(gcf*urrent*aracter) % detecta #a #etra digitada#etra=dou!#e(#etra)/a#a!ra=get(and#es.r3ser-ata) % vector de datos de usuario
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>if #etra K= /a#a!ra=D/a#a!ra#etra % agrego #a #etra a #a /a#a!rae#seif #engt(/a#a!ra)K= /a#a!ra(end) = Dend %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>set(and#es.r3ser-ata/a#a!ra)
%Esto ace as o enos #o Jue ace e# if de arri!a /ero #o otro da enos%/ro!#eas% !uscarBorrados = find(/a#a!ra == )
% /a#a!ra(!uscarBorrados) = D
/a#a!ra=car(/a#a!ra) % #os datos nuricos son convertidos en #etrasr=str:nu(/a#a!ra)set(and#es./rue!aRA-IOstringr)% O!,ect and#e to r (see 2*BO)% eventdata structure $it te fo##o$ing fie#ds (see 3I*ONTROL)% +e"9 nae of te 7e" tat $as /ressed in #o$er case% *aracter9 caracter inter/retation of te 7e"(s) tat $as /ressed% Modifier9 nae(s) of te odifier 7e"(s) (i.e. contro# sift)/ressed% and#es structure $it and#es and user data (see 23I-ATA)
% >>> E&ecutes on !utton /ress in /us!utton
-
8/16/2019 Planificador de Frecuencias GSM
16/21
g#o!a# generaciono/ = >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%Se co/rue!a nuevaente Jue sea ro!ico
%e# a#gorito crea en un vector nueros ro!icos
o/ =
-
8/16/2019 Planificador de Frecuencias GSM
17/21
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
s$itc o/ case < set(and#es.res/BstringERROR)
set(and#es.res/*stringERROR) set(and#es.res/-stringERROR) set(and#es.res/EstringERROR) set(and#es.res/5stringERROR) set(and#es.res/2stringERROR) set(and#es.res/>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA Bres/!=f#oor(!$Vs/)set(and#es.res/Bstringres/!)
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA *res/c=r'sJrt(',)set(and#es.res/*stringres/c)%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA -res/d=(r:)'('sJrt()V:)',set(and#es.res/-stringres/d)%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA Eres/e=res/d'Jset(and#es.res/Estringres/e)%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA 5res/f=
-
8/16/2019 Planificador de Frecuencias GSM
18/21
if(res/fW= FF res/f=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA 2res/g=cei#(res/!V(s',))set(and#es.res/2stringres/g)%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%RES03ESTA if(generacion== to !e defined in a future version of MATLAB% and#es structure $it and#es and user data (see 23I-ATA)
% >>> E&ecutes on !utton /ress in /us!utton:.function /us!utton:4*a##!ac7(O!,ect eventdata and#es)
-
8/16/2019 Planificador de Frecuencias GSM
19/21
g#o!a# rg#o!a# sg#o!a# !$g#o!a# s/g#o!a# Jg#o!a# ng#o!a# ,
set(and#es.res/Bstring) set(and#es.res/*string) set(and#es.res/-string) set(and#es.res/Estring) set(and#es.res/5string) set(and#es.res/2string) set(and#es.res/
-
8/16/2019 Planificador de Frecuencias GSM
20/21
#8$
##$
#&$
-
8/16/2019 Planificador de Frecuencias GSM
21/21
#)$onc'usiones
El +,,a#a )(#+le )! l' ,e4(e,&e!t' 3 t&e!e' l' %al,e'
!e)e'&ta*'
U! +la!&f&)a*, *e f,e)(e!)&a' +,,a#a* a/,,a #()/ t&e#+ e!
la +la!&f&)a)&$! *e (! +,3e)t *e )e,t(,a *e ,e* )el(la, #0$
#1$Bi*'iogra/.a
• A+(!te' ,eal&-a*' e! )la'e' *e Tele)#(!&)a)&$!e' #$%&le' U!&%e,'&*a*
Cat$l&)a Bl&%&a!a.
• D&a+'&t&%a' t,a*a' +, el I!. J' Ca#+e,.
• e'.#at/,F'.)#
• Ma!(al MatlaR2006
16.