0% found this document useful (0 votes)
4 views

Computing MATLAB Notes

The document discusses MATLAB, focusing on its capabilities and functionalities for matrix manipulation and programming. It highlights strengths such as its calculator-like behavior and weaknesses like being an interpreted language. Additionally, it covers various commands and operations within MATLAB for data analysis and visualization.

Uploaded by

abdullah8892583
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
4 views

Computing MATLAB Notes

The document discusses MATLAB, focusing on its capabilities and functionalities for matrix manipulation and programming. It highlights strengths such as its calculator-like behavior and weaknesses like being an interpreted language. Additionally, it covers various commands and operations within MATLAB for data analysis and visualization.

Uploaded by

abdullah8892583
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
@DwOoow PA epee MATL AB — Malas sland far Matrix Labacalosy: WS) Daelopment- Cleve ley in’ 1470: Matlab Vv (ugh Loud ing L, guage Gh vaglive Anwivn er Dinthy | altel Vabtulabions, varguals atien (gros) w OY Cin et Landy, BFC ee 2 Tota pythnds Ma yar —_— x) sing Me BE yeu con analyte eee fV}:- Cera. “den pace ty solve a specific nsoddem- a Trength t= Advantacen + Matlab Gray behave ar a calculator oY WY A Mervamming: lan Wage * Svamplest-~ Gn og? a C- 2 at 2) Vigllab: z Nouba g Gtophic plo Ang : BOWMDHOS) pee Suamples- We St? Plpting of Viel Nit Ss (U) Esoss or ary fo Weakvess. Diaadl daahager:- (1) W1ATL AB bo sol L puyonte aa, y age "uth ay tty “Java; nuths Ccompubhy and“ yn E tutte le : Y _apnticatiprs such 0 hint apa (3) MATLAR in inteapwtted Lanouare jn terms of extremely il eeaae Chat tae ipttems Antespreler'- Unedl_to_evecute the source cod hie Ly hin no machin Cenguage) Toy bey od at me. pier veal Faldlers- Thin Zi romintk of all of save ‘fle. tok abo olla act Aone Paper Product > U2 § wicks Int. © 164 gDOOe® DATE: petite filed and naideles Ucn 2 ‘oa on man CINE: inp phe maw Arena where min Car be cutored at the mma Line: Enter commardy + 1nr+ eheck ener+ dip, Ls. aiulte gic Lau. Linge ugh, 0. pt t _ Aho, we can Crate (declare ) Lxample* > Sczk £3) [leak (PALE Vir __(2ent cn all the swasiabl wlth yeu__cleclared er definedl iA oO aul. Line _ variable > names Size-Haper (i) GOMMAMD. LUIS TORY:= This _panel shew te pO -1Uy2 wamdn¢ds foal are endive ll na cat _ 9. comme Regt tommandenioass— fem again + Modify cummandy: te —theed ta shuau/ linplag flee MOWDHD awn GommMand _wedin MATLAB‘ \ebe — lear fhe command window: wt rah ) Charall-> Remove all variable fran screen: \deble—» Delete the Lites: Vu) emt» Check if yasiable ov feu tin ate debned 8) help —> Dirplay the’ he JAATLAR finchen- ) Cook f= wich fer specific word in all erkyicn BB =Zmminy Len OpeER ATOR: N+ — ply, additm snemler 2)- = ee onemdn ) 3¢—> Mybtiabic in ‘onenallan - Wek —» Anay Coal abn operat: Ea AS al oper i A> Array eyppental aneraler: g) fs Dinitien opal; pve fe tn) Coenerale regpulas peace Lea a yampler- PIO s Belee AO" ae f') = “luaalhis anclote the ‘ Aunchin ourguumenty: x e. nay clement - rel ef g pay ia) iS faye pT IS uy] Mu _) ‘ee Zot] fale cima A ygW 112)» Blea Cparate clatemesnt {gp | The, i a element / we Is (epaiale £ SF and Seepop Kos dinplauy [den't diplay en ——~ peONS Ae ee Gis SOE! ey Der & S Supt clu — wo 1] —> (Percentage tion) beughn A. cot va hee S flo) = ala) + cotty) opp fy y= sity) ¢ coef) Hse gk Alaming variable s- ale auigning a_aly 0a vasiable rey Rubest~ aeaOaE able Is beller. ey: ea er, foun ts abphabet )- r of name la one ) The maximum fength of yaniable { w_b3- Pea L - ide: a#A- - a= =f MOOD DALE: 6) Vanable name Cannot be included preclefined p Lee uh" wp while kaw AK Other commande of Mat leb- i eg a= [1,23 24) was fi23 3 4] b=[23 43667389) bef 2 3u ds $6 4 | fA of cz (19 75 DS fcc= al Se ia EA 9 S§ Or] (pene) (2) Jo repnctnent 3_Golumne- eo Lf 2 3,43 6b Fj 4,10) hf233) r mut nut = 4 4 (0 Te xeprnent 2" w= Cheat) audput :- [ 4584] MOWwuws iV Lilie ( G Ds ft" yu b=[ 9345 Ghd 4 slo] LY 2x) x Cutpl if rae [90 uy 74] =e. 4_ 10 = fer 27 y 3 4g fo _oolvan 9, awy l= [FT 2 7] i . tz i8 J (S$) Fo nul tinl 2 with célumn LF bli5 2)x2 hz l22 bobs 6,645 840] tatputi. b= EQ ae C Ly] Bo 20 J LK) To borate entar in Matyn= CLUMSY) c= lh, 23 2853 | 63,4] actu f= A One Paper Product OOWwwe 1) Io mulhnly whole natin uid Ss axb {8) Jo inullinly two vnekon swith Lach ther: - (a) Jo _oveate null matnn of ith wy Lu -In : WA Lon:- eves(U,4) (10) Jo create identity motnx by builtin fun chivni= » eye (213) adut- [| LO 0 J ui Oy, menOue (my, reve (252) cama (11) Th nace 2rd wy oF YWOWOH® DATE: d= [io 2.3J B27 a yt sec udp = 3 2 I st a 2 q mS { 1) Deferminent :- A=T 192535 W065 1:84] n tind dekaminent of a a det(a) (183) Snwense:- Sp inv(a) (uy) Frawapoge Lrampuse(a ) Oe 4 = tampese(a)’ OOWHHIs — iS CE [su] __adj {ge [6 9] fy =4) Cu a6 6] Ls G 4-4 S=-2 | fa [Al = co Mayer at=— 4-4 So 6 pana | a Eels me aa 7 ne 6 a iG a PSone ——— ra Tefal 73 2! het S 3 Lar QONMODDO Dare. c eDWDHH) DATE:, = (st Dee Set [16-24] =+8 48 Gy dye (1 [2 47 wee 4 uo] bofdackr of Az [On Ae a0 OS Aa An G23 An an 099} [ -s. 2k 8 = Yo -20 0 ysl paee Adi (A) = tremapene +f facta of Matin (A) C t eo) Adi (A)? [= eens wy -20 a £ a -4] als als g)-uly 9 [oglu Ig al [a a] fy ef => (in ~by)-ule-39) +6 (2g =24) ov a(-%9)-4(-ay)+4 (8) 2d/0G49b4+42 = Uc = [ple Ye MOWOOH DATE:. Ane ad (A) “TAl ull ing The Values. 2 yo -Y | YOi2u -79 0 | g 9 =U a Bas SOWOHw _ GRAM RS Kyi E:- Ut 2y= 8 24 +8y = fi 2a] x) 2 & | 2 39) fal A & Fr ¢ 2% 4 Replaced n° Foam) BY Tg 8) by “B set (are Gi) i Replaced «yt Ay: | 2 4 J mR: For (Al Al=xcPt 2 | XNg-4 = of OMe Eur (Ax) [x] = [ & 7 [= 1S-8=7 yes iets) For lAy ts 1—F}5 [Ay| = | y~ 102-6 4 i ena L4 fer _%- = Wale. FIGS -F (Al il Fat Yt yt Foz {Al a ‘ at) Ye AAG in et ole) @QOWOHO DATE: Example Hli- Ut Quy + = + Bot 22 = 2at+tSy+ 2 = 2 (eae eae ee ees [23 2p pep fa | [3.of a7 Tey [2 | A m= Ave [5 23 J [ts 3] [yg 3_2 [> Ay 2 4 2] bet sk [3 ay J Az]! 2 S] be 4 | [ 3.052) fr fAf 2 lz p{3 2[-2[? 2 Jys)2 =] le af [sal [fs] t{ 3-10) 2(2- 6) +3/0 -4)) a 1-7) -2(-W) +3 (1) _z> -Fth +324 Al- For Ay }2- 1 S&F i fy 2/4 3)h 3] ite ff [34 las » S(et0) -2(4-u) +3( 1) aga Oe gDWOHO DATE: [Ax] = 7 ES sae I = 4 2/_cf 2 : uy oe a ee aif ul) =S(2-6) +3(U-22) 2 Wd) = S(-4) 49-8) = -4/ fy b= -Y For |Ag|s- Wel = +f 3 4}2[ 24 facf2 3] (2 Cee oe if b-20) -2( y-12) 4S (lo- ) Z -iy + /h+8 a [Mel = 7% fa X= eet ee 7 Ex y= Wot. =a = =T Al 4 Fin = fA2| =0o% ie 4 {At MOOS) =a = Wr Ae eee O fe t2y 23e 2S 2urhyt2e = 3xtSy+ 2 = 2 AS ez ons Au= [5 2 3 XY 3 ae th 2 4 AMEZI7S SO Aze ff 289 2 29 35273 = f tit_diaplaying X value Y= def (Ax) et lA} EP age ei fe aiplaigng F value _ : Y= def (yj) eta) Ye af 5 25 3 GS 27 251793

You might also like