Plotting in MATLAB. Trevor Spiteri

Size: px
Start display at page:

Download "Plotting in MATLAB. Trevor Spiteri"

Transcription

1 Functions and Special Department of Communications and Computer Engineering Faculty of Information and Communication Technology University of Malta 29 February, 2008

2 Functions and Special Outline Multiple Interacting with Functions and Plotting Functions Function Discovery Special Different 3-D

3 Functions and Special Multiple Interacting with Outline Multiple Interacting with Functions and Plotting Functions Function Discovery Special Different 3-D

4 Functions and Special Multiple Interacting with The elements of a plot Plot title Legend Height of a Falling Object Versus Time Model Measurement 400 Data symbol Axis label Height (m) Grid Tick-mark label Tick mark Time (s)

5 Functions and Special Multiple Interacting with The elements of a plot explained The scale is the range and spacing of the numbers. The most-used scale is the rectilinear scale, also known as the linear scale. Another kind of scale is the logarithmic scale. Tick marks are placed on the axis to help visualize the numbers. A function is always plotted as a line, with no data symbols. When plotting data, data symbols are used, except if they are too dense. When plotting more than one curve, they must be distinguished. This distinction can be made using a legend or labels.

6 Functions and Special Multiple Interacting with A correct plot Each axis must be labelled with the name and its units. Each axis should have regularly spaced tick marks. These should not be too sparse or too dense. When plotting data points, use a data symbol such as a circle. If there are many symbols, use a dot. When plotting points generated by using a function, data symbols should not be used.

7 Functions and Special Multiple Interacting with Plotting x-y data To plot x data against y data, type: >> plot(x, y) To change the line specification, type: >> plot(x, y, s) s contains the line style specifier, the marker specifier, and/or the colour specifier. For example, for a solid line, a plus data marker, and the red colour, the specifier would be '- + r'

8 Functions and Special Multiple Interacting with Line specification string syntax Line styles Markers Colours Solid line - Plus sign (+) + Red r Dashed line -- Circle ( ) o Green g Dotted line : Asterisk ( ) * Blue b Dash-dot line -. Point ( ). Cyan c Cross ( ) x Magenta m Square ( ) s Yellow y Diamond ( ) d Black k Upward triangle ( ) ^ White w Downward triangle ( ) v Right triangle ( ) > Left triangle ( ) < Five-pointed star p Six-pointed star h

9 Functions and Special Multiple Interacting with Labels, titles, and grids The xlabel function sets the label for the x-axis. The ylabel function sets the label for the y-axis. The title function sets the plot title. The grid on command displays the grid. The grid off command hides the grid.

10 Functions and Special Multiple Interacting with function sets the axis of the plot. To make the plot a square, type: >> axis square To make the x-axis and y-axis have the same scale, type: >> axis equal To set the x-axis in the range x1 x2 and the y-axis in the range y1 y2, type: >> axis([x1 x2 y1 y2]) To return to automatic axis, type: >> axis auto

11 Functions and Special Multiple Interacting with Scales The most commonly-used scale is the rectilinear scale, also known as the linear scale. The plot command uses the linear scale. The loglog command is the same as the plot command, except that logarithmic scales are used for both the x-axis and the y-axis. The semilogx command is the same as the plot command, except that a logarithmic scale is used on the x-axis. The semilogy command is the same as the plot command, except that a logarithmic scale is used on the y-axis.

12 Functions and Special Multiple Interacting with More than one line on the same axis To plot more than one line on the same axis, one way is to type: >> plot(x1, y1, s1, x2, y2, s2,...) Another way is to use the hold command. >> plot(x1, y1, s1) >> hold on >> plot(x2, y2, s2)... >> hold off If x and y are matrices, to plot the columns of y against the columns of x, type: >> plot(x, y)

13 Functions and Special Multiple Interacting with The legend The legend can be used to distinguish between different lines. To display a legend, use the legend command. >> legend(string 1, string 2,...) The specified strings will be used as labels. The default legend location is the top right corner. To change the location of the legend: >> legend(string 1,..., 'location', specifier) The specifier for a location inside the axis can be 'North', 'NorthEast', 'East', and so on. The default location is 'NorthEast'. The specifier for a location outside the axis can be 'NorthOutside', 'NorthEastOutside', and so on. For MATLAB to choose a place automatically, the specifier can be 'Best' or 'BestOutside'.

14 Functions and Special Multiple Interacting with Text labels Another way to distinguish between lines is to label them. To write labels, use the text command: >> text(x, y, 'string') The specified string will be placed at the given coordinates. To place a label using the mouse, use the gtext command: >> gtext('string') Then click on the figure for the label to be displayed.

15 Functions and Special Multiple Interacting with More than one figure You can have more than one figure window. The figure command creates a new figure window. The close command closes the current figure window. The close all command closes all the figure windows. To have more than one plot in the same figure window, use the subplot command. >> subplot(m, n, p) The figure is split into an m by n matrix of panes. The p parameter specifies on which pane subsequent commands will work.

16 Functions and Special Multiple Interacting with Saving and exporting figures To save a plot, use the saveas command: >> saveas(handle, filename) >> saveas(handle, filename, format) The handle refers to a particular figure. The gcf function returns the handle of the current figure. The data can be saved to different formats, e.g., 'pdf'. If the format is not included, it is deduced from the extension of the filename. Some common formats are 'fig' for a MATLAB figure, 'bmp', 'jpg', and 'pdf'. To save the current figure as a MATLAB figure, type: >> saveas(gcf, 'filename.fig')

17 Functions and Special Multiple Interacting with The plot user interface Apart from the command interface, plots can be manipulated using the user interface (UI). Editing labels is easy using the UI. The UI makes it possible to insert other items onto a plot, including rectangles, ellipses, text labels, and arrows. Colours, fonts, and styles can be changed using the UI. Figures can be saved and exported from the UI.

18 Functions and Special Plotting Functions Function Discovery Outline Multiple Interacting with Functions and Plotting Functions Function Discovery Special Different 3-D

19 Functions and Special Plotting Functions Function Discovery Plotting functions Suppose you want to plot the function: y = cos(tan(x)) tan(sin(x)) for x [1,2] This can be done using: >> x = 1 : 0.01 : 2; >> y = cos(tan(x)) - tan(sin(x)); >> plot(x, y) A better way is to use the fplot command. >> fun = 'cos(tan(x)) - tan(sin(x))'; >> fplot(fun, [1 2]) fplot automatically chooses the point spacing. The function can be defined as a string, as above. The function parameter can also be a function handle. For example, to plot sin(x), type: >> fplot(@sin, [-pi pi])

20 Functions and Special Plotting Functions Function Discovery Plotting polynomials Suppose you want to plot the polynomial: y = x 5 25x x x 10 for x [ 5,5] To do this, use the polyval function: >> p = [ ]; >> x = -5 : 0.01 : 5; >> y = polyval(p, x); >> plot(x, y)

21 Functions and Special Plotting Functions Function Discovery Discovering a function Function discovery is the process of finding a function that can describe a set of data. Some functions can be discovered by trying to draw the function as a straight line. To discover these function, try each of the scales; plot(x, y), loglog(x, y), and so on. Table : Functions that can be plotted as stright lines Kind of function Form Straight-line plot Linear y(x) = mx + b plot(x, y) Power y(x) = bx m loglog(x, y) Exponential y(x) = be mx semilogy(x, y) Logarithmic y(x) = m ln(x) + b semilogx(x, y)

22 Functions and Special Plotting Functions Function Discovery Regression analysis Suppose we control x, an independent variable, and we measure y, a dependent variable. y is a random variable because of observational errors. The least squares method is commonly used to find the best-fit model. If we have k data points for a linear function y = mx + b, the least square method minimizess the error J given by: k J = (mx i + b y i ) 2 i=1 The polyfit(x, y, n) function finds the coefficients of an n-degree polynomial that fits the data best in a least-squares sense.

23 Functions and Special Plotting Functions Function Discovery Finding the coefficients of a linear function Once we get a straight line, we know the function type. Interpolating values on logarithmic scales is difficult. To find the coefficients b and m, we use the linear scale. The polyfit function helps us to find the coefficients. If we get a straight line using the plot command, we have a linear function. A linear function is of the form: y = mx + b To find the polynomial coefficients of a linear function, type: >> p = polyfit(x, y, 1) m is p(1) and b is p(2).

24 Functions and Special Plotting Functions Function Discovery Finding the coefficients of a power function If we get a straight line using the loglog command, we have a power function. A power function is of the form: y = bx m Taking logs: ln(y) = mln(x) + ln(b) This has the form of a first-degree polynomial. To find the coefficients, we type: >> p = polyfit(log(x), log(y), 1) m is p(1) and ln(b) is p(2), that is, b is exp(p(2)).

25 Functions and Special Plotting Functions Function Discovery Finding the coefficients of an exponential function If we get a straight line using the semilogy command, we have an exponential function. An exponential function is of the form: y = be mx Taking logs: ln(y) = mx + ln(b) This has the form of a first-degree polynomial. To find the coefficients, we type: >> p = polyfit(x, log(y), 1) m is p(1) and ln(b) is p(2), that is, b is exp(p(2)).

26 Functions and Special Plotting Functions Function Discovery Finding the coefficients of a logarithmic function If we get a straight line using the semilogx command, we have a logarithmic function. A logarithmic function is of the form: y = mlnx + b This has the form of a first-degree polynomial. To find the coefficients, we type: >> p = polyfit(log(x), y, 1) m is p(1) and b is p(2).

27 Functions and Special Plotting Functions Function Discovery Interpolation and extrapolation Once a function is discovered from the data, it can be used to predict conditions within the range of the data. This is called interpolation. The function can also be used to predict conditions that lie outside the range of the data. This is called extrapolation. Extrapolation assumes that the mathematical model remains the same beyond the data range.

28 Functions and Special Different 3-D Outline Multiple Interacting with Functions and Plotting Functions Function Discovery Special Different 3-D

29 Functions and Special Different 3-D Plotting complex numbers The plot(x, y) command plots values of y against values of x. The plot(y) command usually plots values of y against their indices, that is, against [ ]. But when y contains complex values, plot(y) plots the imaginary parts against the real parts. This can also be written explicitly as: >> plot(real(y), imag(y)) This is the only condition in which imaginary parts of numbers are not ignored by the plot command.

30 Functions and Special Different 3-D Plotting polar plots Polar plots are 2-D plots made using polar coordinates. Polar coordinates are of the form (θ,r). θ is the angular coordinate of a point in radians. r is the radial coordinate of a point. To plot values of θ and r, type: >> polar(theta, r) To specify the line style, type: >> polar(theta, r, s) You can convert polar coordinates to rectangular (Cartesian) coordinates: >> [x, y] = pol2cart(theta, r) You can also convert rectangular coordinates to polar coordinates: >> [theta, r] = cart2pol(x, y)

31 Functions and Special Different 3-D Other plots stem(x, y) plots the data as stems from the x-axis terminating in a marker. stairs(x, y) draws a stairstep graph through the specified points. bar(x, y) draws a bar graph of the specified values. scatter(x, y, areas) draws markers at the specified locations. The area of each marker can be specified. plotyy(x1, y1, x2, y2) produces two y-axis labels. The y-axis label on the left is used to plot y 1 against x 1, and the y-axis label on the right to plot y 2 against x 2. plotyy(x1, y1, x2, y2, fun1, fun2) lets you specify the plotting functions. To plot y 1 against x 1 using plot and y 2 against x 2 using stem, type: >> plotyy(x1, y1,

32 Functions and Special Different 3-D 3-D line plots To plot a function that varies in x, y, and z, use the plot3 command. Suppose we have a parametric function: x = e 0.07t cost y = e 0.07t sint z = t To plot this function for t [0,10π]: >> t = 0 : 0.01 : 10*pi; >> x = exp(-0.07 * t).* cos(t); >> y = exp(-0.07 * t).* sin(t); >> z = t; >> plot3(x, y, z)

33 Functions and Special Different 3-D Meshes and surface plots Suppose we have a function of two variables, z = cos(xy). We want to plot this function for x [ 3,3] and y [0,6]. To generate values of x and y, we use the meshgrid function: >> [x y] = meshgrid(-3:0.1:3, 0:0.1:6); Then calculate z: >> z = cos(x.* y); Then plot using the mesh command: >> mesh(x, y, z) To draw a surface instead of a mesh: >> surf(x, y, z) Selecting a proper spacing (0.1 in our example) is important.

34 Functions and Special Different 3-D Contours Topographic plots show contour lines instead of a surface. To create a contour plot, type: >> contour(x, y, z) You can draw a mesh and a contour on the same axis using: >> meshc(x, y, z) You can draw a surface and a contour on the same axis using: >> surfc(x, y, z)

Chapter 5 Advanced Plotting and Model Building

Chapter 5 Advanced Plotting and Model Building PowerPoint to accompany Introduction to MATLAB 7 for Engineers Chapter 5 Advanced Plotting and Model Building Copyright 2005. The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

More information

Making 2D Plots in Matlab

Making 2D Plots in Matlab Making 2D Plots in Matlab Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Plotting with Matlab Overview Plotting in Matlab Plotting (x, y) data

More information

Chapter 5 Advanced Plotting

Chapter 5 Advanced Plotting PowerPoint to accompany Introduction to MATLAB for Engineers, Third Edition Chapter 5 Advanced Plotting Copyright 2010. The McGraw-Hill Companies, Inc. This work is only for non-profit use by instructors

More information

CSCD 409 Scientific Programming. Module 6: Plotting (Chpt 5)

CSCD 409 Scientific Programming. Module 6: Plotting (Chpt 5) CSCD 409 Scientific Programming Module 6: Plotting (Chpt 5) 2008-2012, Prentice Hall, Paul Schimpf All rights reserved. No portion of this presentation may be reproduced, in whole or in part, in any form

More information

Plotting. Aaron S. Donahue. Department of Civil and Environmental Engineering and Earth Sciences University of Notre Dame January 28, 2013 CE20140

Plotting. Aaron S. Donahue. Department of Civil and Environmental Engineering and Earth Sciences University of Notre Dame January 28, 2013 CE20140 Plotting Aaron S. Donahue Department of Civil and Environmental Engineering and Earth Sciences University of Notre Dame January 28, 2013 CE20140 A. S. Donahue (University of Notre Dame) Lecture 4 1 / 15

More information

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 1999 by CRC PRESS LLC CHAPTER TWO PLOTTING COMMANDS 2.1 GRAPH

More information

Introduction to MATLAB 7 for Engineers. Add for Chapter 2 Advanced Plotting and Model Building

Introduction to MATLAB 7 for Engineers. Add for Chapter 2 Advanced Plotting and Model Building Introduction to MATLAB 7 for Engineers Add for Chapter 2 Advanced Plotting and Model Building Nomenclature for a typical xy plot. The following MATLAB session plots y 0 4 1 8x for 0 x 52, where y represents

More information

Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering

Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering 1 Introduction Plots are a very useful tool for presenting information.

More information

MATLAB 2-D Plotting. Matlab has many useful plotting options available! We ll review some of them today.

MATLAB 2-D Plotting. Matlab has many useful plotting options available! We ll review some of them today. Class15 MATLAB 2-D Plotting Matlab has many useful plotting options available! We ll review some of them today. help graph2d will display a list of relevant plotting functions. Plot Command Plot command

More information

INTRODUCTION TO MATLAB by. Introduction to Matlab

INTRODUCTION TO MATLAB by. Introduction to Matlab INTRODUCTION TO MATLAB by Mohamed Hussein Lecture 5 Introduction to Matlab More on XY Plotting Other Types of Plotting 3D Plot (XYZ Plotting) More on XY Plotting Other XY plotting commands are axis ([xmin

More information

Contents. An introduction to MATLAB for new and advanced users

Contents. An introduction to MATLAB for new and advanced users An introduction to MATLAB for new and advanced users (Using Two-Dimensional Plots) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional

More information

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes. Chapter 940 Introduction This section describes the options that are available for the appearance of a scatter plot. A set of all these options can be stored as a template file which can be retrieved later.

More information

Worksheet 5. Matlab Graphics

Worksheet 5. Matlab Graphics Worksheet 5. Matlab Graphics Two dimesional graphics Simple plots can be made like this x=[1.5 2.2 3.1 4.6 5.7 6.3 9.4]; y=[2.3 3.9 4.3 7.2 4.5 6.1 1.1]; plot(x,y) plot can take an additional string argument

More information

Plots Publication Format Figures Multiple. 2D Plots. K. Cooper 1. 1 Department of Mathematics. Washington State University.

Plots Publication Format Figures Multiple. 2D Plots. K. Cooper 1. 1 Department of Mathematics. Washington State University. 2D Plots K. 1 1 Department of Mathematics 2015 Matplotlib The most used plotting API in Python is Matplotlib. Mimics Matlab s plotting capabilities Not identical plot() takes a variable number of arguments...

More information

MATLAB - Lecture # 5

MATLAB - Lecture # 5 MATLAB - Lecture # 5 Two Dimensional Plots / Chapter 5 Topics Covered: 1. Plotting basic 2-D plots. The plot command. The fplot command. Plotting multiple graphs in the same plot. MAKING X-Y PLOTS 105

More information

Outline. 1 File access. 2 Plotting Data. 3 Annotating Plots. 4 Many Data - one Figure. 5 Saving your Figure. 6 Misc. 7 Examples

Outline. 1 File access. 2 Plotting Data. 3 Annotating Plots. 4 Many Data - one Figure. 5 Saving your Figure. 6 Misc. 7 Examples Outline 9 / 15 1 File access 2 Plotting Data 3 Annotating Plots 4 Many Data - one Figure 5 Saving your Figure 6 Misc 7 Examples plot 2D plotting 1. Define x-vector 2. Define y-vector 3. plot(x,y) >> x

More information

Appendix III Graphs in the Introductory Physics Laboratory

Appendix III Graphs in the Introductory Physics Laboratory Appendix III Graphs in the Introductory Physics Laboratory 1. Introduction One of the purposes of the introductory physics laboratory is to train the student in the presentation and analysis of experimental

More information

Week 2: Plotting in Matlab APPM 2460

Week 2: Plotting in Matlab APPM 2460 Week 2: Plotting in Matlab APPM 2460 1 Introduction Matlab is great at crunching numbers, and one of the fundamental ways that we understand the output of this number-crunching is through visualization,

More information

MATLAB: Plots. The plot(x,y) command

MATLAB: Plots. The plot(x,y) command MATLAB: Plots In this tutorial, the reader will learn about obtaining graphical output. Creating a proper engineering plot is not an easy task. It takes lots of practice, because the engineer is trying

More information

Applied Linear Algebra in Geoscience Using MATLAB

Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB Plot (2D) plot(x,y, -mo, LineWidth,2, markersize,12, MarkerEdgeColor, g, markerfacecolor, y ) Plot (2D) Plot of a Function As an example, the plot command

More information

Two-dimensional Plots

Two-dimensional Plots Two-dimensional Plots ELEC 206 Prof. Siripong Potisuk 1 The Plot Command The simplest command for 2-D plotting Syntax: >> plot(x,y) The arguments x and y are vectors (1-D arrays) which must be of the same

More information

Creating Nice 2D-Diagrams

Creating Nice 2D-Diagrams UseCase.0046 Creating Nice 2D-Diagrams Keywords: 2D view, z=f(x,y), axis, axes, bitmap, mesh, contour, plot, font size, color lookup table, presentation Description This use case demonstrates how to configure

More information

Computer Programming: 2D Plots. Asst. Prof. Dr. Yalçın İşler Izmir Katip Celebi University

Computer Programming: 2D Plots. Asst. Prof. Dr. Yalçın İşler Izmir Katip Celebi University Computer Programming: 2D Plots Asst. Prof. Dr. Yalçın İşler Izmir Katip Celebi University Outline Plot Fplot Multiple Plots Formatting Plot Logarithmic Plots Errorbar Plots Special plots: Bar, Stairs,

More information

Laboratory 2: Graphing

Laboratory 2: Graphing Purpose It is often said that a picture is worth 1,000 words, or for scientists we might rephrase it to say that a graph is worth 1,000 words. Graphs are most often used to express data in a clear, concise

More information

MATHEMATICAL FUNCTIONS AND GRAPHS

MATHEMATICAL FUNCTIONS AND GRAPHS 1 MATHEMATICAL FUNCTIONS AND GRAPHS Objectives Learn how to enter formulae and create and edit graphs. Familiarize yourself with three classes of functions: linear, exponential, and power. Explore effects

More information

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert This set of notes describes how to prepare a Bode plot using Mathcad. Follow these instructions to draw Bode plot for any transfer

More information

PASS Sample Size Software

PASS Sample Size Software Chapter 945 Introduction This section describes the options that are available for the appearance of a histogram. A set of all these options can be stored as a template file which can be retrieved later.

More information

Engineering Fundamentals and Problem Solving, 6e

Engineering Fundamentals and Problem Solving, 6e Engineering Fundamentals and Problem Solving, 6e Chapter 5 Representation of Technical Information Chapter Objectives 1. Recognize the importance of collecting, recording, plotting, and interpreting technical

More information

Excel Tool: Plots of Data Sets

Excel Tool: Plots of Data Sets Excel Tool: Plots of Data Sets Excel makes it very easy for the scientist to visualize a data set. In this assignment, we learn how to produce various plots of data sets. Open a new Excel workbook, and

More information

ENGR 102 PROBLEM SOLVING FOR ENGINEERS

ENGR 102 PROBLEM SOLVING FOR ENGINEERS PRACTICE EXAM 1. Problem statement 2. Diagram 3. Theory 4. Simplifying assumptions 5. Solution steps 6. Results & precision 7. Conclusions ENGR 102 PROBLEM SOLVING FOR ENGINEERS I N T O / C S U P A R T

More information

Math Labs. Activity 1: Rectangles and Rectangular Prisms Using Coordinates. Procedure

Math Labs. Activity 1: Rectangles and Rectangular Prisms Using Coordinates. Procedure Math Labs Activity 1: Rectangles and Rectangular Prisms Using Coordinates Problem Statement Use the Cartesian coordinate system to draw rectangle ABCD. Use an x-y-z coordinate system to draw a rectangular

More information

EE 382 Applied Electromagnetics, EE382_Chapter 13_Antennas_notes.doc 1 / 45

EE 382 Applied Electromagnetics, EE382_Chapter 13_Antennas_notes.doc 1 / 45 EE 382 Applied Electromagnetics, EE382_Chapter 13_Antennas_notes.doc 1 / 45 13.1 Introduction I ll be drawing heavily on outside resources, e.g., my own notes, Antenna Theory, Analysis and Design (Fourth

More information

Complex Numbers in Electronics

Complex Numbers in Electronics P5 Computing, Extra Practice After Session 1 Complex Numbers in Electronics You would expect the square root of negative numbers, known as complex numbers, to be only of interest to pure mathematicians.

More information

Data Analysis Part 1: Excel, Log-log, & Semi-log plots

Data Analysis Part 1: Excel, Log-log, & Semi-log plots Data Analysis Part 1: Excel, Log-log, & Semi-log plots Why Excel is useful Excel is a powerful tool used across engineering fields. Organizing data Multiple types: date, text, numbers, currency, etc Sorting

More information

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph Step 1: Set up the variables AB Design Use the top cells to label the variables that will be displayed on the X and Y axes of the graph Step 1: Set up the variables X axis for AB Design Enter X axis label

More information

Two-Dimensional Plots

Two-Dimensional Plots Chapter 5 Two-Dimensional Plots Plots are a very useful tool for presenting information. This is true in any field, but especially in science and engineering where MATLAB is mostly used. MATLAB has many

More information

Level Curves in Matlab

Level Curves in Matlab College of the Redwoods Mathematics Department Multivariable Calculus Level Curves in Matlab David Arnold Directory Table of Contents. Begin Article. Copyright c 999 darnold@northcoast.com Last Revision

More information

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB Contents 1 Preview: Programming & Experiments Goals 2 2 Homework Assignment 3 3 Measuring The

More information

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Spring 2018 What to Turn In: ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Dr. Havlicek Submit your solution for this assignment electronically on Canvas by uploading a file to ECE-2713-001 > Assignments

More information

Page 21 GRAPHING OBJECTIVES:

Page 21 GRAPHING OBJECTIVES: Page 21 GRAPHING OBJECTIVES: 1. To learn how to present data in graphical form manually (paper-and-pencil) and using computer software. 2. To learn how to interpret graphical data by, a. determining the

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Lab 1: FFT, Spectral Leakage, Zero Padding Moslem Amiri, Václav Přenosil Embedded Systems Laboratory Faculty of Informatics, Masaryk University Brno, Czech Republic amiri@mail.muni.cz

More information

How to Make a Run Chart in Excel

How to Make a Run Chart in Excel How to Make a Run Chart in Excel While there are some statistical programs that you can use to make a run chart, it is simple to make in Excel, using Excel s built-in chart functions. The following are

More information

Calculus I Handout: Curves and Surfaces in R 3. 1 Curves in R Curves in R 2 1 of 21

Calculus I Handout: Curves and Surfaces in R 3. 1 Curves in R Curves in R 2 1 of 21 1. Curves in R 2 1 of 21 Calculus I Handout: Curves and Surfaces in R 3 Up until now, everything we have worked with has been in two dimensions. But we can extend the concepts of calculus to three dimensions

More information

How to define Graph in HDSME

How to define Graph in HDSME How to define Graph in HDSME HDSME provides several chart/graph options to let you analyze your business in a visual format (2D and 3D). A chart/graph can display a summary of sales, profit, or current

More information

Agility Course Designer Users Guide. Agility Course designer program for Windows PC

Agility Course Designer Users Guide. Agility Course designer program for Windows PC Agility Course Designer Users Guide Agility Course designer program for Windows PC 1 Introduction...3 General notes...4 Design Modes...4 Obstacle Design...4 Path Design...5 The buttons on the left hand

More information

Appendix 3 - Using A Spreadsheet for Data Analysis

Appendix 3 - Using A Spreadsheet for Data Analysis 105 Linear Regression - an Overview Appendix 3 - Using A Spreadsheet for Data Analysis Scientists often choose to seek linear relationships, because they are easiest to understand and to analyze. But,

More information

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

IPython and Matplotlib

IPython and Matplotlib IPython and Matplotlib May 13, 2017 1 IPython and Matplotlib 1.1 Starting an IPython notebook $ ipython notebook After starting the notebook import numpy and matplotlib modules automagically. In [1]: %pylab

More information

Algebra and Trig. I. The graph of

Algebra and Trig. I. The graph of Algebra and Trig. I 4.5 Graphs of Sine and Cosine Functions The graph of The graph of. The trigonometric functions can be graphed in a rectangular coordinate system by plotting points whose coordinates

More information

Welcome to Corel DESIGNER, a comprehensive vector-based package for technical graphic users and technical illustrators.

Welcome to Corel DESIGNER, a comprehensive vector-based package for technical graphic users and technical illustrators. Workspace tour Welcome to Corel DESIGNER, a comprehensive vector-based package for technical graphic users and technical illustrators. This tutorial will help you become familiar with the terminology and

More information

Introduction to Matplotlib

Introduction to Matplotlib Lab 5 Introduction to Matplotlib Lab Objective: Matplotlib is the most commonly-used data visualization library in Python. Being able to visualize data helps to determine patterns, to communicate results,

More information

EXPLORING POLAR COORDINATES WITH THE GEOMETER S SKETCHPAD

EXPLORING POLAR COORDINATES WITH THE GEOMETER S SKETCHPAD EXPLORING POLAR COORDINATES WITH THE GEOMETER S SKETCHPAD Barbara K. D Ambrosia Carl R. Spitznagel John Carroll University Department of Mathematics and Computer Science Cleveland, OH 44118 bdambrosia@jcu.edu

More information

ADOBE PHOTOSHOP CS 3 QUICK REFERENCE

ADOBE PHOTOSHOP CS 3 QUICK REFERENCE ADOBE PHOTOSHOP CS 3 QUICK REFERENCE INTRODUCTION Adobe PhotoShop CS 3 is a powerful software environment for editing, manipulating and creating images and other graphics. This reference guide provides

More information

Excel Lab 2: Plots of Data Sets

Excel Lab 2: Plots of Data Sets Excel Lab 2: Plots of Data Sets Excel makes it very easy for the scientist to visualize a data set. In this assignment, we learn how to produce various plots of data sets. Open a new Excel workbook, and

More information

Volume of Revolution Investigation

Volume of Revolution Investigation Student Investigation S2 Volume of Revolution Investigation Student Worksheet Name: Setting up your Page In order to take full advantage of Autograph s unique 3D world, we first need to set up our page

More information

Anna Gresham School of Landscape Design. CAD for Beginners. CAD 3: Using the Drawing Tools and Blocks

Anna Gresham School of Landscape Design. CAD for Beginners. CAD 3: Using the Drawing Tools and Blocks Anna Gresham School of Landscape Design CAD for Beginners CAD 3: Using the Drawing Tools and Blocks Amended for DraftSight V4 October 2013 INDEX OF TOPICS for CAD 3 Pages ESnap 3-5 Essential drawing tools

More information

DRAWING IN VISUAL BASIC

DRAWING IN VISUAL BASIC 205 Introduction CHAPTER EIGHT DRAWING IN VISUAL BASIC Visual basic has an advanced methods for drawing shapes like rectangles, circles, squares, etc or drawing a points or functions like sine, cosine,

More information

Activity Instructions

Activity Instructions The Human Sundial Activity Instructions This document contains complete instructions for two methods of constructing a sundial. The first method (Figure 1) is a group activity in which students construct

More information

COMPUTER AIDED DRAFTING (PRACTICAL) INTRODUCTION

COMPUTER AIDED DRAFTING (PRACTICAL) INTRODUCTION LANDMARK UNIVERSITY, OMU-ARAN LECTURE NOTE: 3 COLLEGE: COLLEGE OF SCIENCE AND ENGINEERING DEPARTMENT: MECHANICAL ENGINEERING PROGRAMME: MCE 511 ENGR. ALIYU, S.J Course title: Computer-Aided Engineering

More information

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide 1 NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT Physics 253 Fundamental Physics Mechanic, September 9, 2010 Lab #2 Plotting with Excel: The Air Slide Lab Write-up Due: Thurs., September 16, 2010 Place

More information

AutoCAD Tutorial First Level. 2D Fundamentals. Randy H. Shih SDC. Better Textbooks. Lower Prices.

AutoCAD Tutorial First Level. 2D Fundamentals. Randy H. Shih SDC. Better Textbooks. Lower Prices. AutoCAD 2018 Tutorial First Level 2D Fundamentals Randy H. Shih SDC PUBLICATIONS Better Textbooks. Lower Prices. www.sdcpublications.com Powered by TCPDF (www.tcpdf.org) Visit the following websites to

More information

Chapter 4 Number Theory

Chapter 4 Number Theory Chapter 4 Number Theory Throughout the study of numbers, students Á should identify classes of numbers and examine their properties. For example, integers that are divisible by 2 are called even numbers

More information

Section 3 Correlation and Regression - Worksheet

Section 3 Correlation and Regression - Worksheet The data are from the paper: Exploring Relationships in Body Dimensions Grete Heinz and Louis J. Peterson San José State University Roger W. Johnson and Carter J. Kerk South Dakota School of Mines and

More information

Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity)

Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity) Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity) Importing Data into MATLAB Change your Current Folder to the folder where your data is located. Import

More information

Evaluation Chapter by CADArtifex

Evaluation Chapter by CADArtifex The premium provider of learning products and solutions www.cadartifex.com EVALUATION CHAPTER 2 Drawing Sketches with SOLIDWORKS In this chapter: Invoking the Part Modeling Environment Invoking the Sketching

More information

AutoCAD LT 2009 Tutorial

AutoCAD LT 2009 Tutorial AutoCAD LT 2009 Tutorial Randy H. Shih Oregon Institute of Technology SDC PUBLICATIONS Schroff Development Corporation www.schroff.com Better Textbooks. Lower Prices. AutoCAD LT 2009 Tutorial 1-1 Lesson

More information

Applications of satellite and airborne image data to coastal management. Part 2

Applications of satellite and airborne image data to coastal management. Part 2 Applications of satellite and airborne image data to coastal management Part 2 You have used the cursor to investigate the pixels making up the image EIRE4.BMP and seen how the brightnesses of sea, land

More information

GeoGebra. Before we begin. Dynamic Mathematics for Schools

GeoGebra. Before we begin. Dynamic Mathematics for Schools Before we begin Start your favorite internet browser If is not installed: Go to www.geogebra.org Click WebStart (third item down in the menu on the left) Click the WebStart button ( is installed automatically)

More information

There are two types of cove light in terms of light distribution inside a room

There are two types of cove light in terms of light distribution inside a room DIALux evo Tutorials Tutorial 2 How to create a cove light detail In this tutorial you will learn the following commands. 1. Using help lines 2. Using ceiling. 3. Using cutout 4. Using Boolean operation

More information

Microsoft Excel: Data Analysis & Graphing. College of Engineering Engineering Education Innovation Center

Microsoft Excel: Data Analysis & Graphing. College of Engineering Engineering Education Innovation Center Microsoft Excel: Data Analysis & Graphing College of Engineering Engineering Education Innovation Center Objectives Use relative, absolute, and mixed cell referencing Identify the types of graphs and their

More information

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2.

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2. Test Yourself These are problems you might see in a vector calculus course. They are general questions and are meant for practice. The key follows, but only with the answers. an you fill in the blanks

More information

PREREQUISITE/PRE-CALCULUS REVIEW

PREREQUISITE/PRE-CALCULUS REVIEW PREREQUISITE/PRE-CALCULUS REVIEW Introduction This review sheet is a summary of most of the main topics that you should already be familiar with from your pre-calculus and trigonometry course(s), and which

More information

Bode plot, named after Hendrik Wade Bode, is usually a combination of a Bode magnitude plot and Bode phase plot:

Bode plot, named after Hendrik Wade Bode, is usually a combination of a Bode magnitude plot and Bode phase plot: Bode plot From Wikipedia, the free encyclopedia A The Bode plot for a first-order (one-pole) lowpass filter Bode plot, named after Hendrik Wade Bode, is usually a combination of a Bode magnitude plot and

More information

LTSpice Basic Tutorial

LTSpice Basic Tutorial Index: I. Opening LTSpice II. Drawing the circuit A. Making Sure You Have a GND B. Getting the Parts C. Placing the Parts D. Connecting the Circuit E. Changing the Name of the Part F. Changing the Value

More information

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains DSP First, 2e Signal Processing First Lab 5b: FIR Filter Design and PeZ: The z, n, and O! Domains The lab report/verification will be done by filling in the last page of this handout which addresses a

More information

This tutorial will lead you through step-by-step to make the plot below using Excel.

This tutorial will lead you through step-by-step to make the plot below using Excel. GES 131 Making Plots with Excel 1 / 6 This tutorial will lead you through step-by-step to make the plot below using Excel. Number of Non-Student Tickets vs. Student Tickets Y, Number of Non-Student Tickets

More information

Excel Manual X Axis Values Chart Multiple Labels Negative

Excel Manual X Axis Values Chart Multiple Labels Negative Excel Manual X Axis Values Chart Multiple Labels Negative Learn Excel - Chart Axis Labels at Bottom for Negative - Podcast 1897 Char asks: When. You'll see how to make a simple waterfall chart in Excel

More information

Mid_Term_Review_PhotoShop_Design Test B Name

Mid_Term_Review_PhotoShop_Design Test B Name Mid_Term_Review_PhotoShop_Design Test B Name Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Photoshop uses a mathematical process called when it changes

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time

More information

Plotting Points in 2-dimensions. Graphing 2 variable equations. Stuff About Lines

Plotting Points in 2-dimensions. Graphing 2 variable equations. Stuff About Lines Plotting Points in 2-dimensions Graphing 2 variable equations Stuff About Lines Plotting Points in 2-dimensions Plotting Points: 2-dimension Setup of the Cartesian Coordinate System: Draw 2 number lines:

More information

Tutorial 4: Overhead sign with lane control arrows:

Tutorial 4: Overhead sign with lane control arrows: Tutorial 4: Overhead sign with lane control arrows: SignCAD Analysis The sign above splits multilane freeway traffic into two routes/destinations. It uses the overhead lane control arrows. The top half

More information

μscope Microscopy Software

μscope Microscopy Software μscope Microscopy Software Pixelink μscope Essentials (ES) Software is an easy-to-use robust image capture tool optimized for productivity. Pixelink μscope Standard (SE) Software had added features, making

More information

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept.

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. 2012 Signals and Systems: Laboratory 1 1 SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. corrigad@tcd.ie www.mee.tcd.ie/ corrigad The aims of this

More information

Selecting the Right Model Studio PC Version

Selecting the Right Model Studio PC Version Name Recitation Selecting the Right Model Studio PC Version We have seen linear and quadratic models for various data sets. However, once one collects data it is not always clear what model to use; that

More information

digitization station DIGITAL SCRAPBOOKING 120 West 14th Street

digitization station DIGITAL SCRAPBOOKING 120 West 14th Street digitization station DIGITAL SCRAPBOOKING 120 West 14th Street www.nvcl.ca techconnect@cnv.org DIGITAL SCRAPBOOKING With MyMemories Suite 6 The MyMemories Digital Scrapbooking software allows you to create

More information

Spreadsheets 3: Charts and Graphs

Spreadsheets 3: Charts and Graphs Spreadsheets 3: Charts and Graphs Name: Main: When you have finished this handout, you should have the following skills: Setting up data correctly Labeling axes, legend, scale, title Editing symbols, colors,

More information

Appendix B: Autocad Booklet YR 9 REFERENCE BOOKLET ORTHOGRAPHIC PROJECTION

Appendix B: Autocad Booklet YR 9 REFERENCE BOOKLET ORTHOGRAPHIC PROJECTION Appendix B: Autocad Booklet YR 9 REFERENCE BOOKLET ORTHOGRAPHIC PROJECTION To load Autocad: AUTOCAD 2000 S DRAWING SCREEN Click the start button Click on Programs Click on technology Click Autocad 2000

More information

4 Exploration. 4.1 Data exploration using R tools

4 Exploration. 4.1 Data exploration using R tools 4 Exploration The statistical background of all methods discussed in this chapter can be found Analysing Ecological Data by Zuur, Ieno and Smith (2007). Here, we only discuss how to apply the methods in

More information

Use sparklines to show data trends

Use sparklines to show data trends Use sparklines to show data trends New in Microsoft Excel 2010, a sparkline is a tiny chart in a worksheet cell that provides a visual representation of data. Use sparklines to show trends in a series

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

PROPORTIONAL VERSUS NONPROPORTIONAL RELATIONSHIPS NOTES

PROPORTIONAL VERSUS NONPROPORTIONAL RELATIONSHIPS NOTES PROPORTIONAL VERSUS NONPROPORTIONAL RELATIONSHIPS NOTES Proportional means that if x is changed, then y is changed in the same proportion. This relationship can be expressed by a proportional/linear function

More information

1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS

1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS SIMG-232 LABORATORY #1 Writeup Due 3/23/2004 (T) 1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS 1.1 Rationale: This laboratory (really a virtual lab based on computer software) introduces the concepts

More information

Using Figures - The Basics

Using Figures - The Basics Using Figures - The Basics by David Caprette, Rice University OVERVIEW To be useful, the results of a scientific investigation or technical project must be communicated to others in the form of an oral

More information

We are going to begin a study of beadwork. You will be able to create beadwork on the computer using the culturally situated design tools.

We are going to begin a study of beadwork. You will be able to create beadwork on the computer using the culturally situated design tools. Bead Loom Questions We are going to begin a study of beadwork. You will be able to create beadwork on the computer using the culturally situated design tools. Read the first page and then click on continue

More information

with MultiMedia CD Randy H. Shih Jack Zecher SDC PUBLICATIONS Schroff Development Corporation

with MultiMedia CD Randy H. Shih Jack Zecher SDC PUBLICATIONS Schroff Development Corporation with MultiMedia CD Randy H. Shih Jack Zecher SDC PUBLICATIONS Schroff Development Corporation WWW.SCHROFF.COM Lesson 1 Geometric Construction Basics AutoCAD LT 2002 Tutorial 1-1 1-2 AutoCAD LT 2002 Tutorial

More information

Exam 2 Summary. 1. The domain of a function is the set of all possible inputes of the function and the range is the set of all outputs.

Exam 2 Summary. 1. The domain of a function is the set of all possible inputes of the function and the range is the set of all outputs. Exam 2 Summary Disclaimer: The exam 2 covers lectures 9-15, inclusive. This is mostly about limits, continuity and differentiation of functions of 2 and 3 variables, and some applications. The complete

More information

AutoCAD LT 2012 Tutorial. Randy H. Shih Oregon Institute of Technology SDC PUBLICATIONS. Schroff Development Corporation

AutoCAD LT 2012 Tutorial. Randy H. Shih Oregon Institute of Technology SDC PUBLICATIONS.   Schroff Development Corporation AutoCAD LT 2012 Tutorial Randy H. Shih Oregon Institute of Technology SDC PUBLICATIONS www.sdcpublications.com Schroff Development Corporation AutoCAD LT 2012 Tutorial 1-1 Lesson 1 Geometric Construction

More information

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises Digital Video and Audio Processing Winter term 2002/ 2003 Computer-based exercises Rudolf Mester Institut für Angewandte Physik Johann Wolfgang Goethe-Universität Frankfurt am Main 6th November 2002 Chapter

More information

Trial version. Microphone Sensitivity

Trial version. Microphone Sensitivity Microphone Sensitivity Contents To select a suitable microphone a sound engineer will look at a graph of directional sensitivity. How can the directional sensitivity of a microphone be plotted in a clear

More information

Math 148 Exam III Practice Problems

Math 148 Exam III Practice Problems Math 48 Exam III Practice Problems This review should not be used as your sole source for preparation for the exam. You should also re-work all examples given in lecture, all homework problems, all lab

More information