COMP MATLAB.
|
|
- Irene Waters
- 5 years ago
- Views:
Transcription
1 COMP1131 MATLAB
2 1
3 2
4 (x, y ) [(x 1,y 1 ) (x 2,y 2 ) (x n,y n )] Y=f(X) X [x 1,x 2,...,x n ] Y [y 1,y 2,,y n ] 3
5 MATLAB 4
6 figure figure figure(n): n figure(n) 5
7 y = x + sin x (x [ π 2, π 2 ]) x=-pi/2:.1:pi/2; y=x+sin(x); figure; plot(x, y);
8 plot (1) plot plot(x,y) x y (x j,y j ) x=:.1:2*pi; y=sin(x); figure; plot(x, y)
9 plot (2) plot plot(y) y 1:n y j n y y=[ ] figure; plot(y);
10 plot (3) plot plot(z) z (real(z j ),image(z j )) z=[1+i,, -1+i]; figure; plot(z);
11 (3, 9) (1, 1) (2, 4) x=[1 2 3] y=x.*x; figure; plot(x, y) 1
12 plot 11
13 (axis) 12
14 Y y axis label 12 1 Light Intensity as a Function of Distance Theory Experiment 8 INTENSITY (lux) 6 4 Comparison between theory and experiment. Data symbol DISTANCE (cm) X x axis label Tick-mark label 13
15 grid on grid off
16 title MATLAB Example title('text'): text >> title('matlab Example')
17 text MATLAB Example MATLAB123 text(x, y, 'content') (x,y) content >> text(,.5, 'MATLAB123') 16
18 text arg ^{arg} 'x^5+6' x 5 +6 _{arg} 'x_1+x_2+x_5' x 1 +x 2 +x 5 \alpha α \pi π \beta β \lambda λ \geq \neg \rightarrow è \leq \times \copyright p171 17
19 text A sin(:) x = :pi/2:2*pi; y = sin(x); plot(x,y) text(pi,,'\leftarrow sin(\pi)')
20 xlabel/ylabel Degree Temperature o xlabel( text ): x text x o ylabel( text ): y text y Date x=[ ]; y=[ ]; figure; plot(x, y); title('temperature', 'FontSize', 16); xlabel('date', 'FontSize', 16); ylabel('degree', 'FontSize', 16); 19
21 (legend) legend(str1, str2,, pos) legend(str1, str2,, 'Location', 'pos') North NorthWest NorthOutside NorthEastOut side Best legend off 2
22 g : m none b c. w o o r * k + + y square x x diamond p172 green magenta blue cyan white red black yellow 21
23 legend 1.8 sin(x) cos(x) x = -pi:pi/2:pi; y1 = sin(x); y2 = cos(x); plot(x,y1,'-ro',x,y2,'-.b') legend('sin(x)','cos(x)')
24 hold on hold off hold hold on hold off 23
25 / sin(x) cos(x) x = -pi:pi/2:pi; y=sin(x); z=cos(x); figure; plot(x, y, '-ob'); hold on; plot(x, z, '--*r'); legend('sin(x)', 'cos(x)', );
26 axis auto axis on axis off axis([xmin,xmax,ymin, ymax]) axis ij axis xy x y [xmin, xmax] [ymin, ymax] 25
27 sin(x) cos(x) x = -pi:pi/2:pi; y=sin(x); z=cos(x); figure; plot(x, y, '-ob'); hold on; plot(x, z, '--*r'); axis([ ]); legend('sin(x)', 'cos(x)', ); x [-2, 2] y [-1, 1] 26
28 Red Green Blue /3 1 RGB R G B 27
29 hsv hot cool pink gray hsv(m) M*3 R/G/B p173 28
30 subplot(m, n, k) m*n k subplot clf 29
31 1 First subplot 1 Second subplot x = linspace(-5,5); y1 = sin(x); subplot(2,2,1) plot(x,y1) title('first subplot') y2 = sin(2*x); subplot(2,2,2) plot(x,y2) title('second subplot') y3 = sin(4*x); subplot(2,2,3) plot(x,y3) title('third subplot') 1.5 Third subplot 1.5 Fourth subplot y4 = sin(6*x); subplot(2,2,4) plot(x,y4) title('fourth subplot')
32 plotyy(x1, Y1, X2, Y2) X1-Y1 X2-Y x = :.1:2; y1 = 2*exp(-.5*x).*sin(x); y2 =.8*exp(-.5*x).*sin(1*x); figure; plotyy(x,y1,x,y2) 31
33 semilogx 7 semilogx x x = :1; y = log(x); figure semilogx(x,y) 32
34 semilogy 1 5 semilogy y x = :.1:1; y = exp(x); figure semilogy(x,y) 33
35 loglog loglog x y x = logspace(-1,2); y = exp(x); figure loglog(x,y,'-s') grid on y=logspace(a, b) y 1 a 1 b 5 34
36 bar hist pie scatter errorbar 35
37 bar 25 bar(y): y y=[ ]; bar(y) bar bar,bar3,barh bar3h Ø bar bar3 Ø barh bar3h 36
38 bar 25 bar(x, y): x y x x=[ ]; y=[ ]; bar(x, y)
39 bar bar(x, y, width): x y x width x=[ ]; y=[ ]; bar(x, y,.2) 38
40 bar overlay bar FaceColor EdgeColor x = [ ]; temp_high = [ ]; w1 =.5; bar(x,temp_high,w1,'facecolor',[.2.2.5], 'EdgeColor', [1 1]) temp_low = [ ]; w2 =.25; hold on bar(x,temp_low,w2,'facecolor',[.7.7]) 39
41 bar ( ) ibt Score Name R L S W A (11) B (12) C (13) bar(x, y): y bar x = [ ]; y = [ ; ; ]; figure; bar(x, y) 4
42 bar ( ) 12 ibt l (bar) l ( ) x = [ ]; y = [ ; ; ]; figure; bar(x, y, 'stacked') 41
43 pie 11% 22% pie(x): x 33% X = [ ]; figure; pie(x) 28% 6% 42
44 pie 22% pie3(x): x 11% 33% 6% 28% X = [ ]; figure; pie3(x) colormap(gray) 43
45 pie 11% 22% pie(x, explode): explode x 33% 6% 28% X = [ ]; figure; explode = [ 1 1 ]; pie(x, explode) 44
46 pie Female pie(, labels): labels X = [5 2]; figure; pie(x, {'Male', 'Female'}) Male 45
47 hist hist x=[ ]; figure; hist(x)
48 hist x = randn(1,1); nbins = 5; hist(x,nbins) randn(n) n*n 47
49 scatter 1.8 scatter x = -pi:pi/2:pi; y=sin(x); figure; scatter(x, y);
50 scatter x = -pi:pi/2:pi; y=sin(x); figure; scatter(x, y, 'MarkerEdgeColor',[1 ], 'LineWidth', 3); 49
51 errorbar errorbar(y, E) 1:n Y j (n Y ) E j j Y j 2E j errorbar(x,y,e) X Y E X Y E x = :pi/1:pi; y = sin(x); e = std(y)*ones(size(x));.4.2 figure errorbar(x,y,e)
52 set set(h, 'PropertyName', PropertyValue) H PropertyName PropertyValue gcf figure gca axes set(gcf, 'Color', 'r') : figure set(gca, 'XTick', [1 5 1]): figure x p581 51
53 XTickLabel WED THU FRI SAT SUN WED THU FRI SAT SUN x=[ ]; y=[ ]; gca bar(x, y) ax = gca; set(ax,'xticklabel',{'wed', 'THU', 'FRI', 'SAT', 'SUN'}) ax.xticklabelrotation = 45; % starting from R214b 52
54 Desktop/Mobile Traffic 6 5 Percentage / 1 Mobile Desktop Mar13 May13 Jul13 Sep13 Nov13 Jan14 Mar14 May14 Time mobile=[ ]; desktop=1-mobile; plot(1:8, mobile, '-+r', 'LineWidth', 2); hold on; plot(1:8, desktop, ':ob', 'LineWidth', 2); ylabel('percentage', 'FontSize', 16); xlabel('time', 'FontSize', 16); axis([1 8 65]); title('desktop/mobile Traffic', 'FontSize', 16); l=legend('mobile', 'Desktop', 'Location', 'SouthEast'); set(l, 'FontSize', 16); set(gca,'xticklabel',{'mar13', 'May13', 'Jul13', 'Sep13', 'Nov13', 'Jan14', 'Mar14', 'May14'}) 53
55 12 Results of ibt (Apr. 216) 1 Total Points Reading Listening Speaking Writing Student ID x = [ ]; y = [ ; ; ]; figure; bar(x, y, 'stacked') l=legend('reading', 'Listening', 'Speaking', 'Writing', 'Location', 'EastOutSide') set(l, 'FontSize', 16) xlabel('student ID', 'FontSize', 16); ylabel('total Points', 'FontSize', 16); title('results of ibt (Apr. 216)', 'FontSize', 16); 54
56 55
57 plot3(x, Y, Z) X Y Z X Y Z x y z X Y Z X Y Z x y z plot3(x1, Y1, Z1, X2, Y2, Z2) X1 Y1 Z1 X2 Y2 Z2 x y z 56
58 t = :pi/5:1*pi; st = sin(t); ct = cos(t); figure plot3(st,ct,t)
59 t = :pi/5:1*pi; st = sin(t); ct = cos(t); ct2 = 1 - cos(t); figure plot3(st,ct,t,st,ct2,t) 58
60 meshgrid meshgrid x=x1:dx:x2; y=y1:dy:y2 [X, Y]=meshgrid(x, y) >> [X,Y] = meshgrid(1:3,1:14) X = Y =
61 mesh(x, Y, Z): X x Y y a=-5:5; b=-5:5; [X, Y]=meshgrid(a, b); Z=2-X.^2-Y.^2; figure; mesh(x, Y, Z); 6
62 mesh surf a=-5:5; b=-5:5; 5 [X, Y]=meshgrid(a, b); -5-5 Z=2-X.^2-Y.^2; figure; surf(x, Y, Z); 61
63 MATLAB Plot Gallery 62
ECE 102 Engineering Computation
ECE 102 Engineering Computation Phillip Wong MATLAB XY Plots with Linear-Linear Scaling Formatting Plots XY Plots with Logarithmic Scaling Multiple Plots Printing and Saving Plots Introduction to 2D Graphs
More information. var save filename var. y fprintf(fl,'%f %f\n',y) y ..TXT. . fprintf() .TXT. myf = fopen('nam.txt','w'); nam.txt myf.
y fprintf(fl,'%f %f\n',y) y. \n.txt. fprintf()..txt.. myf = fopen('nam.txt','w'); :. (1-4 )..TXT. % Optt.m av =[17.4537 4.57 15.3 17.869 3.7]; Tit = 'Students Average:'; myf = fopen('nam.txt','w'); fprintf(myf,'%s\n',tit);
More informationGRAPHIC WEEK 7 DR. USMAN ULLAH SHEIKH DR. MUSA MOHD MOKJI DR. MICHAEL TAN LOONG PENG DR. AMIRJAN NAWABJAN DR. MOHD ADIB SARIJARI
GRAPHIC SKEE1022 SCIENTIFIC PROGRAMMING WEEK 7 DR. USMAN ULLAH SHEIKH DR. MUSA MOHD MOKJI DR. MICHAEL TAN LOONG PENG DR. AMIRJAN NAWABJAN DR. MOHD ADIB SARIJARI 1 OBJECTIVE 2-dimensional line plot function
More informationMatlab for Review. NDSU Matlab Review pg 1
NDSU Matlab Review pg 1 Becoming familiar with MATLAB The console The editor The graphics windows The help menu Saving your data (diary) General environment and the console Matlab for Review Simple numerical
More informationComputational Foundations of Cognitive Science
Computational Foundations of Cognitive Science Lecture 14: Inverses and Eigenvectors in Matlab; Plotting and Graphics Frank Keller School of Informatics University of Edinburgh keller@inf.ed.ac.uk February
More informationBayesian Analysis - A First Example
Bayesian Analysis - A First Example This script works through the example in Hoff (29), section 1.2.1 We are interested in a single parameter: θ, the fraction of individuals in a city population with with
More information2D Plotting with Matlab
GEEN 1300 Introduction to Engineering Computing Class Meeting #22 Monday, Nov. 9 th Engineering Computing and Problem Solving with Matlab 2-D plotting with Matlab Script files User-defined functions Matlab
More informationPhonon dispersion relation and density of states of a simple cubic lattice
Phonon dispersion relation and density of states of a simple cubic lattice Student project for the course Molecular and Solid State Physics by Eva Meisterhofer Contents 1 The linear spring model 3 1.1
More informationLaboratory handout 1 Mathematical preliminaries
laboratory handouts, me 340 2 Laboratory handout 1 Mathematical preliminaries In this handout, an expression on the left of the symbol := is defined in terms of the expression on the right. In contrast,
More informationTo produce exactly what I ve graphed above you need to change various appearences:
Appendi A Matlab eamples 2. z The simplest wa to graph this is: = linspace(,); = linspace(-5,5); z=.^2; plot3(,,z); To produce eactl what I ve graphed above ou need to change various appearences: = linspace(,);
More informationto have roots with negative real parts, the necessary and sufficient conditions are that:
THE UNIVERSITY OF TEXAS AT SAN ANTONIO EE 543 LINEAR SYSTEMS AND CONTROL H O M E W O R K # 7 Sebastian A. Nugroho November 6, 7 Due date of the homework is: Sunday, November 6th @ :59pm.. The following
More informationOverview of Discrete-Time Fourier Transform Topics Handy Equations Handy Limits Orthogonality Defined orthogonal
Overview of Discrete-Time Fourier Transform Topics Handy equations and its Definition Low- and high- discrete-time frequencies Convergence issues DTFT of complex and real sinusoids Relationship to LTI
More informationAssignment 1b: due Tues Nov 3rd at 11:59pm
n Today s Lecture: n n Vectorized computation Introduction to graphics n Announcements:. n Assignment 1b: due Tues Nov 3rd at 11:59pm 1 Monte Carlo Approximation of π Throw N darts L L/2 Sq. area = N =
More informationExperiment 1: Linear Regression
Experiment 1: Linear Regression August 27, 2018 1 Description This first exercise will give you practice with linear regression. These exercises have been extensively tested with Matlab, but they should
More informationSolutions for examination in TSRT78 Digital Signal Processing,
Solutions for examination in TSRT78 Digital Signal Processing, 2014-04-14 1. s(t) is generated by s(t) = 1 w(t), 1 + 0.3q 1 Var(w(t)) = σ 2 w = 2. It is measured as y(t) = s(t) + n(t) where n(t) is white
More informationStatistics Assignment 2 HET551 Design and Development Project 1
Statistics Assignment HET Design and Development Project Michael Allwright - 74634 Haddon O Neill 7396 Monday, 3 June Simple Stochastic Processes Mean, Variance and Covariance Derivation The following
More informationProblem 1. Produce the linear and quadratic Taylor polynomials for the following functions:
Problem. Produce the linear and quadratic Taylor polynomials for the following functions: (a) f(x) = e cos(x), a = (b) log( + e x ), a = The general formula for any Taylor Polynomial is as follows: (a)
More informationLESSON: Error bars questions
LESSON: Error bars questions FOCUS QUESTION: How can I depict uncertainty and variability in data? Contents EXAMPLE 1: Load the data about New York contagious diseases EXAMPLE 2: Compute the overall mean
More informationIntroduction to MatLab
Introduction to MatLab 1 Introduction to MatLab Graduiertenkolleg Kognitive Neurobiologie Friday, 05 November 2004 Thuseday, 09 Novemer 2004 Kurt Bräuer Institut für Theoretische Physik, Universität Tübingen
More informationNote: The command name is upper case in the description given by help, but must be lower case in actual use. And the backslash Anb is dierent when A i
MATLAB Tutorial You need a small number of basic commands to start using MATLAB. This short tutorial describes those fundamental commands. You need to create vectors and matrices, to change them, and to
More informationHomework 1 Solutions
18-9 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 18 Homework 1 Solutions Part One 1. (8 points) Consider the DT signal given by the algorithm: x[] = 1 x[1] = x[n] = x[n 1] x[n ] (a) Plot
More informationLAB # 5 HANDOUT. »»» The N-point DFT is converted into two DFTs each of N/2 points. N = -W N Then, the following formulas must be used. = k=0,...
EEE4 Lab Handout. FAST FOURIER TRANSFORM LAB # 5 HANDOUT Data Sequence A = x, x, x, x3, x4, x5, x6, x7»»» The N-point DFT is converted into two DFTs each of N/ points. x, x, x4, x6 x, x3, x5, x7»»» N =e
More informationEEE161 Applied Electromagnetics Laboratory 1
Dr. Milica Marković Applied Electromagnetics Laboratory page 1 EEE161 Applied Electromagnetics Laboratory 1 Instructor: Dr. Milica Marković Office: Riverside Hall 3028 Email: milica@csus.edu Web:http://gaia.ecs.csus.edu/
More informationLecture 4. Programming
Lecture 4 Advanced Matlab Programming Announcements Hands-on Session on Friday 1318 EB Read Chapters 3-6 in your MATLAB book HW 2 opens up Friday evening Today Numerical analysis - I Visualization I Some
More informationSTAT2201 Assignment 3 Semester 1, 2017 Due 13/4/2017
Class Example 1. Single Sample Descriptive Statistics (a) Summary Statistics and Box-Plots You are working in factory producing hand held bicycle pumps and obtain a sample of 174 bicycle pump weights in
More informationENGR Spring Exam 2
ENGR 1300 Spring 013 Exam INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully..
More information(6.1) -The Linear Shooting Method
(6.1) -The Linear Shooting Method Consider the boundary value problems (BVPs) for the second order differential equation of the form (*) y fx,y,y, a x b, ya and yb. Under what conditions does a boundary
More informationCompressing exterior Helmholtz problems
Compressing exterior Helmholtz problems Stefan Güttel October 2016 Contents 1 Introduction 1 2 A two-layer waveguide example 2 3 Other examples 6 4 References 6 1 Introduction Finite difference (FD) methods
More informationPhysics with Matlab and Mathematica Exercise #1 28 Aug 2012
Physics with Matlab and Mathematica Exercise #1 28 Aug 2012 You can work this exercise in either matlab or mathematica. Your choice. A simple harmonic oscillator is constructed from a mass m and a spring
More informationComplex Numbers. A complex number z = x + iy can be written in polar coordinates as re i where
Lab 20 Complex Numbers Lab Objective: Create visualizations of complex functions. Visually estimate their zeros and poles, and gain intuition about their behavior in the complex plane. Representations
More informationMath 515 Fall, 2008 Homework 2, due Friday, September 26.
Math 515 Fall, 2008 Homework 2, due Friday, September 26 In this assignment you will write efficient MATLAB codes to solve least squares problems involving block structured matrices known as Kronecker
More informationCHAPTER 8. Sinusoidal Functions
CHAPTER 8 Sinusoidal Functions 8.1 UNDERSTANDING ANGLES Chapter 8 DEFINITIONS A central angle is an angle whose vertex is at the center of a circle. The unit circle is a circle whose radius is 1. Arc length
More informationSystem Control Engineering 0
System Control Engineering 0 Koichi Hashimoto Graduate School of Information Sciences Text: Nonlinear Control Systems Analysis and Design, Wiley Author: Horacio J. Marquez Web: http://www.ic.is.tohoku.ac.jp/~koichi/system_control/
More informationAn Introduction to MatLab
Introduction to MatLab 1 An Introduction to MatLab Contents 1. Starting MatLab... 3 2. Workspace and m-files... 4 3. Help... 5 4. Vectors and Matrices... 5 5. Objects... 8 6. Plots... 10 7. Statistics...
More informationEE364b Homework 4. L(y,ν) = (1/2) y x ν(1 T y 1), minimize (1/2) y x 2 2 subject to y 0, 1 T y = 1,
EE364b Prof. S. Boyd EE364b Homework 4 1. Projection onto the probability simplex. In this problem you will work out a simple method for finding the Euclidean projection y of x R n onto the probability
More informationGAMINGRE 8/1/ of 7
FYE 09/30/92 JULY 92 0.00 254,550.00 0.00 0 0 0 0 0 0 0 0 0 254,550.00 0.00 0.00 0.00 0.00 254,550.00 AUG 10,616,710.31 5,299.95 845,656.83 84,565.68 61,084.86 23,480.82 339,734.73 135,893.89 67,946.95
More informationPHYS 114 Exam 1 Answer Key NAME:
PHYS 4 Exam Answer Key AME: Please answer all of the questions below. Each part of each question is worth points, except question 5, which is worth 0 points.. Explain what the following MatLAB commands
More informationPhysics 241 Class #10 Outline (9/25/2013) Plotting Handle graphics Numerical derivatives and functions Next time numerical integrals
Physics 241 Class #10 Outline (9/25/2013) Plotting Handle graphics Numerical derivatives and functions Next time numerical integrals Announcements HW4 grades are up. HW5a HW5 revised Same problems, now
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More informationSolutions. Chapter 1. Problem 1.1. Solution. Simulate free response of damped harmonic oscillator
Chapter Solutions Problem. Simulate free response of damped harmonic oscillator ẍ + ζẋ + x = for different values of damping ration ζ and initial conditions. Plot the response x(t) and ẋ(t) versus t and
More information2. Graphing Practice. Warm Up
2. Graphing Practice In this worksheet you will practice graphing and use your graphs to interpret and analyze data. The first three questions are warm-up questions; complete this section before moving
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 103L Fall Test 2 Solutions. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 103L Fall 2017 Test 2 Solutions Michael R. Gustafson II Name (please print) NET ID (please print): In keeping with the Community Standard, I have neither
More information1 TIME OF ARRIVAL LOCATION TECHNIQUE
Contents 1 TIME OF ARRIVAL LOCATION TECHNIQUE 2 1.1 TOA Principals...................................... 2 1.2 Time of Arrival Location Error Analysis........................ 8 1.3 Determining the Best
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More informationMatlab Section. November 8, 2005
Matlab Section November 8, 2005 1 1 General commands Clear all variables from memory : clear all Close all figure windows : close all Save a variable in.mat format : save filename name of variable Load
More informationCandidate Number. General Certificate of Secondary Education Higher Tier June 2012
Centre Number Surname Candidate Number For Examiner s Use Other Names Candidate Signature Examiner s Initials General Certificate of Secondary Education Higher Tier June 2012 Pages 2 3 4 5 Mark Mathematics
More informationHomework 2 solutions
Homework 2 solutions Section 2.1: Ex 1,2,3,4,6,11; AP 1 (18 points; Ex 3, AP 1 graded, 4 pts each; 2 pts to try the others) 1. Determine if each function has a unique fixed point on the specified interval.
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More informationComplex Numbers. Visualize complex functions to estimate their zeros and poles.
Lab 1 Complex Numbers Lab Objective: Visualize complex functions to estimate their zeros and poles. Polar Representation of Complex Numbers Any complex number z = x + iy can be written in polar coordinates
More informationNew Mexico Tech Hyd 510
Vectors vector - has magnitude and direction (e.g. velocity, specific discharge, hydraulic gradient) scalar - has magnitude only (e.g. porosity, specific yield, storage coefficient) unit vector - a unit
More informationINFE 5201 SIGNALS AND SYSTEMS
INFE 50 SIGNALS AND SYSTEMS Assignment : Introduction to MATLAB Name, Class&Student ID Aim. To give student an introduction to basic MATLAB concepts. You are required to produce basic program, learn basic
More informationWHEN IS IT EVER GOING TO RAIN? Table of Average Annual Rainfall and Rainfall For Selected Arizona Cities
WHEN IS IT EVER GOING TO RAIN? Table of Average Annual Rainfall and 2001-2002 Rainfall For Selected Arizona Cities Phoenix Tucson Flagstaff Avg. 2001-2002 Avg. 2001-2002 Avg. 2001-2002 October 0.7 0.0
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More information'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 103L Fall Test 2. Michael R. Gustafson II
'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ EGR 103L Fall 2017 Test 2 Michael R. Gustafson II Name (please print) NET ID (please print): In keeping with the Community Standard, I have neither provided
More informationStatistical methods. Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra
Statistical methods Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra Statistical methods Generating random numbers MATLAB has many built-in functions
More informationCapacitor in an AC circuit
Capacitor in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More informationThe College of Staten Island
The College of Staten Island Department of Mathematics MTH 232 Calculus II http://www.math.csi.cuny.edu/matlab/ MATLAB PROJECTS STUDENT: SECTION: INSTRUCTOR: BASIC FUNCTIONS Elementary Mathematical functions
More informationCISE 302 Linear Control Systems Laboratory Manual
King Fahd University of Petroleum & Minerals CISE 302 Linear Control Systems Laboratory Manual Systems Engineering Department Revised - September 2012 2 Lab Experiment 1: Using MATLAB for Control Systems
More informationEE368/CS232 Digital Image Processing Winter Homework #5 Solutions
EE368/CS232 Digital Image Processing Winter 2017-2018 Homework #5 Solutions 1. Solving a Jigsaw Puzzle We present one possible algorithm for solving the jigsaw puzzle. Other clearly explained algorithms
More informationApplied Time Series Notes ( 1)
Applied Time Series Notes ( 1) Analytics - Time Series I Preliminaries: Dates ñ Internal: # days since Jan 1, 1960 ñ Need format for reading, one for writing ñ Often DATE is ID variable (extrapolates)
More informationPower Factor Correction
Engr228 Lab #7 Power Factor Correction Name Partner(s) Grade /10 Note to lab instructor: Refer to the picture taken of the hardware setup. Make sure the little switch on the motor is in the up position
More information( ) ( ) SECTION 1.1, Page ( x 3) 5 = 4( x 5) = 7. x = = = x x+ 0.12(4000 x) = 432
CHAPTER Functions and Graphs SECTION., Page. x + x + x x x. x + x x x x x. ( x ) ( x ) x 6 x x x x x + x x 7. x + x + x + 6 8 x 8 6 x x. x x 6 x 6 x x x 8 x x 8 + x..x +..6.x. x 6 ( n + ) ( n ) n + n.
More informationCapacitors in an AC circuit
Capacitors in an AC circuit Copyright (c) 2011 2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
More informationMath 56 Homework 1 Michael Downs. ne n 10 + ne n (1)
. Problem (a) Yes. The following equation: ne n + ne n () holds for all n R but, since we re only concerned with the asymptotic behavior as n, let us only consider n >. Dividing both sides by n( + ne n
More informationUser's Guide. 0 Contents. François Cuvelier December 16, Introduction 2
User's Guide François Cuvelier December 16, 2017 Abstract This Matlab toolbox uses a simesh object, comming from the fcsimesh toolbox, to display simplicial meshes or datas on simplicial meshes. Its kernel
More informationSYSTEM BRIEF DAILY SUMMARY
SYSTEM BRIEF DAILY SUMMARY * ANNUAL MaxTemp NEL (MWH) Hr Ending Hr Ending LOAD (PEAK HOURS 7:00 AM TO 10:00 PM MON-SAT) ENERGY (MWH) INCREMENTAL COST DAY DATE Civic TOTAL MAXIMUM @Max MINIMUM @Min FACTOR
More informationTILT, DAYLIGHT AND SEASONS WORKSHEET
TILT, DAYLIGHT AND SEASONS WORKSHEET Activity Description: Students will use a data table to make a graph for the length of day and average high temperature in Utah. They will then answer questions based
More information1 Mechanistic and generative models of network structure
1 Mechanistic and generative models of network structure There are many models of network structure, and these largely can be divided into two classes: mechanistic models and generative or probabilistic
More informationMath 308 Week 8 Solutions
Math 38 Week 8 Solutions There is a solution manual to Chapter 4 online: www.pearsoncustom.com/tamu math/. This online solutions manual contains solutions to some of the suggested problems. Here are solutions
More informationThe Linear Shooting Method -(8.4)
The Linear Shooting Method -(8.4) Consider the boundary value problems (BVPs) for the second order differential equation of the form (*) y fx,y,y, a x b, ya and yb. Under what conditions a boundary value
More informationECE2111 Signals and Systems UMD, Spring 2013 Experiment 1: Representation and manipulation of basic signals in MATLAB
ECE2111 Signals and Systems UMD, Spring 2013 Experiment 1: Representation and manipulation of basic signals in MATLAB MATLAB is a tool for doing numerical computations with matrices and vectors. It can
More informationClasses 6. Scilab: Symbolic and numerical calculations
Classes 6. Scilab: Symbolic and numerical calculations Note: When copying and pasting, you need to delete pasted single quotation marks and type them manually for each occurrence. 6.1 Creating polynomials
More informationWinter 2013 EECS 332 Digital Image Analysis Machine Problem 1 Connect Component Analysis
Winter 2013 EECS 332 Digital Image Analysis Machine Problem 1 Connect Component Analysis Jiangtao Gou Department of Statistics, Northwestern University Instructor: Prof. Ying Wu 22 January 2013 1 Introduction
More informationExponential of a nonnormal matrix
Exponential of a nonnormal matrix Mario Berljafa Stefan Güttel February 2015 Contents 1 Introduction 1 2 Running RKFIT with real data 1 3 Evaluating the rational approximant 3 4 Some other choices for
More informationMATLAB Examples. Mathematics. Hans-Petter Halvorsen, M.Sc.
MATLAB Examples Mathematics Hans-Petter Halvorsen, M.Sc. Mathematics with MATLAB MATLAB is a powerful tool for mathematical calculations. Type help elfun (elementary math functions) in the Command window
More informationCapacitor Young Won Lim 06/22/2017
Capacitor Copyright (c) 2011 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version
More informationSYSTEM BRIEF DAILY SUMMARY
SYSTEM BRIEF DAILY SUMMARY * ANNUAL MaxTemp NEL (MWH) Hr Ending Hr Ending LOAD (PEAK HOURS 7:00 AM TO 10:00 PM MON-SAT) ENERGY (MWH) INCREMENTAL COST DAY DATE Civic TOTAL MAXIMUM @Max MINIMUM @Min FACTOR
More informationObjectives. Materials
. Objectives Activity 13 To graphically represent and analyze climate data To use linear regressions to understand the relationship between temperatures as measured in the Fahrenheit and Celsius scale
More informationEE364b Homework 5. A ij = φ i (x i,y i ) subject to Ax + s = 0, Ay + t = 0, with variables x, y R n. This is the bi-commodity network flow problem.
EE364b Prof. S. Boyd EE364b Homewor 5 1. Distributed method for bi-commodity networ flow problem. We consider a networ (directed graph) with n arcs and p nodes, described by the incidence matrix A R p
More informationUNIT-IV DIFFERENTIATION
UNIT-IV DIFFERENTIATION BASIC CONCEPTS OF DIFFERTIATION Consider a function yf(x) of a variable x. Suppose x changes from an initial value x 0 to a final value x 1. Then the increment in x defined to be
More informationDecember 18, 2017 Section W Nandyalam
Mathematica Gift #11 Problem Complete the following 15 exercises in a Mathematica notebook. You should write the problem in a text cell and show your work below the question. Questions Question 1 Compute
More informationIntroduction. Matlab output for Problems 1 2. SOLUTIONS (Carl Tape) Ge111, Assignment #3: Gravity April 25, 2006
SOLUTIONS (Carl Tape) Ge111, Assignment #3: Gravity April 25, 26 Introduction The point of this solution set is merely to plot the gravity data and show the basic computations. This document contains a
More information2.1 Identifying Patterns
I. Foundations for Functions 2.1 Identifying Patterns: Leaders' Notes 2.1 Identifying Patterns Overview: Objective: s: Materials: Participants represent linear relationships among quantities using concrete
More informationMathematical Computing with MATLAB
Mathematical Computing with MATLAB By Dr. Rajesh Kumar PhD, PDF (NUS, Singapore) SMIEEE, FIETE, MIE (I), LMCSI, SMIACSIT, LMISTE, MIAENG Associate Professor, Department of Electrical Engineering Adjunct
More informationLocal Basis Function Representations of Thermodynamic Surfaces. by J.Michael Brown
Local Basis Function Representations of Thermodynamic Surfaces by J.Michael Brown This script performs the calculations associated with the section titled: Reanalysis of Sound Speed Measurements for Water
More informationIs the World Going to End in 2029?
Is the World Going to End in 9? No, but why do you ask? Asteroid (MN ) a.k.a. is a near-earth asteroid discovered in. Preliminary orbital calculations indicated that in would slam into on April 3, 9. Since
More informationFall 2003 Math 308/ Numerical Methods 3.6, 3.7, 5.3 Runge-Kutta Methods Mon, 27/Oct c 2003, Art Belmonte
Fall Math 8/ Numerical Methods.6,.7,. Runge-Kutta Methods Mon, 7/Oct c, Art Belmonte Summary Geometrical idea Runge-Kutta methods numerically approximate the solution of y = f (t, y), y(a) = y by using
More informationSolutions to Homework 8 - Continuous-Time Markov Chains
Solutions to Homework 8 - Continuous-Time Markov Chains 1) Insurance cash flow. A) CTMC states. Since we assume that c, d and X max are integers, while the premiums that the customers pay are worth 1,
More informationFigure 1: Visualising the input features. Figure 2: Visualising the input-output data pairs.
Regression. Data visualisation (a) To plot the data in x trn and x tst, we could use MATLAB function scatter. For example, the code for plotting x trn is scatter(x_trn(:,), x_trn(:,));........... x (a)
More informationLesson 5 Practice Problems
Name: Date: Lesson 5 Section 5.1: Linear Functions vs. Exponential Functions 1. Complete the table below. Function Linear or Exponential? Linear: Increasing or Decreasing? Exponential: Growth or Decay?
More informationEE3210 Lab 3: Periodic Signal Representation by Fourier Series
City University of Hong Kong Department of Electronic Engineering EE321 Lab 3: Periodic Signal Representation by Fourier Series Prelab: Read the Background section. Complete Section 2.2(b), which asks
More informationLecture 10: Markov Chains
Lecture 10: Markov Chains Review of Markov Chains Let s see an example called city-suburb problem: Suppose the population of a city and its suburbs were measured each years. Because the total population
More informationLesson Adaptation Activity: Analyzing and Interpreting Data
Lesson Adaptation Activity: Analyzing and Interpreting Data Related MA STE Framework Standard: 3-ESS2-1. Use graphs and tables of local weather data to describe and predict typical weather during a particular
More informationTemperature measurement
Luleå University of Technology Johan Carlson Last revision: July 22, 2009 Measurement Technology and Uncertainty Analysis - E7021E Lab 3 Temperature measurement Introduction In this lab you are given a
More informationIntroduction to GNU Octave
Introduction to GNU Octave A brief tutorial for linear algebra and calculus students by Jason Lachniet Introduction to GNU Octave A brief tutorial for linear algebra and calculus students Jason Lachniet
More informationEE 224 Lab: Graph Signal Processing
EE Lab: Graph Signal Processing In our previous labs, we dealt with discrete-time signals and images. We learned convolution, translation, sampling, and frequency domain representation of discrete-time
More informationChapter I: Hands-on experience in SCILAB operations
Chapter I: Hands-on experience in SCILAB operations Introduction to SCILAB SCILAB is a numerical mathematical equation solver which involves a powerful open computing environment for engineering and scientific
More informationDFT Octave Codes (0B) Young Won Lim 4/15/17
Copyright (c) 2009-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published
More information