2 views

Uploaded by brooke92

- Presentation1.pptx
- Introduction
- Lecture 1
- celso_matlab_basics.pdf
- project ece
- Dasar Teori Matlab
- Slides 16.06 16.07 Matlab Simulink
- Experiment 1
- m13554
- math0014syllabus.docx
- 01 Matlab Intro
- InTech-Tips and Tricks for Programming in Matlab
- Matlab Ttutorial 1.ppt
- A Brief Introduction to Engineering Computation With MATLAB
- Matlabtalk2
- SISTEMAS BIOLOGICOS
- DE51 dec 2012
- Steps for AUB Students to license Matlab.docx
- Set 1
- Matlab

You are on page 1of 2

Matlab and octave are "interpreted" languages. Almost all other languages must be compiled. No compiling needed in matlab. It compiles it line by line Matlab history: It was written in the late 70's in university of new mexico. Matlab is short for Matrix Laboratory Matlab is great for: matrix operations, rapid development, image processing, instrumentation control, simulation Matlab is ok for parallel (distributed computing), iterative code "serial" Matlab is lousy for high performance code '%' symbol starts comment area for a line <command> ... three dots continue input to next line clear: clears all objects in workspace who: lists all objects in the workspace clear x y: clears value of objects x and y Matlab does not require you to declare variables or their types You can type in integers and doubles as numbers If you want to use alphanumeric text in Matlab, you need to enclose that text in single quotes Scripts: collection of commands executed in sequence written in the matlab editor memory: ram, disk drive, flash datapath: add/subtract, multiply, compare input --> memory -> output

4/7/2011 x = matrix x' = transposed matrix. ' is the command to transpose it from row to column or column to row 4/12/2011 - plotting plot(x,y); x,y are 1-D vectors of the same length example: plot([1,2,3], [5,2,0]); It will plot: (1,5), (2,2), (3,0) to title graph: title('hwk2.2'); to label x axis: xlabel('sdfjdskg'); to label y axis: ylabel('sjdgsg'); to turn on grid: grid on; hold on; hold off; for multiple graphs on one plot axis([xmin, xmax, ymin, ymax]). For example: axis([0 4 0 6]) To add color and patterns, add argument to plot command: b for blue, g for green, k for black etc. marker style: a period for point, o for circle, x for "x" line style: - solid, : dotted, -- dash for example: plot([1,2,3], [5,2,0], 'bx--') a, b are matrices. a*b 1. linear algebra multiplication (a*b) 2. term by term multiplication (a.*b)

Use the figure command when working with multiple graphs April 14, 2011 For a paper: 1. Keep in mind the point or story 2. Write clearly and accurately. Okay to break almost any other rule for more clarity 3. Minimize ink - text, figures, graphs, line arrays Organization: 1. Get data 2. Graphs, figures, tables, 3. Outline (ppt) 4. Detailed outline 5. Write text 6. Conclusion, abstract, title Boolean Logic/Algebra on or off, 0 or 1, true or false 1. Invert/NOT/complement: x01 inversion: x' 1 0 2. AND (syntax: X&Y) if x and y are both true, the output will be true. If not, output is 0 3. OR operator (syntax: X|Y or X+Y) if either x or y is true, the output will be true. It will be true if both x and y are true. 4. Exclusive (OR, XOR) if either x or y is true, the output will be true. However, if both x and y are true, the output will be false Arrays 1. A(2,3) - A is the matrix name, 2 is the row index, 3 is the column index. It will give you the value in rown 2, column 3 2. A(,:3) - gives us the entire third column. 3. A(3,:) - gives us the entire third row 4. Syntax: A~= 0 translates to "A not equal to zero" 5. strcat(x,y) to glue strings 6.

- Presentation1.pptxUploaded byajitjk123
- IntroductionUploaded byvndna
- Lecture 1Uploaded byTrọngHữuNguyễn
- celso_matlab_basics.pdfUploaded bypeterdreamer
- project eceUploaded byMohammed Zakaria
- Dasar Teori MatlabUploaded byshella
- Slides 16.06 16.07 Matlab SimulinkUploaded bysokrateg
- Experiment 1Uploaded byAkshit Sharma
- m13554Uploaded byCA Fao
- math0014syllabus.docxUploaded bydjun033
- 01 Matlab IntroUploaded byEmilio M. B Castro
- InTech-Tips and Tricks for Programming in MatlabUploaded byManish Ga
- Matlab Ttutorial 1.pptUploaded byChandrashekhar Choudhari
- A Brief Introduction to Engineering Computation With MATLABUploaded byNitin Soni
- Matlabtalk2Uploaded byAnand Balaji
- SISTEMAS BIOLOGICOSUploaded byGermán Salina
- DE51 dec 2012Uploaded byRakesh Rajbhar
- Steps for AUB Students to license Matlab.docxUploaded byPhong Nguyễn Thanh
- Set 1Uploaded byHusain Qutbuddin
- MatlabUploaded byXiomara AC
- Solution of LPP tabular methodUploaded byAbhishek Borar
- A Quicstart guide to MATLAB GUI k Start Guide to MATLAB GUI for Controlling Arduino Create Graphical User Interface and Command Arduino in Few Hours. - Magesh JayakumarUploaded byAhmad Reza Atef
- dsp with matlabUploaded byPanku Rangaree
- Very Fast BDSUploaded byWEMERSON31
- The Assignment MethodUploaded byNaruto
- Fortran From MatlabUploaded byFuad TarmiDzi
- Excel Function Dictionary 150 Example Functions and FormulaUploaded byBalraj Padmashali
- Slides of Introductory Lecture, 2015-2016Uploaded byRobbie van Leeuwen
- Complex Cascade FiltersUploaded byGolang Insights
- coder_gs R2014a.pdfUploaded byqinshaoq

- 234Uploaded byra9622
- NADRA preionsenrtUploaded byIrfan Ali
- Guidelines on Cyber Security Onboard ShipsUploaded byAnonymous LY6TDe
- 55326126-Commodore-128-Book-7-Peeks-and-Pokes.pdfUploaded bybandihoot
- Vane Pumps at quick.pdfUploaded byZac maimer
- Sbs w2k BibliographyUploaded byMd. Ashraf Hossain Sarker
- PDF_VE_V6.pdfUploaded byman wong
- Property & Construction Handbook 2011_AfricaUploaded bylukebuc
- Game Programming in HaskellUploaded byoshogunro
- Modeling Transformers With Internal Incipient FaultsUploaded bydbhargavreddy
- Infrared Thermographic InspectionUploaded byJoão Cavalcanti
- Cake Php CookbookUploaded byEuber Rondon
- radiatinoUploaded byJose Bright
- 460_1-1985Uploaded bybirfan7
- Disaster Management for Cooling Tower- Case Study.Uploaded byAnonymous 7VPPkWS8O
- LNX-6513DS-A1MUploaded byBoris Sarzuri
- Assignment 7 ITS DeploymentUploaded byAmeer
- Standard Operating Procedure for Calibration and Maintenance of Weigh BalancesUploaded bySimon Malwack
- STMSUploaded bygnanavel_mohanan
- 219577[1] DMK Rp 3_4 _ 2 (1)Uploaded byVlad Stefan Cristian
- Chapter8_SM.pdfUploaded byThuanPham
- Lessons Tab You Re BeautifulUploaded byMas Udin
- Guidelines for Software TestingUploaded byapi-3700815
- Workflow for MDMUploaded bysciha
- 2014-02-06 The County TimesUploaded bySouthern Maryland Online
- Back PropagationUploaded bySetiono Busra
- 4-4.pdfUploaded byPriscila Rodrigues
- IAI ASEL Controller SpecsheetUploaded byElectromate
- Unlocking Current Refinery ConstraintsUploaded bySaleh Daryabari
- rotaryUploaded byvalentinlupascu33