0 views

Uploaded by Elsadig Osman

Matlab 1basics

- B.C.A.
- MATLAB Simulink Tutorial
- 4114 Modelling and Optimization of Biomass Based Energy Production
- Finite Element Formulation for Composite Laminate Plates
- IBM Placement Paper3 [Www.students3k.com]
- Maths A & B
- dsge_all
- MATLAB Fundamentals
- Vee Onelab Users Guide
- Moddel Trans From at Ion as an Optimization Problem
- Preface 2013 Matlab Third Edition
- CV Kushagra
- FINAL 022014 Answer Key
- Programming Course Flyer
- FuncLab1.5_Manual (1)
- Basic Mat Lab
- assignment0.pdf
- Tutorial for Sit 2.0
- Disp Measure
- Intro Sfuction

You are on page 1of 3

Objective:

Learn how to work with Matlab

Learn work with Matrix in Matlab

Using Plot function

Theory

programming language developed by MathWorks. MATLAB allows matrix manipulations, plotting

of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with

programs written in other languages, including C, C++, C#, Java, Fortran and Python.

in rows and columns. For example, the dimensions of the matrix below are 2 × 3 (read "two by three"),

because there are two rows and three columns:

1 5 −13

A=[ ]

20 5 −6

A matrix is a rectangular array of numbers or other mathematical objects for which operations such

as addition and multiplication are defined. Most commonly, a matrix over a field F is a rectangular array of

scalars each of which is a member of F. Most of this article focuses on real and complex matrices, that is,

matrices whose elements are real numbers or complex numbers, respectively. More general types of

entries are discussed below. The numbers, symbols or expressions in the matrix are called its entries or

its elements. The horizontal and vertical lines of entries in a matrix are called rows and columns,

respectively.

MATLAB is an abbreviation for "matrix laboratory." While other programming languages mostly work

with numbers one at a time, MATLAB is designed to operate primarily on whole matrices and arrays.

All MATLAB variables are multidimensional arrays, no matter what type of data. A matrix is a two-

dimensional array often used for linear algebra.

A PLOT is a graphical technique for representing a data set, usually as a graph showing the

relationship between two or more variables. The plot can be drawn by hand or by a mechanical or

electronic plotter. Graphs are a visual representation of the relationship between variables, very

useful for humans who can quickly derive an understanding which would not come from lists of

values. Graphs can also be used to read off the value of an unknown variable plotted as a function

1

of a known one. Graphs of functions are used in mathematics, sciences, engineering, technology,

finance, and other areas

To plot in Matlab we use plot function. plot(X,Y) creates a 2-D line plot of the data in Y versus the

corresponding values in X.

Matrix

A=[1 2 3, 5 3 8, 9 7 2];

B=[3 2 2];

AX=B;

X=A\B;

C=inv(A);

Plot

x=0:pi/10:2*pi;

y1=2*sin(x);

y2=sin(x);

y3=0.3*sin(x);

figure

plot(x,y1,'r--o',x,y2,'o',x,y3,'b');

xlabel('Time');

ylabel('Amplitude');

title('Sine function');

hold on;

2

Feeling and Harvest

Matlab is a very strong program to work with mathematics using a matrix as approach to solving the problems,

with a very good features like plotting. Learning how to use matrix and plotting in Matlab will give you a strong

tool to deal with a wide range of mathematical problems.

- B.C.A.Uploaded byM Srinivasan Mca MPhil
- MATLAB Simulink TutorialUploaded byandre__v
- 4114 Modelling and Optimization of Biomass Based Energy ProductionUploaded byAnonymous lmCR3SkPrK
- Finite Element Formulation for Composite Laminate PlatesUploaded byMohammad Nisar Javed
- Maths A & BUploaded byinfiniti786
- IBM Placement Paper3 [Www.students3k.com]Uploaded bySomnath Khamaru
- dsge_allUploaded byBùi Quang Hiển
- MATLAB FundamentalsUploaded bySrikanth Kodoth
- Vee Onelab Users GuideUploaded bythlinh2000
- Moddel Trans From at Ion as an Optimization ProblemUploaded byasharaff08
- Preface 2013 Matlab Third EditionUploaded byRussel
- CV KushagraUploaded bySangam Verma
- FINAL 022014 Answer KeyUploaded byDavid
- Programming Course FlyerUploaded byuoucriocluto
- FuncLab1.5_Manual (1)Uploaded byIrwansyah Rey Fariz
- Basic Mat LabUploaded byJudap Floc
- assignment0.pdfUploaded bysharath1199
- Tutorial for Sit 2.0Uploaded bymarebara84
- Disp MeasureUploaded bysafayat08
- Intro SfuctionUploaded bybenghanem
- Arrays StructuresUploaded byRohan Pandit
- IntroUploaded bymrloadmovie
- 09 Basic - TRips and TRaps Cheat SheetUploaded bywerwerwer
- Assignment 4Uploaded byUday Karri
- 74REAL-TIME-IMAGE-PROCESSING-APPLIED-TO-TRAFFIC-QUEUE-D (2)Uploaded byPabbala Suman
- Assign 11Uploaded bySure Avinash
- assignmentUploaded byapi-365665758
- List of Practicals - Comp Sci - XIIUploaded byNavneetRai
- JURNAL PERSAMAAN ACKERMANUploaded byDiah Wulandari
- basicRUploaded byJohnny VP

- 07502434Uploaded byElsadig Osman
- Consume Web API in ASP.net Mvc With Crud ActionsUploaded byElsadig Osman
- AI Course GroupsUploaded byElsadig Osman
- بحوث في علم الكلام.pdfUploaded byAlmahira Wakaf
- Calculus - Related Rates - 3000 Problems SolvedUploaded byElsadig Osman
- LanguageProgram2.pdfUploaded byElsadig Osman
- Digital Image Processing Project Report.pdfUploaded byElsadig Osman
- Ecommerce Project ReportUploaded byElsadig Osman
- Image ProcessingUploaded byElsadig Osman
- good siries.txtUploaded byElsadig Osman
- MATLABUploaded byElsadig Osman
- Hang AryanUploaded byElsadig Osman
- Value PropositionUploaded byElsadig Osman
- Assign 1Uploaded byElsadig Osman
- Fundamentals of Communication TheoryUploaded byElsadig Osman

- Caged Ball TechnologyUploaded byMamesh
- Models.mems.Piezoceramic TubeUploaded byAnjireddy Thatiparthy
- Barral Et Al. 2010Uploaded byBismoy Roy Chowdhury
- EE6501-Question BankUploaded byBelayneh Tadesse
- jeas_1017_6416Uploaded bysaeedhoseini
- h2 SupportUploaded byAinuSafiraCorni
- A Framework for Optimal Control Alloc Structural Load ConstraintsUploaded byclaudio8acu8a
- SIROLL CM Solutions for Cold Rolling Mills EnUploaded byashbasal
- MET MinutesUploaded byKaye Rico
- Stay Cable 2008Uploaded byRusandi Noor
- Finite Element Stress Analysis of Supra Saeindia Chasis using ANSYSUploaded byIJIRST
- ase_1Uploaded byMarko Šimić
- Manual Sensor AmazonUploaded bymoniri123
- Wind Load design for Stack.xlsUploaded byhardik033
- Lecture-14 GSC and RSC in Wind Energy SystemsUploaded byjameelahmad
- QP-12 Rev.0-RUploaded byvsnaiduqc
- Process and Device for Controlling Locally the Gravitational Mass and the Gravity Acceleration - Fran de AquinoUploaded byparahexavoctale
- Mm Ztk 1a Zpq Qua Tpn 8055 Rev.a1Uploaded bysfd640
- 2-Understanding PPF and PPFDUploaded byChris Ruhland
- Adsorbents and Adsorption Process for Pollution ControlUploaded byBunga P.
- DNF 2007 Overview Revamp New FrontUploaded byJohn M. Cavote
- GP-03-18-01_2Uploaded byJ.Carrasco
- BAA1312 - CIVIL ENGINEERING MATERIALS 11213.pdfUploaded byLyana Mushiwan
- Corel PaintShop Pro X8User Guide.pdfUploaded byBrandon Hill
- Cup AnemometerUploaded bymertik
- Tutorial 5Uploaded byWan Hafiza
- Cengage Book ListUploaded byMounam Maiti
- Gallardo y Meju 2004Uploaded byMarcos Flores Hernandez
- Continuous BeamUploaded byFaizal Aliasak
- Ch. 11 - Corrosion Tendencies of Boiler System Components.pdfUploaded byYudhistiraPerdanaPutra