You are on page 1of 15

INTRODUTION T0 MATAB

MATLAR_ihaat J mabiz lahozatazy L aJ2queny_p2Rq2am2Lny-


paLka pLgLLally chulignuda4uiik and tanp_Lienliyie_Lalulaliand
and 1lo P1 ha Lilkaalls hundaed a bullE 1n_Junilin jea A unl
Vaitly al compatatim anil many aalha2r duignud_Ja peulLe
21LLanhliuplur_aLludungstalie
J'ttot H4TLAR hy clouhl liukinq_en_thu MATLAR IKOrN appCali_
aldiat a whta LutiE i Tht_AIATIAR Liadow shauli_L2.mp upen
y.Qu2 atn_il Leuk_ik Thit_Lr wladas in ulhih yau abatt
alilth_A1LAR Tht máun liadau in whith_cn ttu 214nt in_Caled
tommn sLindod ln_th iquun ynu Lanl that ule_bupra in lhu
lommandlh the eP JLE (C2nL yL tan_viLt tha aunh pad
inda and_thu hinkihep wiadaul lwap_pum_a in anathur by
utiag_an tha appaup1akt fay hi_iakupau suadeu)_aill_tha
yauuK all_Vaniahln that ak ulag io yur mnt tA TAR ICALien
lhun _you_ilt itanta NATAR the wakipau iremphy_m0 ahent
slakepaLuLakea MATAR_COmmandi_that yau_uled and lhruo 2ent
Aouakian_by_cdiacckway_Vau nludl_a2 unxntly_elaking io /ale_that
MATAB Lomnancd that you uiuul and lhu UDYtnt localicn Dupanq
th M01AR fetLim_ ynu _(aitlt_ filun Sh PLrauntun Llaktpau
ratt anapp2ip21alt_lalils p ito2the lab iu
Nok hat upnt cluzctluzy alu_ licplayLd in thu
opa14ht co2n LE »_th naln_mnti Alo Ul' hy a limpl
_tommand nuat D th pampt_ in lhu_torndanil blaclno hype a214
and thn_p2ei nlka i_ Qu alnvale_lhi LOmmand 0n y2u7
Sunun yau thould Se a1
No1LE how eATLAR Cai nut th tommand immtcliatils _ancl
qettyou thi altapt_fo youz niat Lommand Heas a_vaLahlu_talld
a u osati by MATAR and auiand the valut ul MnTLAR th2c1_thu
vAo1ahl_m in [h Waktpau lnt yoLL tait MATLAR o lll MATAR-
o llul vaotably

F12t thu wokipalt windoul cloubl cliuk_cm thu namia 1 imall


indo WIL PepLup duiplay1ns a_valtut. r ita bandly Jeahto
Lan Lhangethu valul o lhe Vatahlt
Ty a:91
Jollowtd hy tnka b hang tha valul o the np Lfhio iype
ype h- fozt lal-
10 Jind thi J art 20at / a Doot layut bpuiL enkta to Cornman
But it L DuLLLay b lkiL MALAA _ (Goyaut th (anound Now
You thnuld Ittn

enttatd in
1o bauk o thelakipal lndobl and uhetk thal bir
au aktpatt lto_chatk_hy clathling duking en
a that 'a
andJuntim_hem
lalt hal nhanud 22 day lLa_aahlu
mumoy l 2movtl al vaDiahu_ em wokipalt
PROUIRAH NO: I

OUTPUT HATRIX 1DDI TION

L2 3 2 3 4)
the fiit mat ix alitim
Wailk malaKk_p2n42am JaY matai
tnta
4 32J
secwnd mabix
3 2
Cnt th
th two
matruui cL
Jam ol
Th

AnpLakCnktheJizu mala
6 Lmanariz lal:
lmbnthl: fipc b

Catb

upt

up Cmtul12 umuniieni nut aq2 Jo slLtin]-


La

RttULT p2nqram utlcil and vntput _vealJud


PROUTRAt No: 2
OUTPUT
MATRIAJu8 TRACTioN
it mabiu
io 9 to 9
Cntta th

(321J
Naikn1atlah_ponqzam ia nalh1z _tchhaiticn
the detend mabix & 2
Crle
mattLer
tJo
othe
Tha
cujlt tnu
iopukenka th liztt mahiz-}
hiapukCenko_th ttondmaibiz-
Lma nal fijiaL_

i i tmaimbhtd na-snhi
-b

sutp Ihe cuitatout_ot Ihe t_matilu_


Cluple

iplmatziz uminLLeni_miuit agan fa uhtanttaun


tnd

Rei p2uyzam_rtuktal_and ntpat veoijird


PROUIRAH NO:3
OUTPUT MA TRI X MULTIPLICA TIUN

(4 5:J
th fint mabiz
Cnt wit matlah _pwy2am la mahix mulEiplicakn
5 6 7
Crt
th
Jecond mabox
LLG
2 mabiur
pouelutt o
The

55 64 a inputlenta tu tio1t matziz=


h r iaput(tnt,_ttu ircentl_malaiz=V
Lmanal=liula
Lmbnb]= izebl_
LlnaEEmbl

cip (Tha_p2nclutl_at th ha matitet


CuLpCOE-

ditp the numbea pt coiuni at iit mabix nult ht 2ual _


thenumbin of matizI_
Lnz

RELUL1: p20gpam Cxeuutrel ancl Dulpat aanjird


PROLIRAH NO
MATRIX DIVISiON
OUTPUT

(9 2

Cnb
th tiit
m abit WoiE ADmatlah_ pupam fn mata2 clivititnn
Jtcon
mabix
(3 2 1
thu
Citb
cuvi)
Che 2 manita
t9/LuLt of
ainputLrnka th tioit matoix
32 2
buiapastenkta Ihu fetead nabix
ma nal-izalal
Lmh nhli2a (b

Cr G/b
cupthe2tutt_of the cuvasion ef the hJo malbitui
cdiuplo

cluPmalaix dimnucni mtut a q ; a diLiLml


nd

REtuLpmq2an YLLulkel_ondd_outpal vajIKcl


PROUIRAI NO:5
INVERSE OF A MATRIX
OUTPUT

wall matlab puep2am n_Jiad the huatt a mal1K-


Erit tht mablt (23 5

lapukenla thi nataia-1_


2
Lma nall-tiulal:
curpTA mataiz Ir naltqLant 2

Cuip (Th malaix In Liacela21

iavlall
clinp"the2ttull it)_
Lpcu

REULT P2upu_eulkrcl_And_nlpul_wayid
PROLRAN NU:6
OUTPUT RO0TI OF A
POLYNO MIAL
Cntt th toyrtlint the polynomial (2 47
aitt matlab pangzam to Jiad tthe 20ett ojA_polynumialand
Tha votr the po lynomial 0 WLay_th 24
2

LLC

p 1apuktnttn_Ihr coJLruitnl_ey_the_polynamlalL-
200tIPL

_clparh 2nalr_ol thepaluaamlal a2cI-


diupla)

ReLt Paug2am LxLuulec and veaiyit.el cauLpuk-


PROLICAl NO: 7
0oUTPUT

Z oluTlON Of UNCAR 6qUATIONs


Erit the e wunt mabi 2 3, 5 : )

(2 13
aik &matlah pampaam_ln Jiad_thu soluicn a ttulintar
Crlt thu (onrtant mabia
the flutian tf

- 0-5

10
a inputentn the toyLnint_matziz=_
b 1npuLCrnlto theLenilaat_mali I
if (2ankLal Egank CCa b])

iluil tdE tal==o


XiavlAb_
cuupt"thu foluution i i -
cLpixl

zliupt th_ laminant al Auan tliu_Lyucro_haL 1finta


LalulimI_

Lnd

RELUL1 P20q2am yuute anil oulput vajnd


PROURAN NO:8
DIFFCRErNtIA TION

2ikt matlah_Lacdu J Hadiaq the cuLaealial aa_qLLL


LnliM_

CL

clup(
u difty5)
clitplul
teAililapla)-5]
ctirpLt_
U-cdilE CxA3, 2)
cuptwl

REUL pz0q2am Lreculed end ntput veaiind


PROUIRAN NO: q

INTEMRATION

W1l matlah tocle la indinq_ the tnttqnal oa qlnuoLlin-

fym XiL
Lliatlin(XI
_ctinp/u
Sintx5);
cliip CCa'
Siattiox)-pi,pll
clitp (f)

RELUTP2vqnam exeuutecl and oulput vetirel


PROUIRAM No; 10
2D PLOTS

W2ite matlab po04p am plot 2D arwl 3OVe

dotc al
clLs al
X=hnLpau lo5a)
Y fin (Y
ZX.A2
teXpx
Jubplot (2 2,1
plotCy
Subplot2,1,2)
plotx z)
Juhplot 2,2 31

RefUaPoogra txeuuted andl eutput vealjicd


ProURAM No:l
3D PLOTs O
2ie Matlah_p2 242am_ lw plot 3D uverL

Clor all
clay all
E:uatpaLL lo1300)
y=in l1opi
(0f C1o'pi' t)_
figuntCal
plotatyzl
p0po 1020 21 61dq
Liquntl2
pitLpopi
m-Lntpi'U
L yle muhyzida
Liguat13
miihltY)_

REJUL1 Pmqram exeutea andDulput woijind


PROUIRAN NO:12
MPLITUDE MODU A T1ON
Woit mat lah pdqpam tv_quniaat amputucdu
mnclulatcel ignal

LlDtcall
teuorpau (o 110 00)
m: intpi'io't)_
fin (2'pi'too't)_
mi:
y:(Itmin),"C
Jubplot(220
plot Ctml
Suhptot (22,2)
plot(t, -
ubplot (2221
plot Ct yl

RESULTpo0yram_exeuukiel incd output vwwijicel


PROUIN No 13
L// AMPLITUDE MoDULATION
UfiN irtuLINK

Ikneaat ampltud modulated tignal uting tinulink


Equatimal dtt wlavey 1min lpilmitin ipi-ict)

Povduct
9ae

REtu pong2amAtuultd ond output veajid.

You might also like