Introduction to MATLAB
|
|
|
- Toby Hensley
- 9 years ago
- Views:
Transcription
1 Introduction to MATLAB MathWorks Logo Markus Kuhn Computer Laboratory, University of Cambridge Michaelmas 215 Part II 1 What is MATLAB high-level language (garbage collecting, var-len structures) BASIC-like syntax, with elements from C, GUI IDE basic data type: 2- or 3-dimensional floating-point matrix most operators and functions work on entire matrices hardly ever necessary to write out loops uses internally highly optimized numerics libraries (BLAS, LAPACK, FFTW) comprehensive toolboxes for easy access to standard algorithms from many fields: statistics, machine learning, image processing, signal processing, neural networks, wavelets, communications systems very simple I/O for many data/multimedia file formats popular for experimental/rapid-prototype number crunching widely used as a visualization and teaching tool 2
2 What MATLAB is not not a computer algebra system not a strong general purpose programming language limited support for other data structures few software-engineering features; typical MATLAB programs are only a few lines long not well-suited for teaching OOP limited GUI features not a high-performance language (but fast matrix operators) got better since introduction of JIT compiler (JVM) not freely available (but local campus licence) 3 Open-source MATLAB alternatives Similar to MATLAB, or largely compatible: GNU Octave SciLab FreeMat Other high-level languages for technical computing: R focus on statistics and plotting Python a full-featured programming language. Modules: numpy numerical arrays, fast linear algebra matplotlib MATLAB-like plotting functions Julia interesting MATLAB-inspired modern language SciLua Scientific computing with LuaJIT 4
3 Local availability MATLAB is installed and ready to use on Intel Lab, etc.: MCS Windows Intel Lab, etc.: MCS Linux (/usr/bin/matlab) CL MCS Linux server: ssh -X linux.cl.ds.cam.ac.uk MCS Linux server: ssh -X linux.ds.cam.ac.uk Computer Laboratory managed Linux PCs cl-matlab -> /usr/groups/matlab/current/bin/matlab Campus license allows installation on staff/student home PCs: Includes toolboxes for Statistics and Machine Learning, Signal Processing, Image Processing, Bioinformatics, Control Systems, Wavelets,... Setup account with address to download latest release (Linux, OS X, Windows). Computer Laboratory researchers can access additional toolboxes: 5 Documentation Full documentation built in: start matlab then type doc to browse built-in hypertext manual doc command to jump to a specific manual page (e.g. plot) help command to show plain-text summary of a command Read first: doc MATLAB Getting Started Tutorial videos: Documentation also available online (HTML and PDF): toolboxes Locally installed MATLAB may be half a year behind the latest release. If you spot problems with the MCS MATLAB installation, please do let the lecturer know ( [email protected]). 6
4 MATLAB matrices (1) Generate a magic square with equal row/column/diagonal sums and assign the resulting 3 3 matrix to variable a: >> a = magic(3) a = Assignments and subroutine calls normally end with a semicolon. Without, MATLAB will print each result. Useful for debugging! Results from functions not called inside an expression are assigned to the default variable ans. Type help magic for the manual page of this library function. 7 MATLAB matrices (2) Colon generates number sequence: >> 11: >> -1:1-1 1 >> 3: Empty matrix: 1-by- Specify step size with second colon: >> 1:3: >> 4:-1: >> 3:-.5: Single matrix cell: a(2,3) == 7. Vectors as indices select several rows and columns. When used inside a matrix index, the variable end provides the highest index value: a(end, end-1) == 9. Using just : is equivalent to 1:end and can be used to select an entire row or column. 8
5 MATLAB matrices (3) Select rows, columns and submatrices of a: >> a(1,:) >> a(:,1) >> a(2:3,1:2) Matrices can also be accessed as a 1-dimensional vector: >> a(1:5) >> a(6:end) >> b = a(1:4:9) >> size(b) MATLAB matrices (4) Use [ ] to build new matrices, where, or space as a delimiter joins submatrices horizontally and ; joins them vertically. >> c = [2 7; 3 1] c = >> d = [a(:,end) a(1,:)'] d = >> e = [zeros(1,3); a(2,:)] e = Mask matrix elements: >> find(a > 5) >> a(find(a > 5)) = a =
6 Review: matrix multiplication Each element of the matrix product is the scalar product of the corresponding in the and the corresponding in the 11 Review: inner and outer product of vectors Special cases of matrix multiplication ( ) Row vector times column vector: ( ) = Column vector times row vector: 12
7 MATLAB matrices (5) Operators on scalars and matrices: >> [1 1; 1 ] * [2 3]' 5 2 >> [1 2 3].* [1 1 15] Inner and outer vector product: >> [2 3 5] * [1 7 11]' 78 >> [2 3 5]' * [1 7 11] The imaginary unit vector 1 is available as both i and j, and matrices can be complex. Related functions: real, imag, conj, exp, abs, angle 13 Plotting point raised cosine real imaginary x = :2; y =.5 -.5*cos(2*pi * x/2); stem(x, y); title('2-point raised cosine'); t = :.1:1; x = exp(t * (j - 1/3)); plot(t, real(x), t, imag(x)); grid; legend('real', 'imaginary') Plotting functions plot, semilogx, semilogy, loglog all expect a pair of vectors for each curve, with x and y coordinates, respectively. Use saveas(gcf, 'plot2.eps') to save current figure as graphics file. 14
8 2D plotting xl = -2:.3:2; yl = -2:.3:2; [x,y] = meshgrid(xl, yl); r = sqrt(x.^2 + y.^2); s = sin(r)./ r; s(find(r==)) = 1; plot3(x, y, s); grid on; imagesc(xl, yl, s, [-1 1]); colormap(gray); set(gca, 'DataAspectRatio', [1 1 1]); 15 Some common functions and operators *, ^ matrix multiplication, exponentiation /, \, inv A/B = AB 1, A\B = A 1 B, A 1 +, -,.*,./,.^ element-wise add/sub/mul/div/exp ==, ~=, <, >, <=, >= relations result in element-wise /1 length, size size of vectors and matrices zeros, ones, eye, diag all-, all-1, identity, diag. matrices xlim, ylim, zlim set plot axes ranges xlabel, ylabel, zlabel label plot axes audioread, audiowrite, sound audio I/O csvread, csvwrite comma-separated-value I/O imread, imwrite, image, imagesc, colormap bitmap image I/O plot, semilog{x,y}, loglog 2D curve plotting conv, conv2, xcorr 1D/2D convolution, cross/auto-correlation sequence fft, ifft, fft2 discrete Fourier transform sum, prod, min, max sum up rows or columns cumsum, cumprod, diff cumulative sum or product, differentiate row/column find list non-zero indices figure, saveas open new figure, save figure 16
9 Functions and m-files To define a new function, for example decibel(x) = 1 x/2, write into a file decibel.m the lines function f = decibel(x) % DECIBEL(X) converts a decibel figure X into a factor f = 1.^ (x./ 2); Only the function that has the same name as the m-file in which it is defined can be called from outside the file; all other functions are only visible inside the file. The function keyword sets the variable whose value will be returned and lists the parameter variables. The m-file must be in the current directory (cd) or MATLAB s search path (path) to become accessible. Use edit db to edit the m-file, help db to show the first comment lines and type db to show its source text. M-files can also contain just sequences of statements instead of a function definition. These are called simply by typing their name. 17 Example: generating an audio illusion Generate an audio file with 12 sine tones of apparently continuously exponentially increasing frequency, which never leave the frequency range 3 34 Hz. Do this by letting them wrap around the frequency interval and reduce their volume near the interval boundaries based on a raised-cosine curve applied to the logarithm of the frequency. First produce a 1 s long waveform in which each tone raises 1/12 of the frequency range, then concatenate that to a 6 s long 16-bit WAV file, mono, with 16 khz sampling rate. Avoid phase jumps. Parameters: fs = 16; % sampling frequency [Hz] d = 1; % time after which waveform repeats [s] fmin = 3; % lowest frequency fmax = 34; % highest frequency n = 12; % number of tones 18
10 4 Spectrogram of the first 3 s: Frequency Example solution: t = :1/fs:d-1/fs; % timestamps for each sample point % normalized logarithm of frequency of each tone (row) % for each sample point (column), all rising linearly % from to 1, then wrap around back to l = mod(([:n-1]/n)' * ones(1, fs*d) + ones(n,1) * (t/(d*n)), 1); f = fmin * (fmax/fmin).^ l; % freq. for each tone and sample p = 2*pi * cumsum(f, 2) / fs; % phase for each tone and sample % make last column a multiple of 2*pi for phase continuity p = diag((2*pi*floor(p(:,end)/(2*pi)))./ p(:,end)) * p; s = sin(p); % sine value for each tone and sample % mixing amplitudes from raised-cosine curve over frequency a = * cos(2*pi * l); w = sum(s.* a)/n; % mix tones together, normalize to [-1, +1] w = repmat(w, 1, 3); % repeat waveform 3x specgram(w, 248, fs, 248, 18); ylim([ 4]) % plot w = repmat(w, 1, 2); % repeat waveform 2x audiowrite('ladder.wav', w, fs, 'BitsPerSample', 16); % make audio file 2
Analysis of System Performance IN2072 Chapter M Matlab Tutorial
Chair for Network Architectures and Services Prof. Carle Department of Computer Science TU München Analysis of System Performance IN2072 Chapter M Matlab Tutorial Dr. Alexander Klein Prof. Dr.-Ing. Georg
AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables
AMATH 352 Lecture 3 MATLAB Tutorial MATLAB (short for MATrix LABoratory) is a very useful piece of software for numerical analysis. It provides an environment for computation and the visualization. Learning
(!' ) "' # "*# "!(!' +,
MATLAB is a numeric computation software for engineering and scientific calculations. The name MATLAB stands for MATRIX LABORATORY. MATLAB is primarily a tool for matrix computations. It was developed
Lab 1. The Fourier Transform
Lab 1. The Fourier Transform Introduction In the Communication Labs you will be given the opportunity to apply the theory learned in Communication Systems. Since this is your first time to work in the
u = [ 2 4 5] has one row with three components (a 3 v = [2 4 5] has three rows separated by semicolons (a 3 w = 2:5 generates the row vector w = [ 2 3
MATLAB Tutorial You need a small numb e r 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
Scientific Programming in Python
UCSD March 9, 2009 What is Python? Python in a very high level (scripting) language which has gained widespread popularity in recent years. It is: What is Python? Python in a very high level (scripting)
Beginner s Matlab Tutorial
Christopher Lum [email protected] Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions
Introduction to MATLAB
Introduction to MATLAB What is MATLAB? MATLAB ( MATrix LABoratory ) is a tool for numerical computation and visualization. The basic data element is a matrix, so if you need a program that manipulates
Curve Fitting, Loglog Plots, and Semilog Plots 1
Curve Fitting, Loglog Plots, and Semilog Plots 1 In this MATLAB exercise, you will learn how to plot data and how to fit lines to your data. Suppose you are measuring the height h of a seedling as it grows.
Financial Econometrics MFE MATLAB Introduction. Kevin Sheppard University of Oxford
Financial Econometrics MFE MATLAB Introduction Kevin Sheppard University of Oxford October 21, 2013 2007-2013 Kevin Sheppard 2 Contents Introduction i 1 Getting Started 1 2 Basic Input and Operators 5
Introduction to Matlab
Introduction to Matlab Social Science Research Lab American University, Washington, D.C. Web. www.american.edu/provost/ctrl/pclabs.cfm Tel. x3862 Email. [email protected] Course Objective This course provides
Basic Concepts in Matlab
Basic Concepts in Matlab Michael G. Kay Fitts Dept. of Industrial and Systems Engineering North Carolina State University Raleigh, NC 769-7906, USA [email protected] September 00 Contents. The Matlab Environment.
1 Topic. 2 Scilab. 2.1 What is Scilab?
1 Topic Data Mining with Scilab. I know the name "Scilab" for a long time (http://www.scilab.org/en). For me, it is a tool for numerical analysis. It seemed not interesting in the context of the statistical
Signal Processing First Lab 01: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.
Signal Processing First Lab 01: Introduction to MATLAB Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section
Programming Exercise 3: Multi-class Classification and Neural Networks
Programming Exercise 3: Multi-class Classification and Neural Networks Machine Learning November 4, 2011 Introduction In this exercise, you will implement one-vs-all logistic regression and neural networks
CS1112 Spring 2014 Project 4. Objectives. 3 Pixelation for Identity Protection. due Thursday, 3/27, at 11pm
CS1112 Spring 2014 Project 4 due Thursday, 3/27, at 11pm You must work either on your own or with one partner. If you work with a partner you must first register as a group in CMS and then submit your
B3. Short Time Fourier Transform (STFT)
B3. Short Time Fourier Transform (STFT) Objectives: Understand the concept of a time varying frequency spectrum and the spectrogram Understand the effect of different windows on the spectrogram; Understand
SmartArrays and Java Frequently Asked Questions
SmartArrays and Java Frequently Asked Questions What are SmartArrays? A SmartArray is an intelligent multidimensional array of data. Intelligent means that it has built-in knowledge of how to perform operations
Intro to scientific programming (with Python) Pietro Berkes, Brandeis University
Intro to scientific programming (with Python) Pietro Berkes, Brandeis University Next 4 lessons: Outline Scientific programming: best practices Classical learning (Hoepfield network) Probabilistic learning
Linear Algebra Review. Vectors
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka [email protected] http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length
Exercise 0. Although Python(x,y) comes already with a great variety of scientic Python packages, we might have to install additional dependencies:
Exercise 0 Deadline: None Computer Setup Windows Download Python(x,y) via http://code.google.com/p/pythonxy/wiki/downloads and install it. Make sure that before installation the installer does not complain
Tutorial Program. 1. Basics
1. Basics Working environment Dealing with matrices Useful functions Logical operators Saving and loading Data management Exercises 2. Programming Basics graphics settings - ex Functions & scripts Vectorization
VisIt Visualization Tool
The Center for Astrophysical Thermonuclear Flashes VisIt Visualization Tool Randy Hudson [email protected] Argonne National Laboratory Flash Center, University of Chicago An Advanced Simulation and Computing
MATLAB Functions. function [Out_1,Out_2,,Out_N] = function_name(in_1,in_2,,in_m)
MATLAB Functions What is a MATLAB function? A MATLAB function is a MATLAB program that performs a sequence of operations specified in a text file (called an m-file because it must be saved with a file
DAQ in MATLAB HANS-PETTER HALVORSEN, 2012.09.11
Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics DAQ in MATLAB HANS-PETTER HALVORSEN, 2012.09.11 Faculty of Technology, Postboks 203, Kjølnes ring
Computational Foundations of Cognitive Science
Computational Foundations of Cognitive Science Lecture 15: Convolutions and Kernels Frank Keller School of Informatics University of Edinburgh [email protected] February 23, 2010 Frank Keller Computational
CD-ROM Appendix E: Matlab
CD-ROM Appendix E: Matlab Susan A. Fugett Matlab version 7 or 6.5 is a very powerful tool useful for many kinds of mathematical tasks. For the purposes of this text, however, Matlab 7 or 6.5 will be used
Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data
Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data In the measurement of the Spin-Lattice Relaxation time T 1, a 180 o pulse is followed after a delay time of t with a 90 o pulse,
Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors
Chapter 9. General Matrices An n m matrix is an array a a a m a a a m... = [a ij]. a n a n a nm The matrix A has n row vectors and m column vectors row i (A) = [a i, a i,..., a im ] R m a j a j a nj col
Scientific Programming, Analysis, and Visualization with Python. Mteor 227 Fall 2015
Scientific Programming, Analysis, and Visualization with Python Mteor 227 Fall 2015 Python The Big Picture Interpreted General purpose, high-level Dynamically type Multi-paradigm Object-oriented Functional
Using MATLAB to Measure the Diameter of an Object within an Image
Using MATLAB to Measure the Diameter of an Object within an Image Keywords: MATLAB, Diameter, Image, Measure, Image Processing Toolbox Author: Matthew Wesolowski Date: November 14 th 2014 Executive Summary
Programming in MATLAB
University of Southern Denmark An introductory set of notes Programming in MATLAB Authors: Nicky C. Mattsson Christian D. Jørgensen Web pages: imada.sdu.dk/ nmatt11 imada.sdu.dk/ chjoe11 November 10, 2014
Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering
Engineering Problem Solving and Excel EGN 1006 Introduction to Engineering Mathematical Solution Procedures Commonly Used in Engineering Analysis Data Analysis Techniques (Statistics) Curve Fitting techniques
MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3
MATH0 Notebook Fall Semester 06/07 prepared by Professor Jenny Baglivo c Copyright 009 07 by Jenny A. Baglivo. All Rights Reserved. Contents MATH0 Notebook 3. Solving Systems of Linear Equations........................
How long is the vector? >> length(x) >> d=size(x) % What are the entries in the matrix d?
MATLAB : A TUTORIAL 1. Creating vectors..................................... 2 2. Evaluating functions y = f(x), manipulating vectors. 4 3. Plotting............................................ 5 4. Miscellaneous
Lab 3: Introduction to Data Acquisition Cards
Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied
G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P.
SQL databases An introduction AMP: Apache, mysql, PHP This installations installs the Apache webserver, the PHP scripting language, and the mysql database on your computer: Apache: runs in the background
Structural Health Monitoring Tools (SHMTools)
Structural Health Monitoring Tools (SHMTools) Getting Started LANL/UCSD Engineering Institute LA-CC-14-046 c Copyright 2014, Los Alamos National Security, LLC All rights reserved. May 30, 2014 Contents
Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP
Department of Electrical and Computer Engineering Ben-Gurion University of the Negev LAB 1 - Introduction to USRP - 1-1 Introduction In this lab you will use software reconfigurable RF hardware from National
The Fourier Analysis Tool in Microsoft Excel
The Fourier Analysis Tool in Microsoft Excel Douglas A. Kerr Issue March 4, 2009 ABSTRACT AD ITRODUCTIO The spreadsheet application Microsoft Excel includes a tool that will calculate the discrete Fourier
How To Use Matlab
INTRODUCTION TO MATLAB FOR ENGINEERING STUDENTS David Houcque Northwestern University (version 1.2, August 2005) Contents 1 Tutorial lessons 1 1 1.1 Introduction.................................... 1 1.2
Programming Languages & Tools
4 Programming Languages & Tools Almost any programming language one is familiar with can be used for computational work (despite the fact that some people believe strongly that their own favorite programming
Auto-Tuning Using Fourier Coefficients
Auto-Tuning Using Fourier Coefficients Math 56 Tom Whalen May 20, 2013 The Fourier transform is an integral part of signal processing of any kind. To be able to analyze an input signal as a superposition
PLOTTING IN SCILAB. www.openeering.com
powered by PLOTTING IN SCILAB In this Scilab tutorial we make a collection of the most important plots arising in scientific and engineering applications and we show how straightforward it is to create
Lecture Notes 2: Matrices as Systems of Linear Equations
2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably
MATLAB Tutorial. Chapter 6. Writing and calling functions
MATLAB Tutorial Chapter 6. Writing and calling functions In this chapter we discuss how to structure a program with multiple source code files. First, an explanation of how code files work in MATLAB is
Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.
Prentice Hall Mathematics: Algebra 2 2007 Correlated to: Utah Core Curriculum for Math, Intermediate Algebra (Secondary)
Core Standards of the Course Standard 1 Students will acquire number sense and perform operations with real and complex numbers. Objective 1.1 Compute fluently and make reasonable estimates. 1. Simplify
Numerical Methods in MATLAB
Numerical Methods in MATLAB Center for Interdisciplinary Research and Consulting Department of Mathematics and Statistics University of Maryland, Baltimore County www.umbc.edu/circ Winter 2008 Mission
Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command
7 Getting Started 7.1 Construction of a Simple Diagram Scicos contains a graphical editor that can be used to construct block diagram models of dynamical systems. The blocks can come from various palettes
Chapter 2. Point transformation. Look up Table (LUT) Fundamentals of Image processing
Chapter 2 Fundamentals of Image processing Point transformation Look up Table (LUT) 1 Introduction (1/2) 3 Types of operations in Image Processing - m: rows index - n: column index Point to point transformation
MATLAB Workshop 14 - Plotting Data in MATLAB
MATLAB: Workshop 14 - Plotting Data in MATLAB page 1 MATLAB Workshop 14 - Plotting Data in MATLAB Objectives: Learn the basics of displaying a data plot in MATLAB. MATLAB Features: graphics commands Command
Introductory Course to Matlab with Financial Case Studies
University of Cyprus Public Business Administration Department Introductory Course to Matlab with Financial Case Studies Prepared by: Panayiotis Andreou PhD Candidate PBA UCY Lefkosia, September 003 Table
Simple Programming in MATLAB. Plotting a graph using MATLAB involves three steps:
Simple Programming in MATLAB Plotting Graphs: We will plot the graph of the function y = f(x) = e 1.5x sin(8πx), 0 x 1 Plotting a graph using MATLAB involves three steps: Create points 0 = x 1 < x 2
Computational Mathematics with Python
Boolean Arrays Classes Computational Mathematics with Python Basics Olivier Verdier and Claus Führer 2009-03-24 Olivier Verdier and Claus Führer Computational Mathematics with Python 2009-03-24 1 / 40
Simulation Tools. Python for MATLAB Users I. Claus Führer. Automn 2009. Claus Führer Simulation Tools Automn 2009 1 / 65
Simulation Tools Python for MATLAB Users I Claus Führer Automn 2009 Claus Führer Simulation Tools Automn 2009 1 / 65 1 Preface 2 Python vs Other Languages 3 Examples and Demo 4 Python Basics Basic Operations
Today's Topics. COMP 388/441: Human-Computer Interaction. simple 2D plotting. 1D techniques. Ancient plotting techniques. Data Visualization:
COMP 388/441: Human-Computer Interaction Today's Topics Overview of visualization techniques 1D charts, 2D plots, 3D+ techniques, maps A few guidelines for scientific visualization methods, guidelines,
Introduction to R and UNIX Working with microarray data in a multi-user environment
Microarray Data Analysis Workshop MedVetNet Workshop, DTU 2008 Introduction to R and UNIX Working with microarray data in a multi-user environment Carsten Friis Media glna tnra GlnA TnrA C2 glnr C3 C5
Analysis Programs DPDAK and DAWN
Analysis Programs DPDAK and DAWN An Overview Gero Flucke FS-EC PNI-HDRI Spring Meeting April 13-14, 2015 Outline Introduction Overview of Analysis Programs: DPDAK DAWN Summary Gero Flucke (DESY) Analysis
CRASH COURSE PYTHON. Het begint met een idee
CRASH COURSE PYTHON nr. Het begint met een idee This talk Not a programming course For data analysts, who want to learn Python For optimizers, who are fed up with Matlab 2 Python Scripting language expensive
2+2 Just type and press enter and the answer comes up ans = 4
Demonstration Red text = commands entered in the command window Black text = Matlab responses Blue text = comments 2+2 Just type and press enter and the answer comes up 4 sin(4)^2.5728 The elementary functions
Core Curriculum to the Course:
Core Curriculum to the Course: Environmental Science Law Economy for Engineering Accounting for Engineering Production System Planning and Analysis Electric Circuits Logic Circuits Methods for Electric
MatLab Basics. Now, press return to see what Matlab has stored as your variable x. You should see:
MatLab Basics MatLab was designed as a Matrix Laboratory, so all operations are assumed to be done on matrices unless you specifically state otherwise. (In this context, numbers (scalars) are simply regarded
Experimental Identification an Interactive Online Course
Proceedings of the 17th World Congress The International Federation of Automatic Control Experimental Identification an Interactive Online Course L. Čirka, M. Fikar, M. Kvasnica, and M. Herceg Institute
MATLAB MANUAL AND INTRODUCTORY TUTORIALS
MATLAB MANUAL AND INTRODUCTORY TUTORIALS Ivan Graham, with some revisions by Nick Britton, Mathematical Sciences, University of Bath February 9, 2005 This manual provides an introduction to MATLAB with
1 Introduction to Matrices
1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns
MATLAB LECTURE NOTES. Dr. ADİL YÜCEL. Istanbul Technical University Department of Mechanical Engineering
MATLAB LECTURE NOTES Dr. ADİL YÜCEL Istanbul Technical University Department of Mechanical Engineering MATLAB LECTURE NOTES Student Name Student ID Dr. ADİL YÜCEL Istanbul Technical University Department
EDM SOFTWARE ENGINEERING DATA MANAGEMENT SOFTWARE
EDM SOFTWARE ENGINEERING DATA MANAGEMENT SOFTWARE MODERN, UPATED INTERFACE WITH INTUITIVE LAYOUT DRAG & DROP SCREENS, GENERATE REPORTS WITH ONE CLICK, AND UPDATE SOFTWARE ONLINE ipad APP VERSION AVAILABLE
IDL. Get the answers you need from your data. IDL
Get the answers you need from your data. IDL is the preferred computing environment for understanding complex data through interactive visualization and analysis. IDL Powerful visualization. Interactive
3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; [email protected], and Dr. J.A. Dobelman
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; [email protected], and Dr. J.A. Dobelman Statistics lab will be mainly focused on applying what you have learned in class with
Appendix H: Control System Computational Aids
E1BAPP08 11/02/2010 11:56:59 Page 1 Appendix H: Control System Computational Aids H.1 Step Response of a System Represented in State Space In this section we will discuss how to obtain the step response
Computing Fourier Series and Power Spectrum with MATLAB
Computing Fourier Series and Power Spectrum with MATLAB By Brian D. Storey. Introduction Fourier series provides an alternate way of representing data: instead of representing the signal amplitude as a
Appendix: Tutorial Introduction to MATLAB
Resampling Stats in MATLAB 1 This document is an excerpt from Resampling Stats in MATLAB Daniel T. Kaplan Copyright (c) 1999 by Daniel T. Kaplan, All Rights Reserved This document differs from the published
Polynomial Neural Network Discovery Client User Guide
Polynomial Neural Network Discovery Client User Guide Version 1.3 Table of contents Table of contents...2 1. Introduction...3 1.1 Overview...3 1.2 PNN algorithm principles...3 1.3 Additional criteria...3
CHAPTER 6 Frequency Response, Bode Plots, and Resonance
ELECTRICAL CHAPTER 6 Frequency Response, Bode Plots, and Resonance 1. State the fundamental concepts of Fourier analysis. 2. Determine the output of a filter for a given input consisting of sinusoidal
CUDAMat: a CUDA-based matrix class for Python
Department of Computer Science 6 King s College Rd, Toronto University of Toronto M5S 3G4, Canada http://learning.cs.toronto.edu fax: +1 416 978 1455 November 25, 2009 UTML TR 2009 004 CUDAMat: a CUDA-based
Spline Toolbox Release Notes
Spline Toolbox Release Notes Note The Spline Toolbox 3.1 was released in Web-downloadable form after Release 12.1 was released, but before Release 13. The Spline Toolbox 3.1.1 that is part of Release 13
Little LFO. Little LFO. User Manual. by Little IO Co.
1 Little LFO User Manual Little LFO by Little IO Co. 2 Contents Overview Oscillator Status Switch Status Light Oscillator Label Volume and Envelope Volume Envelope Attack (ATT) Decay (DEC) Sustain (SUS)
PLOTTING COMMANDS (!' ) "' # "*# "!(!' +,
PLOTTING COMMANDS Logarithmic and semi-logarithmic plots can be generated using the commands loglog, semilogx, and semilogy. The use of the above plot commands is similar to those of the plot command discussed
MACHINE LEARNING IN HIGH ENERGY PHYSICS
MACHINE LEARNING IN HIGH ENERGY PHYSICS LECTURE #1 Alex Rogozhnikov, 2015 INTRO NOTES 4 days two lectures, two practice seminars every day this is introductory track to machine learning kaggle competition!
RightMark Audio Analyzer 6.0. User s Guide
RightMark Audio Analyzer 6.0 User s Guide About RMAA RightMark Audio Analyzer is intended for testing the quality of analog and digital sound sections of any audio equipment, be it a sound card, portable
Part #3. AE0B17MTB Matlab. Pavel Valtr [email protected] Miloslav Čapek, Filip Kozák, Viktor Adler
AE0B17MTB Matlab Part #3 Pavel Valtr [email protected] Miloslav Čapek, Filip Kozák, Viktor Adler Department of Electromagnetic Field B2-626, Prague Learning how to Indexing ResTable.data1(... PsoData.cond{crt}(spr,2),...
CLIO 8 CLIO 8 CLIO 8 CLIO 8
CLIO 8, by Audiomatica, is the new measurement software for the CLIO System. The CLIO System is the easiest and less expensive way to measure: - electrical networks - electronic equipment - loudspeaker
Developing applications under CODE COMPOSER STUDIO
Developing applications under CODE COMPOSER STUDIO 1. General Overview Code Composer Studio (CCS ) is a very efficient instrument for the fast development of applications that are written for the DSP families
Matlab GUI for WFB spectral analysis
Matlab GUI for WFB spectral analysis Jan Nováček Department of Radio Engineering K13137, CTU FEE Prague Abstract In the case of the sound signals analysis we usually use logarithmic scale on the frequency
Computational Mathematics with Python
Computational Mathematics with Python Basics Claus Führer, Jan Erik Solem, Olivier Verdier Spring 2010 Claus Führer, Jan Erik Solem, Olivier Verdier Computational Mathematics with Python Spring 2010 1
The continuous and discrete Fourier transforms
FYSA21 Mathematical Tools in Science The continuous and discrete Fourier transforms Lennart Lindegren Lund Observatory (Department of Astronomy, Lund University) 1 The continuous Fourier transform 1.1
Computational Mathematics with Python
Numerical Analysis, Lund University, 2011 1 Computational Mathematics with Python Chapter 1: Basics Numerical Analysis, Lund University Claus Führer, Jan Erik Solem, Olivier Verdier, Tony Stillfjord Spring
Performance Monitoring using Pecos Release 0.1
Performance Monitoring using Pecos Release 0.1 Apr 19, 2016 Contents 1 Overview 1 2 Installation 1 3 Simple example 2 4 Time series data 5 5 Translation dictionary 5 6 Time filter 6 7 Quality control tests
Solutions to Exam in Speech Signal Processing EN2300
Solutions to Exam in Speech Signal Processing EN23 Date: Thursday, Dec 2, 8: 3: Place: Allowed: Grades: Language: Solutions: Q34, Q36 Beta Math Handbook (or corresponding), calculator with empty memory.
Setting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop
CS-1004, Introduction to Programming for Non-Majors, C-Term 2015 Setting up Python 3.4 and numpy and matplotlib on your own Windows PC or laptop Hugh C. Lauer Adjunct Professor Worcester Polytechnic Institute
Advanced Functions and Modules
Advanced Functions and Modules CB2-101 Introduction to Scientific Computing November 19, 2015 Emidio Capriotti http://biofold.org/ Institute for Mathematical Modeling of Biological Systems Department of
Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.
Excel Tutorial Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Working with Data Entering and Formatting Data Before entering data
THE NAS KERNEL BENCHMARK PROGRAM
THE NAS KERNEL BENCHMARK PROGRAM David H. Bailey and John T. Barton Numerical Aerodynamic Simulations Systems Division NASA Ames Research Center June 13, 1986 SUMMARY A benchmark test program that measures
