MATLAB MATLAB is a high-level technical computing language and

Slides:



Advertisements
Similar presentations
Polynomial Inequalities in One Variable
Advertisements

The Complete Technical Analysis and Development Environment An attractive alternative to MATLAB and GAUSS - Physics World.
Lecture 5.
Beginning Programming for Engineers
Matlab Programming Huajun Wang Department of Earth Sciences, Zhejiang University Jan 25,2012.
Excel Notes Phys244/246 © 2007, B.J. Lieb. Calculating Velocity The velocity is calculated by entering the following: =(B3-B2) / (A3-A2). Then drag the.
CSE 123 Symbolic Processing. Declaring Symbolic Variables and Constants To enable symbolic processing, the variables and constants involved must first.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
EXAMPLE 1 Evaluate inverse trigonometric functions Evaluate the expression in both radians and degrees. a.cos –1 3 2 √ SOLUTION a. When 0 θ π or 0° 180°,
Lecture 6 MATLAB functions Basics of Built-in Functions, Help Feature, Elementary Functions (e.g., Polynomials, Trigonometric Functions), Data Analysis,
MTH 112 Elementary Functions (aka: Trigonometry) Review for the Final.
IS&T Scientific Visualization Tutorial – Spring 2010 Robert Putnam Plotting packages overview.
EGR 105 Foundations of Engineering I Session 3 Excel – Basics through Graphing Fall 2008.
4. Week 04.March Use of M-File Editor/Debugger: text editor, debugger; editor works with file types in addition to.m (MATLAB “m-files”)
Tutorial 1: Matlab basics Erjia Yan.  Getting started  Install and use Matlab  Data format in Matlab  Export and import data in Matlab  Useful functions.
© 2004 The MathWorks, Inc. 1 MATLAB for C/C++ Programmers Support your C/C++ development using MATLAB’s prebuilt graphics functions and trusted numerics.
Introduction to M ATLAB EE 100 – EE Dept. - JUST.
Foundations Basics: Notation, and other things Algebraic manipulations Indices, Logs, Roots and Surds Binomial expansion Trigonometric functions Trigonometric.
Data, graphics, and programming in R 28.1, 30.1, Daily:10:00-12:45 & 13:45-16:30 EXCEPT WED 4 th 9:00-11:45 & 12:45-15:30 Teacher: Anna Kuparinen.
A L I MAM M OHAMMAD B IN S AUD I SLAMIC U NIVERSITY C OLLEGE OF S CIENCES D EPARTMENT OF M ATHEMATICS MATLAB 251 : MATH SOFTWARE Introduction to MATLAB.
1 TAC2000/ Protocol Engineering and Application Research Laboratory (PEARL) MATH Functions in C Language.
Math 15 Lecture 7 University of California, Merced Scilab A “Very” Short Introduction.
Section 6.4 Inverse Trigonometric Functions & Right Triangles
Computer Science 111 Fundamentals of Programming I Basic Program Elements.
Introduction to MATLAB ENGR 1181 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
MAT 1221 Survey of Calculus Maple
How to use Matlab Analysis and Visualization Software Paul Harris GCRC Research Skills Workshop May 24, 2002.
1 MatLab Basics Jae Hoon Kim Department of Physics Kangwon National University It contains hundreds of commands to do mathematics. Graph functions, solve.
Introduction to Engineering MATLAB – 2 Introduction to MATLAB - 2 Agenda Defining Variables MATLAB Windows.
1 Math Expressions and Operators. 2 Some C++ Operators Precedence OperatorDescription Higher ( )Function call +Positive - Negative *Multiplication / Division.
Basics of MATLAB By DR. Wafaa Shabana
Introducing a fully integrated mathematics learning platform a fully integrated mathematics learning platform.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
ME6104: CAD. Module 4. ME6104: CAD. Module 4. Systems Realization Laboratory Module 4 Matlab ME 6104 – Fundamentals of Computer-Aided Design.
What is Electrical Engineering?
Department of Electrical and Computer Engineering Introduction to C++: Primitive Data Types, Libraries and Operations By Hector M Lugo-Cordero August 27,
Chapter 1: Brief Overview of MATLAB MATLAB for Scientist and Engineers Using Symbolic Toolbox.
Evaluating Inverse Trigonometric Functions
Getting Started with MATLAB (part 3) 1. Algebra, 2. Trig 3. The keyword ans 4. Clean up and suppress output: finalizing the software’s presentation 1.
Computing the Values of Trigonometric Functions of Acute Angles Section 3.3.
1 Solve each: 1. 5x – 7 > 8x |x – 5| < 2 3. x 2 – 9 > 0 :
Section 2.1 Angles and Their Measure. Sub-Units of the Degree: “Minutes” and “Seconds” (DMS Notation)
Copyright © 2009 Pearson Addison-Wesley Complex Numbers, Polar Equations, and Parametric Equations.
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
Introduction to Matlab By Nazarudin,S.Si,M.Si,PhD.
Notes Over 6.3 Evaluating Trigonometric Functions Given a Point Use the given point on the terminal side of an angle θ in standard position. Then evaluate.
2016 N5 Prelim Revision. HTML Absolute/Relative addressing in HTML.
ECE 351 M ATLAB I NTRODUCTION ( BY T EACHING A SSISTANTS )
E-learning Some examples of new ICT tools in action - Alan Coop, July 2011.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
Matlab Tutorial Iman Moazzen First Session – September 11, 2013.
Sin x = Solve for 0° ≤ x ≤ 720°
Notes Over 3.1 Solving a System Graphically Graph the linear system and estimate the solution. Then check the solution algebraically.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
CSE 110: Programming Language I Afroza Sultana UB 1230.
Python Scripting for Computational Science CPS 5401 Fall 2014 Shirley Moore, Instructor October 6,
Explorations in Computational Science: Mathematica Chemistry
Some Useful MATLAB Functions
Polynomial & Rational Inequalities
Getting started with Stata
Computer Application in Engineering Design
Software for scientific calculations
MatLab Programming By Kishan Kathiriya.
Introduction Mathcad is a product of mathSoft inc. The Mathcad can help us to calculate, graph, and communicate technical ideas. It lets us work with.
INTRODUCTION TO BASIC MATLAB
MATLAB DENC 2533 ECADD LAB 9.
Introduction to Matlab
Introduction To MATLAB
Presentation transcript:

MATLAB MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis and numerical computation.

MATLAB High-level language for technical computing Development environment for managing code, files, and data Interactive tools for iterative exploration, design, and problem solving Mathematical functions for linear algebra, statistics, Fourier analysis, filtering, optimization, and numerical integration 2-D and 3-D graphics functions for visualizing data Tools for building custom graphical user interfaces Functions for integrating MATLAB based algorithms with external applications and languages, such as C, C++, Fortran, Java, COM, and Microsoft Excel

TASK Find area of surface, which is bounded by the graph of a function f , axis y and line segment with initial point A and end point B. Represent result graphically. A = (0; 0) a B =(3; 0)

Calculation of values of a function Elementary functions of MATLAB Calculation of values of a function Calculation of value of polynomial function for . 2.*2.*2.*2.*2.*2.*2+3.*2.*2.*2.*2+2.*2.*2-7 Or 2.^7+3.*2.^4+2.^3-7 Or 2*2*2*2*2*2*2+3*2*2*2*2+2*2*2-7 Or 2^7+3*2^4+2^3-7 Or p=[1,0,0,3,0,2,0,-7];polyval(p,2) ans = 177

Notation of functions and operators Elementary functions of MATLAB Notation of functions and operators Calculate: , , . a1=sqrt(7) a1 = 2.6458 a2=2^8 a2 = 256 Or a2=pow2(8) a2 = 256 a3=7^(1/4) a3 = 1.6266

Calculate values of following expressions: z=(2.^3+5.^4).^(1/3) z=8.5862 a=3;b=3;c=4;x=2;y=5; z=(x.^b+y.^c).^(1/a) z=8.5862 a=5;b=5;c=3;x=7;y=2; z=(x.^b+y.^c).^(1/a) z=7.0007 a=7;b=5;c=4;x=2;y=3; z=(x.^b+y.^c).^(1/a) z=1.9647

Calculate values of following expressions: z=log10(24.589) z=1.3907 z=1.5841 z=log(4.875) z=0.7707 z=log(3.457)./log(5) z=log(3.564)./log(1/3) z=-1.1568

Trigonometric functions Calculate , , . u1=cos(3) u1 = -0.9900 u2=asin(0.584) u2 = 0.6236 x=37*pi/180; u3=sin(x) u3 = 0.6018

Exponential functions z=0.1494 z=3./exp(3) z=exp(8)+exp(1/4) z=2.9822e+003 z = 2,982.2 z=23.1700 z=exp(3+1/7)

Conversion from radians to degrees, minutes and seconds of arc x=–sqrt(3)./2 x=–0.8660 z=acos(x) z=2.6180 y=180*acos(x)./pi y=150

x=0.2458 y=1.3225 y=acos(x) y=180*y./pi y=75.7709 0.7709*60 46.2540 0.2540*60 15.2400

x=-0.6874 y=2.3287 y=acos(x) y=180*y./pi y=133.4246 0.4246*60 25.4760 0.4760*60 28.5600

convertx.m y=acos(x); z=180*y./pi; degrees=fix(z); p=(z-degrees)*60; minutes=fix(p); seconds=round((p-minutes)*60); degrees,minutes,seconds x=-0.6874;convertx