Technical Computing 6

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Technical Computing 6 as PDF for free.

More details

  • Words: 139
  • Pages: 24
Technical Computing

Qasim Habib

Today’s Content 1. Polynomial Operations 2. Built-in MATLAB Functions 3. Expressing Function Arguments 4. User-Defined Functions 5. Local & Global Variables

2

Polynomial Multiplication & Division

3

Examples

4

Polynomial Roots

5

Polynomial Coefficients

6

Plotting Polynomials

7

8

Some common Mathematical functions

9

Expressing Function Arguments

10

11

Radians & Degrees

12

Trigonometric and inverse trigonometric functions

13

User-Defined Functions

14

Example

15

Calling function “fun”

16

17

18

Multiple outputs

19

Examples of Function Definition Lines

20

Local Variables

21

Global Variables

22

Task #10 • Solve – Example 3.2-1 – Question 9 (Pg178) – Question 10 (Pg178) – Question 11 (Pg178) – Question 14 (Pg179)

23

Reference This lecture is from pg 107-112 & 141-155 of your main MATLAB book

INTRODUCTION TO MATLAB 7 FOR ENGINEERS by WILLIAM J. PALM III

24

Related Documents

Technical Computing 6
June 2020 2
Computing Revision 6
November 2019 2
Technical Note 6
June 2020 5
Computing
October 2019 42