Chapter 0. Preliminaries. 0.1 Things that you should know Derivatives

Size: px
Start display at page:

Download "Chapter 0. Preliminaries. 0.1 Things that you should know Derivatives"

Transcription

1 Chapter Preliminaries These notes cover the course MATH232(Calculus& Applications) and are intended to supplement the lectures. The course does not follow any particular text and you do not need to buy any text books. A comprehensive summary of the theory is contained within Schaum s Outline of Differential Equations by R. Bronson & G. Costa and most of the material is in chapters 9, 3 and 7 of Calculus: Early Transcendentals by J. Stewart. An important component of the course is the use of computers and the software MATLAB to solve mathematical problems. MATLAB is the official mathematical computing package in the undergraduate degree programme and is available on most university PCs. A complete discussion of MATLAB would take many lecture courses and we shall use only a (small) subset of its capabilities. A quick introduction to the key commands is given in section.2 and examples will be given throughout the course. Just like learning mathematics, the only way to learn computing is by active participation. You should try to devote a reasonable proportion of your self-study time to learning and playing with MATLAB. Mastery of MATLAB is a great asset asset which will help you solve applied mathematics problems well beyound this course. This course follows from MATH3 and assumes that you are familiar with the basic concepts of ordinary and partial differentiation; (Riemann) integration; the fundamental theorem of calculus; Taylorseriesandhaveaworkingknowledgeofvectors. Ifyouareunsureaboutanyoftheseconcepts, summarised in the next section, you should carefully revise your first-semester lecture notes and your A-level texts.. Things that you should know.. Derivatives The (ordinary) derivative of a function of a single (real) variable y = f(x) is denoted by dy and dx represents the slope, or gradient, of the function, see Figure. The derivative is formally defined by the limit dy (x) = lim dx δx f(x+δx) f(x). (.) δx If the limit (.) exists then the function f(x) is said to be differentiable. If the limit (.) does not exist the function f(x) is non-differentiable. Functions that are non-differentiable can sometimes be made differentiable by restricting their domains. 2

2 f(x+δx) f(x) y = f(x) δx δy = f(x+δx) f(x) df dx δx, from equation (.) The slope of the tangent line is δy/δx dy dx x x+δx Figure : Geometric interpretation of the derivative, tangent to the curve y = f(x). dy, as the slope of the straight line that is dx Example.. A function with a single non-differentiable point The function y x, x >,.5 y = x x, x <,, x =, x y = x is differentiable over the domains x > and for x <, but is not differentiable at the point x =, where there is a discontinuity in the gradient. The partial derivative of a function of several variables f(x,y) with respect to one of its variables, x say, is denoted by f and is defined by the limit x f (x,y) = lim x δx f(x+δx,y) f(x,y), (.2) δx if such a limit exists. The partial derivative is equivalent to taking the ordinary derivative in one variable while simultaneously keeping all other variables fixed. It is the gradient in the direction of the chosen variable...2 (Riemann) Integration The integral of a function f(x) represents the area between the line y = f(x) and the x-axis, see Figure 2. Let f(x) be a continuous function defined over a region x [a,b], divided into n subintervals of equal width x = (b a)/n. The i-th subinterval is defined by x [x i,x i ], where x i = i x and we let x i be any sample point in the i-th subinterval. The definite (Riemann) integral of f from a to b is defined by b a f(x)dx = lim n n i= f(x i ) x. (.3) The continuity of f guarantees that the limit (.3) always exists and is independent of the choice of points x i.

3 y = f(x) f(x 3 ) Shaded area is b a f(x)dx a = x x x 2 x 3 x 4 = b Figure2: Geometric interpretation of theintegral b f(x)dxas the area between the curve y = f(x) a and the x-axis. The indefinite integral of a function f is written as a definite integral without limits and is defined to be an antiderivative of f if f(x)dx = F(x) then F (x) = f(x). x 3..3 Fundamental Theorem of Calculus The fundamental theorem of calculus establishes the relationship between integration and differentiation, namely that they are inverse to each other, as suggested by the definition of the indefinite integral. Theorem.. Fundamental Theorem of Calculus If a function f is continuous over the closed interval [a,b], and F is an antiderivative of f, a function such that F = f, then:. The function g(x) = x a f(ξ)dξ, a x b, is also continuous on the closed interval [a,b], differentiable on the open interval (a,b) and dg dx = f(x). 2. The definite integral b a f(x)dx = F(b) F(a).

4 ..4 Taylor Series The Taylor series of a smooth (infinitely differentiable) function f about the point a is a powerseries expansion f (n) (a) f(x) = (x a) n n! n= = f(a)+f (a)(x a)+ f (a) 2 (x a) 2 + f (a) (x a) 3 + (.4) 6 The form of the Taylor series ensures that every derivative of the Taylor series agrees with the corresponding derivative of the function f at the point a. The Taylor series is often used to write an approximation for a function at a small distance h from a given point x. In which case we can write f(x+h) = f(x)+hf (x)+ 2 h2 f (x)+o(h 3 ), (.5) where the notation O(h 3 ) means a unspecified function that when divided by h 3 is bounded above. Usually, but not always, the function has the form Nh 3 + where N is a constant...5 Vectors A vector in Ê 3 is a collection of three real numbers that represent a distance and direction in space. Vectors will be denoted by bold face, a Ê 3 and the components of the vectors by subscripts a = (a,a 2,a 3 ). The component a i represents the distance travelled in the x i -th direction. Dot (scalar) product The dot, or scalar, product between two vectors is the sum of the products of corresponding components of the two vectors a b = (a,a 2,a 3 ) (b,b 2,b 3 ) = a b +a 2 b 2 +a 3 b 3. The dot product is always a scalar, a single real number. The dot product can also be written in the form a b = a b cosθ, where a = a a is the magnitude, or length, of a vector and θ is the angle between the two vectors a and b. Cross (vector) product The cross, or vector, product between two vectors is a vector given by a a b = a 2 a 3 =. b b 2 b 3 a 2 b 3 b 2 a 3 a 3 b b 3 a a b 2 b a 2 The resulting vector is perpendicular to both a and b and has magnitude a b = a b sinθ, where θ is the angle between the vectors a and b.

5 ..6 Complex Numbers A complex number, z, is a number of the form z = a+ib, where a,b Ê are real numbers and i 2 =, by definition. The value a is called the real part of z, a = Re{z} and the value b is called the imaginary part of z, b = Im{z}. We will need to use complex numbers to represent all possible solutions of quadratic equations with real coefficients. Complex numbers can be visualised graphically on an Argand diagram, in which the real part is plotted against the imaginary part. Hence, the Cartesian coordinates of the complex number z are given by (a,b), see Figure 3. Im{z} 2.5 z = +i r.5 θ Re{z} Figure 3: An Argand diagram. The complex number z = + i has the Cartesian coordinates (,) when plotted on the complex, Re{z} Im{z}, plane; z is located at the point (r,θ) in polar coordinates, where r = 2 and θ = π/4. Complex numbers can also be represented by polar coordinates (r, θ), in the complex plane, where r = a 2 +b 2 is called the modulus of the complex number, z = r, and θ = tan(b/a) is called the argument of the complex number, argz = θ. Thus, a complex number can be written in many equivalent forms z = a+ib = rcosθ +irsinθ, Euler s formula states that and, hence, z = Re{z}+iIm{z} = z cosargz +i z sinargz. e iθ = cosθ+isinθ, z = rcosθ+irsinθ = r(cosθ+isinθ) = re iθ = z e iargz. We can use Euler s formula to represent trigonometric functions as the real or imaginary parts of complex exponentials, which can actually make calculations easier, particularly if there is lots of differentiation to be done. For example, sinx = Im{e ix } = Re{ ie ix } = Re{ie ix }, 2cos(2x)+7sin5x = Re{2e i2x 7ie i5x }.

6 .2 A very brief introduction to MATLAB MATLAB is an environment designed to facilitate scientific computing and visualisation, which is a fancy way of saying solving maths problems and looking at the answers Once MATLAB has been started 2, you should be presented with a command window that contains a command prompt: >> at which you can enter MATLAB commands. Once you have typed in your command pressing the return key (also known as enter) will run that command..2. MATLAB command-editing syntax You should keep a collection of your MATLAB work in a separate folder somewhere. You can create such a folder and make it your working directory from within MATLAB by the commands >> mkdir p:\matlab >> cd p:\matlab The above commands create the folder on your network P drive, but you might prefer to save your work on a USB stick. You can record all the commands that you type into MATLAB by issuing the command >> diary MyFile.txt which creates a text file called MyFile.txt in your working directory. You can then edit the file with your favourite text editor once you have finished the MATLAB session. Typing a semicolon (;) after a MATLAB command will suppress any output. It is a good idea not to use the semicolon too much when you first start working with MATLAB so that you can check that the commands are doing what you expect. If you want to type the same command again (or a very similar command) you can use the up arrow key to scroll through previous commands. When you have got to the command you want you can edit it by using the left and right arrow keys and the delete key. The command will not run until you press enter..2.2 Using MATLAB as a calculator MATLAB can do everything that your desktop calculator can do. The standard mathematical operations use the symbols + Add Subtract Multiply / Divide ^ Exponentiate (Raise to the power of) A lot of information about MATLAB is available online and in books; a good place to start is 2 The mechanism for starting MATLAB varies between operating systems, but on the university PCs you can find it from the Start menu via All Programs -> Site Licensed Programs -> Mathematical Applications.

7 For example >> 2*(3 + 7)/5-3 MATLAB also has the standard scientific functions (trigonometric, hyperbolic, exponential) and some more fancy functions (Bessel, Gamma, elliptic, etc). A list of elementary functions can be obtained by typing help elfun. >> sin(.5*pi) The above example shows that pi is a built-in constant and that trigonometric functions work in radians by default. Complete lists of functions can be found in the on-line help files. MATLAB can also work with complex numbers and i is another built-in constant. >> i*i - >> sqrt(i) i.2.3 Scalar variables (named storage) Computers work by storing and manipulating data (internally represented using binary numbers). If you wish to store your own data, for later use, you must tell MATLAB where to store it by giving it a name (just like using memory on a calculator or storing numbers in a phone by labelling them with a name). >> x = x = The above command creates a variable 3 x and assigns it the value. Once a variable has been created it can be used in subsequent commands and its value may change. >> x = 2*x + 3 x = 5 3 so-called from analogy with a mathematical variable

8 Note that the above statement is not a mathematical equation, if it were then the solution would be x= 3. InMATLAB, andalmost allother programming languages, theoperator=isanassignment operator. MATLAB evaluates the right-hand-side for the current value of x (= 2 +3 = 5) and then sets x to this new value. We can also create new variables from existing variables using any of the built-in mathematical functions >> y = 7*x y = 35 >> z = exp(x) z = IMPORTANT NOTE: The values of the variables y and z are determined from the value of x at the moment the return key is pressed. If, later in the session, the value of x changes, the values of y and z will not change unless you explicitly update them yourself. In other words, y and z are not functions of x. It is possible to define functions in MATLAB, see Vector and matrix variables MATLAB variables can be vectors or matrices rather than simple scalars. Matrix or vector data are defined by using square brackets [] and row ( n) and column (n ) vectors are specified differently. Entries in a row are separated by spaces (or commas), whereas entries in a column are separated by semi-colons. >> a = [ 2] a = 2 >> b = [; ; 2] b = 2 Access to a single component of a vector is via round brackets >> b(2)

9 If you try to access a component that doesn t exist you will get an error >> a(5)??? Index exceeds matrix dimensions. If you assign a value to a component that doesn t exist, that component will be created and all components in between will also be created and set to zero >> b(5) = b = 2 It is very easy to accidentally create new entries in vectors rather than overwriting existing entries so be careful. The same syntax is used to define matrices 4 >> A = [ ; 2 ; 3] A = 2 3 Basic arithmetic operations on matrices and vectors are easy to perform >> b + [3 ; 6; 9] 3 7 >> A*b 4 If you don t know what a matrix is, you should learn about them this semester in MATH22. For now, think of them as 2D vectors : a grid of numbers that is represented by two indices.

10 2 6 >> a*a 2 6 Note that the non-commutativity 5 of a matrix-vector product is implemented in MATLAB. Note also that the dimensions of the matrices and vectors must be consistent or there will be errors. For example, the commands A*a and b*a do not work. The division operator acting on matrices is rather special because the result requires the solution (or minimisation) of a linear system, see MATH22. The operation a/a returns the solution to the linear system xa = a and the operation A\b returns the solution to the linear system Ax = b. >> a/a >> ans*a >> A\b >> A*ans 2 5 For matrix-vector products Ax xa, in general, even after we turn the column vector x into a row vector by taking the transpose, x T.

11 It is also possible to perform element-by-element arithmetic by using the special dot operators.* and./ >> B = 2*ones(3) B = >> A./ B The built-in command ones(n) creates an n n matrix in which every entry has the value. A single entry of a matrix can be extracted using round brackets, just like vectors, but using two indices separated by a comma. >> A(,).5 >> A(3,2) = A(2,2) + A(3,3); >> A A = A range of entries of a matrix (or vector) can be extracted using round brackets combined with the colon : operator. On its own the colon represents the entire range of the index. Alternatively, lower and upper limits of the index can be specified on the left and right of the colon, respectively. >> A(:,).5

12 >> A(,:).5 >> A(:2,:2).5. Finally, the size command gives the dimensions of the matrix. >> size(a) Plotting All plotting packages use essentially the same idea: sample the function to be plotted at a discrete set of points and join the points by straight lines. MATLAB is no exception and the basic plot command requires two vectors that specify the x and y coordinates of the points to be plotted. The easiest way to generate the x coordinates is to create a set of equally-spaced points in a given range, which can be quickly achieved using the colon (:) notation. >> x = :.: x = Columns through Columns 9 through.8.9. The vector x contains points between and with a spacing of., generated by the command :.:. If you want to plot the function y = x 2, say, then you can create the y coordinates that correspond to each x value by the following command >> y = x.^2 y = Columns through 8

13 Columns 9 through The use of the special.^ command is used to perform element-by-element exponentiation 6. We now create the plot by >> plot(x,y) which should bring up the desired plot in a separate Figure window, see Figure4(a) (a) (b) Figure 4: MATLAB Figure window (a) after issuing the command plot(x,y) with x and y defined as in the text; (b) after issuing the subsequent commands hold on; plot(x,z, g ); with z defined as in the text. You can print out your figure by using the print command >> print but be careful not to waste paper by excessive printing. If you want to create an image file you can use the command >> print -djpeg fig.jpg which will create a JPEG image of your plot called fig.jpg in your working directly. For a complete list of possible graphics output formats see help print. You can also save your figures, create labels and customise your graphs by using the drop-down menus in the Figure window. If you want to add another line to your figure you can type 6 The MATLAB default for the ^ operator acting on vectors and matrices is to apply the matrix power function.

14 >> hold on which means that the Figure window will not be cleared. We can add the function e x to our figure >> z = exp(x); >> plot(x,z, g ); and the argument g causes the new line to be drawn in green, see Figure 4(b)..2.6 Programming The whole point of using computers is to avoid doing tedious and repetitive tasks by hand. The idea of programming is to give the computer a set of instructions so that it can do the tedious tasks for you. A programming language refers to such a set of easy(ish) to remember instructions. Loops Loops are the building blocks of (nearly) all computer programs. A loop causes a set of commands to be issued several times, but without our having to type all the commands. We can make a vector that contains the first ten square numbers by using a for loop. >> for i=: % Press enter now sq(i) = i*i; % Set the i-th entry of the vector sq to be i*i end >>sq sq = Anything after a percent (%) sign is a comment and is ignored by MATLAB, but is very useful to remind us what is going on in the program. The loop has an index (in this case we ve chosen to label it i) that ranges from to (In fact i takes the values contained in a vector consisting of the integers to specified using the colon notation.). You should press the enter button after the for command and then type the instruction(s) that you would like to take place within the loop. Once you have typed all the instructions, the loop is finished by typing the command end. If you like, you can see what is going on in each iteration of the loop if you remove the semicolon (;) from the command sq(i) = i*i. Conditional evaluation Another important component of programming is the use of conditional evaluation, or if else constructs. The idea is that you only want to perform certain tasks if a condition is true. >> a = -; >> if(a > ) % Test if a is positive fprintf( %g is positive\n,a); % Print the value of a else % Otherwise a is not positive fprintf( %g is zero or negative\n,a); % Print the value of a end % End of the if-else construct - is zero or negative >>

15 You should press the enter key after typing the if command. The instructions that you type next will be carried out if the condition is true. When you have specified all the instructions to be performed if the test is true then type else on a separate line. The set of commands that you type next will be carried out if the condition is not true and the entire structure is closed by the end command. In the above example, a is which is negative, so the else block is the block that is executed. The fprintf function is used to write instructions to the screen the special character %g is replaced by the value of the variable a and the special character \n prints a newline. The standard comparison operators that can be used in conditions are given by Functions > Greater than < Less than == Equal to >= Greater than or equal to <= Less than or equal to = Not equal to The combination of loops and conditional evaluation is the basis of all programming and allows you to do almost anything, but the program must still by typed in each time you want to use it. The final important element of programming is the use of functions in which we store a set of commands for future use. The easiest way to create your own functions is to type the command >> edit positive where positive is the name of the function that we are going to write. After pressing return you should obtain an editor window for a file called positive.m. All MATLAB functions must be saved in such M-files. It is extremely important that the name of the file is the same as the name of the function. Type the commands %Test whether a is positive if(a > ) fprintf( %g is positive\n,a); else fprintf( %g is zero or negative\n,a); end into the editor and save the file (Save in the File drop-down menu). We can now replay these commands by typing the command positive at the command prompt. >> a = ; >> positive is positive >> a = -5; >> positive -5 is zero or negative >>

16 Thefilepositive.m iscalledascript M-fileandisvery useful forrepeating longsetsofcommands, but what if we want to check whether a different variable (not a) is positive. We could copy that value into a and then type positive, but that is not a very elegant solution. Instead, we can turn our file into a full-blown MATLAB function. A function, like a mathematical function, takes input (arguments) and can return output. In the present context, the input to the function is the number that we wish to test for positivity and the output will be displayed on the screen. The M-file should be modified as follows function positive(a) %positive(a) %Determine whether the input variable a is positive or not if(a > ) fprintf( %g is positive\n,a); else fprintf( %g is zero or negative\n,a); end; The first statement in the file specifies that you are defining a function called positive that has a single input variable called a. The input variable is defined in round brackets () immediately after the function name. It is very important to realise that the variable a is now a local variable, which means that it is only defined within the function itself. Its value has nothing to do with the variable a that was defined in your main MATLAB command window. The next two lines are comments that explain what the function does. You can see these comments when you type help positive at the command prompt, so it s a good idea to make them informative so that other people can see how to use your function. Finally, the new function can be used by passing the input value between round brackets. >>a =5; >>positive() is positive >>positive(-) - is zero or negative >>positive(a) 5 is positive In the first use of function although the global variable a has the value 5, it is the value that is passed to the function. In the second use, the global variable a is passed to the function. Functions can return output data, specified before the name of the function with an equals sign. function y=positive(a) %positive(a) %Determine whether the input variable a is positive or not if(a > ) fprintf( %g is positive\n,a); y=; else fprintf( %g is zero or negative\n,a); y=-; end;

17 The function positive now sets a return value of if the input is positive or if the input is negative. >>positive() is positive The use of functions, loops and conditional statements is, essentially, all that is required to build programs to do almost anything. More information about programming is provided in the on-line MATLAB help files, in books and on the Internet. The best way to learn to program is by regular practice (and having a problem that you really want to solve). Computer problems will be provided each week on the example sheets. Please find the time to have a go at them.

18.02 Multivariable Calculus Fall 2007

18.02 Multivariable Calculus Fall 2007 MIT OpenCourseWare http://ocw.mit.edu 18.02 Multivariable Calculus Fall 2007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.02 Problem Set 4 Due Thursday

More information

1 Introduction to Matlab

1 Introduction to Matlab 1 Introduction to Matlab 1. What is Matlab? Matlab is a computer program designed to do mathematics. You might think of it as a super-calculator. That is, once Matlab has been started, you can enter computations,

More information

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors.

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors. 1 LECTURE 3 OUTLINES Variable names in MATLAB Examples Matrices, Vectors and Scalar Scalar Vectors Entering a vector Colon operator ( : ) Mathematical operations on vectors examples 2 VARIABLE NAMES IN

More information

Matlab Introduction. Scalar Variables and Arithmetic Operators

Matlab Introduction. Scalar Variables and Arithmetic Operators Matlab Introduction Matlab is both a powerful computational environment and a programming language that easily handles matrix and complex arithmetic. It is a large software package that has many advanced

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 3 Creating, Organising & Processing Data Dr Richard Greenaway 3 Creating, Organising & Processing Data In this Workshop the matrix type is introduced

More information

Surfaces and Partial Derivatives

Surfaces and Partial Derivatives Surfaces and James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 15, 2017 Outline 1 2 Tangent Planes Let s go back to our simple surface

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 2 Basic MATLAB Operation Dr Richard Greenaway 2 Basic MATLAB Operation 2.1 Overview 2.1.1 The Command Line In this Workshop you will learn how

More information

AQA GCSE Further Maths Topic Areas

AQA GCSE Further Maths Topic Areas AQA GCSE Further Maths Topic Areas This document covers all the specific areas of the AQA GCSE Further Maths course, your job is to review all the topic areas, answering the questions if you feel you need

More information

Introduction to MatLab. Introduction to MatLab K. Craig 1

Introduction to MatLab. Introduction to MatLab K. Craig 1 Introduction to MatLab Introduction to MatLab K. Craig 1 MatLab Introduction MatLab and the MatLab Environment Numerical Calculations Basic Plotting and Graphics Matrix Computations and Solving Equations

More information

Appendix A. Introduction to MATLAB. A.1 What Is MATLAB?

Appendix A. Introduction to MATLAB. A.1 What Is MATLAB? Appendix A Introduction to MATLAB A.1 What Is MATLAB? MATLAB is a technical computing environment developed by The Math- Works, Inc. for computation and data visualization. It is both an interactive system

More information

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System CHAPTER 1 INTRODUCTION Digital signal processing (DSP) technology has expanded at a rapid rate to include such diverse applications as CDs, DVDs, MP3 players, ipods, digital cameras, digital light processing

More information

Surfaces and Partial Derivatives

Surfaces and Partial Derivatives Surfaces and Partial Derivatives James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 9, 2016 Outline Partial Derivatives Tangent Planes

More information

MATLAB Tutorial III Variables, Files, Advanced Plotting

MATLAB Tutorial III Variables, Files, Advanced Plotting MATLAB Tutorial III Variables, Files, Advanced Plotting A. Dealing with Variables (Arrays and Matrices) Here's a short tutorial on working with variables, taken from the book, Getting Started in Matlab.

More information

To start using Matlab, you only need be concerned with the command window for now.

To start using Matlab, you only need be concerned with the command window for now. Getting Started Current folder window Atop the current folder window, you can see the address field which tells you where you are currently located. In programming, think of it as your current directory,

More information

2.0 MATLAB Fundamentals

2.0 MATLAB Fundamentals 2.0 MATLAB Fundamentals 2.1 INTRODUCTION MATLAB is a computer program for computing scientific and engineering problems that can be expressed in mathematical form. The name MATLAB stands for MATrix LABoratory,

More information

MATH (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab

MATH (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab MATH 495.3 (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab Below is a screen similar to what you should see when you open Matlab. The command window is the large box to the right containing the

More information

A very brief Matlab introduction

A very brief Matlab introduction A very brief Matlab introduction Siniša Krajnović January 24, 2006 This is a very brief introduction to Matlab and its purpose is only to introduce students of the CFD course into Matlab. After reading

More information

ECON 502 INTRODUCTION TO MATLAB Nov 9, 2007 TA: Murat Koyuncu

ECON 502 INTRODUCTION TO MATLAB Nov 9, 2007 TA: Murat Koyuncu ECON 502 INTRODUCTION TO MATLAB Nov 9, 2007 TA: Murat Koyuncu 0. What is MATLAB? 1 MATLAB stands for matrix laboratory and is one of the most popular software for numerical computation. MATLAB s basic

More information

AMS 27L LAB #2 Winter 2009

AMS 27L LAB #2 Winter 2009 AMS 27L LAB #2 Winter 2009 Plots and Matrix Algebra in MATLAB Objectives: 1. To practice basic display methods 2. To learn how to program loops 3. To learn how to write m-files 1 Vectors Matlab handles

More information

MAT 275 Laboratory 1 Introduction to MATLAB

MAT 275 Laboratory 1 Introduction to MATLAB MATLAB sessions: Laboratory 1 1 MAT 275 Laboratory 1 Introduction to MATLAB MATLAB is a computer software commonly used in both education and industry to solve a wide range of problems. This Laboratory

More information

Cecil Jones Academy Mathematics Fundamentals

Cecil Jones Academy Mathematics Fundamentals Year 10 Fundamentals Core Knowledge Unit 1 Unit 2 Estimate with powers and roots Calculate with powers and roots Explore the impact of rounding Investigate similar triangles Explore trigonometry in right-angled

More information

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier Calculus I Review Handout 1.3 Introduction to Calculus - Limits by Kevin M. Chevalier We are now going to dive into Calculus I as we take a look at the it process. While precalculus covered more static

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos, sin,

More information

Introduction to MATLAB Programming

Introduction to MATLAB Programming Introduction to MATLAB Programming Arun A. Balakrishnan Asst. Professor Dept. of AE&I, RSET Overview 1 Overview 2 Introduction 3 Getting Started 4 Basics of Programming Overview 1 Overview 2 Introduction

More information

ARRAY VARIABLES (ROW VECTORS)

ARRAY VARIABLES (ROW VECTORS) 11 ARRAY VARIABLES (ROW VECTORS) % Variables in addition to being singular valued can be set up as AN ARRAY of numbers. If we have an array variable as a row of numbers we call it a ROW VECTOR. You can

More information

Dynamics and Vibrations Mupad tutorial

Dynamics and Vibrations Mupad tutorial Dynamics and Vibrations Mupad tutorial School of Engineering Brown University ENGN40 will be using Matlab Live Scripts instead of Mupad. You can find information about Live Scripts in the ENGN40 MATLAB

More information

A Guide to Using Some Basic MATLAB Functions

A Guide to Using Some Basic MATLAB Functions A Guide to Using Some Basic MATLAB Functions UNC Charlotte Robert W. Cox This document provides a brief overview of some of the essential MATLAB functionality. More thorough descriptions are available

More information

LAB 1 General MATLAB Information 1

LAB 1 General MATLAB Information 1 LAB 1 General MATLAB Information 1 General: To enter a matrix: > type the entries between square brackets, [...] > enter it by rows with elements separated by a space or comma > rows are terminated by

More information

Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming usin

Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming usin Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming using familiar mathematical notation The name Matlab stands

More information

Basic stuff -- assignments, arithmetic and functions

Basic stuff -- assignments, arithmetic and functions Basic stuff -- assignments, arithmetic and functions Most of the time, you will be using Maple as a kind of super-calculator. It is possible to write programs in Maple -- we will do this very occasionally,

More information

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z Basic Linear Algebra Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ 1 5 ] 7 9 3 11 Often matrices are used to describe in a simpler way a series of linear equations.

More information

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

Functions and Graphs. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Functions and Graphs The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996. Launch Mathematica. Type

More information

Computer Project: Getting Started with MATLAB

Computer Project: Getting Started with MATLAB Computer Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands. Examples here can be useful for reference later. MATLAB functions: [ ] : ; + - *

More information

Math 7 Elementary Linear Algebra PLOTS and ROTATIONS

Math 7 Elementary Linear Algebra PLOTS and ROTATIONS Spring 2007 PLOTTING LINE SEGMENTS Math 7 Elementary Linear Algebra PLOTS and ROTATIONS Example 1: Suppose you wish to use MatLab to plot a line segment connecting two points in the xy-plane. Recall that

More information

Matlab Tutorial 1: Working with variables, arrays, and plotting

Matlab Tutorial 1: Working with variables, arrays, and plotting Matlab Tutorial 1: Working with variables, arrays, and plotting Setting up Matlab First of all, let's make sure we all have the same layout of the different windows in Matlab. Go to Home Layout Default.

More information

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain Introduction to Matlab By: Dr. Maher O. EL-Ghossain Outline: q What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display Facilities Flow Control

More information

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation

More information

MEI GeoGebra Tasks for A2 Core

MEI GeoGebra Tasks for A2 Core Task 1: Functions The Modulus Function 1. Plot the graph of y = x : use y = x or y = abs(x) 2. Plot the graph of y = ax+b : use y = ax + b or y = abs(ax+b) If prompted click Create Sliders. What combination

More information

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1 Solving equations and inequalities graphically and algebraically 1. Plot points on the Cartesian coordinate plane. P.1 2. Represent data graphically using scatter plots, bar graphs, & line graphs. P.1

More information

Objectives. 1 Running, and Interface Layout. 2 Toolboxes, Documentation and Tutorials. 3 Basic Calculations. PS 12a Laboratory 1 Spring 2014

Objectives. 1 Running, and Interface Layout. 2 Toolboxes, Documentation and Tutorials. 3 Basic Calculations. PS 12a Laboratory 1 Spring 2014 PS 12a Laboratory 1 Spring 2014 Objectives This session is a tutorial designed to a very quick overview of some of the numerical skills that you ll need to get started. Throughout the tutorial, the instructors

More information

Continuity and Tangent Lines for functions of two variables

Continuity and Tangent Lines for functions of two variables Continuity and Tangent Lines for functions of two variables James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 4, 2014 Outline 1 Continuity

More information

MATLAB Project: Getting Started with MATLAB

MATLAB Project: Getting Started with MATLAB Name Purpose: To learn to create matrices and use various MATLAB commands for reference later MATLAB built-in functions used: [ ] : ; + - * ^, size, help, format, eye, zeros, ones, diag, rand, round, cos,

More information

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window. EE 350L: Signals and Transforms Lab Spring 2007 Lab #1 - Introduction to MATLAB Lab Handout Matlab Software: Matlab will be the analytical tool used in the signals lab. The laboratory has network licenses

More information

MATLAB SUMMARY FOR MATH2070/2970

MATLAB SUMMARY FOR MATH2070/2970 MATLAB SUMMARY FOR MATH2070/2970 DUNCAN SUTHERLAND 1. Introduction The following is inted as a guide containing all relevant Matlab commands and concepts for MATH2070 and 2970. All code fragments should

More information

A General Introduction to Matlab

A General Introduction to Matlab Master Degree Course in ELECTRONICS ENGINEERING http://www.dii.unimore.it/~lbiagiotti/systemscontroltheory.html A General Introduction to Matlab e-mail: luigi.biagiotti@unimore.it http://www.dii.unimore.it/~lbiagiotti

More information

Mathematical Operations with Arrays and Matrices

Mathematical Operations with Arrays and Matrices Mathematical Operations with Arrays and Matrices Array Operators (element-by-element) (important) + Addition A+B adds B and A - Subtraction A-B subtracts B from A.* Element-wise multiplication.^ Element-wise

More information

Chapter 1 Introduction to MATLAB

Chapter 1 Introduction to MATLAB Chapter 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB = MATrix LABoratory, the language of technical computing, modeling and simulation, data analysis and processing, visualization and graphics,

More information

ELEN E3084: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals

ELEN E3084: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals ELEN E384: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals 1 Introduction In the last lab you learn the basics of MATLAB, and had a brief introduction on how vectors

More information

Mastery. PRECALCULUS Student Learning Targets

Mastery. PRECALCULUS Student Learning Targets PRECALCULUS Student Learning Targets Big Idea: Sequences and Series 1. I can describe a sequence as a function where the domain is the set of natural numbers. Connections (Pictures, Vocabulary, Definitions,

More information

,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with

,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with Addison-Wesley s Graphing Calculator Reference Card Created in conjuction with Basics Converting Fractions to Decimals The calculator will automatically convert a fraction to a decimal. Type in a fraction,

More information

McTutorial: A MATLAB Tutorial

McTutorial: A MATLAB Tutorial McGill University School of Computer Science Sable Research Group McTutorial: A MATLAB Tutorial Lei Lopez Last updated: August 2014 w w w. s a b l e. m c g i l l. c a Contents 1 MATLAB BASICS 3 1.1 MATLAB

More information

Graphics and Interaction Transformation geometry and homogeneous coordinates

Graphics and Interaction Transformation geometry and homogeneous coordinates 433-324 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation

More information

HERIOT-WATT UNIVERSITY DEPARTMENT OF COMPUTING AND ELECTRICAL ENGINEERING. B35SD2 Matlab tutorial 1 MATLAB BASICS

HERIOT-WATT UNIVERSITY DEPARTMENT OF COMPUTING AND ELECTRICAL ENGINEERING. B35SD2 Matlab tutorial 1 MATLAB BASICS HERIOT-WATT UNIVERSITY DEPARTMENT OF COMPUTING AND ELECTRICAL ENGINEERING Objectives: B35SD2 Matlab tutorial 1 MATLAB BASICS Matlab is a very powerful, high level language, It is also very easy to use.

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB Introduction MATLAB is an interactive package for numerical analysis, matrix computation, control system design, and linear system analysis and design available on most CAEN platforms

More information

MATLAB COURSE FALL 2004 SESSION 1 GETTING STARTED. Christian Daude 1

MATLAB COURSE FALL 2004 SESSION 1 GETTING STARTED. Christian Daude 1 MATLAB COURSE FALL 2004 SESSION 1 GETTING STARTED Christian Daude 1 Introduction MATLAB is a software package designed to handle a broad range of mathematical needs one may encounter when doing scientific

More information

Matlab Tutorial. The value assigned to a variable can be checked by simply typing in the variable name:

Matlab Tutorial. The value assigned to a variable can be checked by simply typing in the variable name: 1 Matlab Tutorial 1- What is Matlab? Matlab is a powerful tool for almost any kind of mathematical application. It enables one to develop programs with a high degree of functionality. The user can write

More information

Introduction to MATLAB 7 for Engineers

Introduction to MATLAB 7 for Engineers PowerPoint to accompany Introduction to MATLAB 7 for Engineers William J. Palm III Chapter 2 Numeric, Cell, and Structure Arrays Copyright 2005. The McGraw-Hill Companies, Inc. Permission required for

More information

MEI GeoGebra Tasks for AS Pure

MEI GeoGebra Tasks for AS Pure Task 1: Coordinate Geometry Intersection of a line and a curve 1. Add a quadratic curve, e.g. y = x 2 4x + 1 2. Add a line, e.g. y = x 3 3. Use the Intersect tool to find the points of intersection of

More information

Chapter 1: Number and Operations

Chapter 1: Number and Operations Chapter 1: Number and Operations 1.1 Order of operations When simplifying algebraic expressions we use the following order: 1. Perform operations within a parenthesis. 2. Evaluate exponents. 3. Multiply

More information

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB?

Experiment 1: Introduction to MATLAB I. Introduction. 1.1 Objectives and Expectations: 1.2 What is MATLAB? Experiment 1: Introduction to MATLAB I Introduction MATLAB, which stands for Matrix Laboratory, is a very powerful program for performing numerical and symbolic calculations, and is widely used in science

More information

The TI-83 and TI-83 Plus graphics calculators are loaded with

The TI-83 and TI-83 Plus graphics calculators are loaded with 04 549707 Ch01.qxd 11/13/03 8:51 AM Page 9 Chapter 1 Coping with the Basics In This Chapter Turning the calculator on and off Using the keyboard Using the menus Setting the mode of the calculator Using

More information

Therefore, after becoming familiar with the Matrix Method, you will be able to solve a system of two linear equations in four different ways.

Therefore, after becoming familiar with the Matrix Method, you will be able to solve a system of two linear equations in four different ways. Grade 9 IGCSE A1: Chapter 9 Matrices and Transformations Materials Needed: Straightedge, Graph Paper Exercise 1: Matrix Operations Matrices are used in Linear Algebra to solve systems of linear equations.

More information

Introduction. Matlab for Psychologists. Overview. Coding v. button clicking. Hello, nice to meet you. Variables

Introduction. Matlab for Psychologists. Overview. Coding v. button clicking. Hello, nice to meet you. Variables Introduction Matlab for Psychologists Matlab is a language Simple rules for grammar Learn by using them There are many different ways to do each task Don t start from scratch - build on what other people

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab The purpose of this intro is to show some of Matlab s basic capabilities. Nir Gavish, 2.07 Contents Getting help Matlab development enviroment Variable definitions Mathematical operations

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Andreas C. Kapourani (Credit: Steve Renals & Iain Murray) 9 January 08 Introduction MATLAB is a programming language that grew out of the need to process matrices. It is used extensively

More information

Chapter 2. MATLAB Fundamentals

Chapter 2. MATLAB Fundamentals Chapter 2. MATLAB Fundamentals Choi Hae Jin Chapter Objectives q Learning how real and complex numbers are assigned to variables. q Learning how vectors and matrices are assigned values using simple assignment,

More information

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows)

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows) The Bisection Method versus (Classic Version for Windows) Author: Barbara Forrest Contact: baforres@uwaterloo.ca Copyrighted/NOT FOR RESALE version 1.1 Contents 1 Objectives for this Lab i 2 Approximate

More information

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx 1 of 9 FreeMat Tutorial FreeMat is a general purpose matrix calculator. It allows you to enter matrices and then perform operations on them in the same way you would write the operations on paper. This

More information

Basics of Computational Geometry

Basics of Computational Geometry Basics of Computational Geometry Nadeem Mohsin October 12, 2013 1 Contents This handout covers the basic concepts of computational geometry. Rather than exhaustively covering all the algorithms, it deals

More information

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120 Whitman-Hanson Regional High School provides all students with a high- quality education in order to develop reflective, concerned citizens and contributing members of the global community. Course Number

More information

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans =

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans = Very Basic MATLAB Peter J. Olver January, 2009 Matrices: Type your matrix as follows: Use space or, to separate entries, and ; or return after each row. >> [;5 0-3 6;; - 5 ] or >> [,5,6,-9;5,0,-3,6;7,8,5,0;-,,5,]

More information

Constraint-based Metabolic Reconstructions & Analysis H. Scott Hinton. Matlab Tutorial. Lesson: Matlab Tutorial

Constraint-based Metabolic Reconstructions & Analysis H. Scott Hinton. Matlab Tutorial. Lesson: Matlab Tutorial 1 Matlab Tutorial 2 Lecture Learning Objectives Each student should be able to: Describe the Matlab desktop Explain the basic use of Matlab variables Explain the basic use of Matlab scripts Explain the

More information

Math Analysis Chapter 1 Notes: Functions and Graphs

Math Analysis Chapter 1 Notes: Functions and Graphs Math Analysis Chapter 1 Notes: Functions and Graphs Day 6: Section 1-1 Graphs Points and Ordered Pairs The Rectangular Coordinate System (aka: The Cartesian coordinate system) Practice: Label each on the

More information

Getting To Know Matlab

Getting To Know Matlab Getting To Know Matlab The following worksheets will introduce Matlab to the new user. Please, be sure you really know each step of the lab you performed, even if you are asking a friend who has a better

More information

Introduction to Matlab

Introduction to Matlab What is Matlab? Introduction to Matlab Matlab is software written by a company called The Mathworks (mathworks.com), and was first created in 1984 to be a nice front end to the numerical routines created

More information

Introduction to Engineering gii

Introduction to Engineering gii 25.108 Introduction to Engineering gii Dr. Jay Weitzen Lecture Notes I: Introduction to Matlab from Gilat Book MATLAB - Lecture # 1 Starting with MATLAB / Chapter 1 Topics Covered: 1. Introduction. 2.

More information

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12 Tool 1: Standards for Mathematical ent: Interpreting Functions CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12 Name of Reviewer School/District Date Name of Curriculum Materials:

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB Basics MATLAB is a high-level interpreted language, and uses a read-evaluate-print loop: it reads your command, evaluates it, then prints the answer. This means it works a lot like

More information

AMS 27L LAB #1 Winter 2009

AMS 27L LAB #1 Winter 2009 AMS 27L LAB #1 Winter 2009 Introduction to MATLAB Objectives: 1. To introduce the use of the MATLAB software package 2. To learn elementary mathematics in MATLAB Getting Started: Log onto your machine

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Kristian Sandberg Department of Applied Mathematics University of Colorado Goal The goal with this worksheet is to give a brief introduction to the mathematical software Matlab.

More information

ECE 3793 Matlab Project 1

ECE 3793 Matlab Project 1 ECE 3793 Matlab Project 1 Spring 2017 Dr. Havlicek DUE: 02/04/2017, 11:59 PM Introduction: You will need to use Matlab to complete this assignment. So the first thing you need to do is figure out how you

More information

4 Visualization and. Approximation

4 Visualization and. Approximation 4 Visualization and Approximation b A slope field for the differential equation y tan(x + y) tan(x) tan(y). It is not always possible to write down an explicit formula for the solution to a differential

More information

MATLAB QUICK START TUTORIAL

MATLAB QUICK START TUTORIAL MATLAB QUICK START TUTORIAL This tutorial is a brief introduction to MATLAB which is considered one of the most powerful languages of technical computing. In the following sections, the basic knowledge

More information

EEE161 Applied Electromagnetics Laboratory 1

EEE161 Applied Electromagnetics Laboratory 1 EEE161 Applied Electromagnetics Laboratory 1 Instructor: Dr. Milica Marković Office: Riverside Hall 3028 Email: milica@csus.edu Web:http://gaia.ecs.csus.edu/ milica This laboratory exercise will introduce

More information

Cambridge IGCSE mapping

Cambridge IGCSE mapping Cambridge IGCSE mapping Specification point Boardworks presentation 1. Number, set notation and language Identify and use natural numbers, integers (positive, negative and zero), prime numbers, square

More information

Chapter 1. Math review. 1.1 Some sets

Chapter 1. Math review. 1.1 Some sets Chapter 1 Math review This book assumes that you understood precalculus when you took it. So you used to know how to do things like factoring polynomials, solving high school geometry problems, using trigonometric

More information

Here is a quick introduction to Matlab and a couple of its symbolic and control functions.

Here is a quick introduction to Matlab and a couple of its symbolic and control functions. Some Matlab 1 Here is a quick introduction to Matlab and a couple of its symbolic and control functions. Matlab is an interpreted language. When you enter a command in the Command window, the line is executed

More information

MAT 003 Brian Killough s Instructor Notes Saint Leo University

MAT 003 Brian Killough s Instructor Notes Saint Leo University MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample

More information

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s.

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Using Monte Carlo to Estimate π using Buffon s Needle Problem An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Here s the problem (in a simplified form). Suppose

More information

MAT 343 Laboratory 1 Matrix and Vector Computations in MATLAB

MAT 343 Laboratory 1 Matrix and Vector Computations in MATLAB MAT 343 Laboratory 1 Matrix and Vector Computations in MATLAB MATLAB is a computer software commonly used in both education and industry to solve a wide range of problems. This Laboratory provides a brief

More information

Visualizing Images. Lecture 2: Intensity Surfaces and Gradients. Images as Surfaces. Bridging the Gap. Examples. Examples

Visualizing Images. Lecture 2: Intensity Surfaces and Gradients. Images as Surfaces. Bridging the Gap. Examples. Examples Visualizing Images Recall two ways of visualizing an image Lecture : Intensity Surfaces and Gradients Intensity pattern d array of numbers We see it at this level Computer works at this level Bridging

More information

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A Columbus State Community College Mathematics Department Public Syllabus Course and Number: MATH 1172 Engineering Mathematics A CREDITS: 5 CLASS HOURS PER WEEK: 5 PREREQUISITES: MATH 1151 with a C or higher

More information

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3.

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3. MATLAB Introduction Accessing Matlab... Matlab Interface... The Basics... 2 Variable Definition and Statement Suppression... 2 Keyboard Shortcuts... More Common Functions... 4 Vectors and Matrices... 4

More information

Computer Vision. Matlab

Computer Vision. Matlab Computer Vision Matlab A good choice for vision program development because Easy to do very rapid prototyping Quick to learn, and good documentation A good library of image processing functions Excellent

More information

Starting MATLAB To logon onto a Temple workstation at the Tech Center, follow the directions below.

Starting MATLAB To logon onto a Temple workstation at the Tech Center, follow the directions below. What is MATLAB? MATLAB (short for MATrix LABoratory) is a language for technical computing, developed by The Mathworks, Inc. (A matrix is a rectangular array or table of usually numerical values.) MATLAB

More information

Introduction to MATLAB for Engineers, Third Edition

Introduction to MATLAB for Engineers, Third Edition PowerPoint to accompany Introduction to MATLAB for Engineers, Third Edition William J. Palm III Chapter 2 Numeric, Cell, and Structure Arrays Copyright 2010. The McGraw-Hill Companies, Inc. This work is

More information

Eric W. Hansen. The basic data type is a matrix This is the basic paradigm for computation with MATLAB, and the key to its power. Here s an example:

Eric W. Hansen. The basic data type is a matrix This is the basic paradigm for computation with MATLAB, and the key to its power. Here s an example: Using MATLAB for Stochastic Simulation. Eric W. Hansen. Matlab Basics Introduction MATLAB (MATrix LABoratory) is a software package designed for efficient, reliable numerical computing. Using MATLAB greatly

More information

Lab 1 Intro to MATLAB and FreeMat

Lab 1 Intro to MATLAB and FreeMat Lab 1 Intro to MATLAB and FreeMat Objectives concepts 1. Variables, vectors, and arrays 2. Plotting data 3. Script files skills 1. Use MATLAB to solve homework problems 2. Plot lab data and mathematical

More information

CALCULUS MADE EASY - FUNCTIONALITY for the TiNspire CAS

CALCULUS MADE EASY - FUNCTIONALITY for the TiNspire CAS CALCULUS MADE EASY - FUNCTIONALITY for the TiNspire CAS www.tinspireapps.com Functions READ: Linear Functions Find Slope Find y=mx+b All-in-one-Function Explorer Evaluate Function Find Domain of f(x) Find

More information

b) develop mathematical thinking and problem solving ability.

b) develop mathematical thinking and problem solving ability. Submission for Pre-Calculus MATH 20095 1. Course s instructional goals and objectives: The purpose of this course is to a) develop conceptual understanding and fluency with algebraic and transcendental

More information