SCIENTIFIC COMPUTING 7P-100-SCI
|
|
- Anastasia Hoover
- 5 years ago
- Views:
Transcription
1 Engineering cycle, 2nd year 1 SCIENTIFIC COMPUTING 7P-100-SCI Lesson 1: General introduction and reminder on Matlab Hervé Sauer, Charles Bourassin-Bouchet, Mondher Besbes Ludivine Emeric, Léo Wojszvzyk
2 Scientific Computing 2 Some practical points 8x4h tutorials (1 per week) in the teaching unit «Systems S1» Final exam: 1h1/2, December 11 th 2018 Course 0235 on Libres Savoirs: A complete Matlab manual + PPT of the lessons The tutorials and their corrections + The SupOptique toolbox Campus license : Install the latest version of Matlab for free on your personal PC/Mac (details on Libres Savoirs) The computer sciences rooms are open 24/24h, 6/7 days (closed on sundays)
3 Scientific Computing 3 What is Matlab MATLAB: MAtrix LABoratory Programming language + integrated development environment (IDE) for scientific computing Can be used for: data processing, numerical simulations, computer code prototyping Created in the late 70 s by Clive Moler, Prof. of numerical analysis and linear algebra in the University of New-Mexico ~1 million users worldwide Used by 60% of IO former students 2000 per license + ~600 per extra toolbox
4 Scientific Computing 4 Why scientific computing? Learn how to solve complex scientific and engineering problems with a computer Scientific computing (M1 course) Applied mathematics with Matlab and Comsol Initiation to Matlab (L3 course) Programming with Matlab Outline: How to use vectors, matrices, 2D graphics (Reminder) and 3D graphics (New) Advanced programming in Matlab Linear least-squares and singular-value decomposition (SVD) Nonlinear least-squares and optimisation 2D Fast Fourier Transform and applications Ordinary differential equations & Partial derivative differential equations Introduction to Comsol Multiphysics + some surprises
5 Scientific Computing 5 Why scientific computing? Learn how to solve complex scientific and engineering problems with a computer Scientific computing (M1 course) Applied mathematics with Matlab and Comsol Initiation to Matlab (L3 course) Programming with Matlab Outline: How to use vectors, matrices, 2D graphics (Reminder) and 3D graphics (New) Advanced programming in Matlab Linear least-squares and singular-value decomposition (SVD) Nonlinear least-squares and optimisation 2D Fast Fourier Transform and applications Ordinary differential equations & Partial derivative differential equations Introduction to Comsol Multiphysics + some surprises
6 Scientific Computing 6 Graphical interface 1. The Command window: Use it as a calculator 2. The script editor: Write Script/Livescripts or functions 3. The workspace: List of the currently used variables
7 Scientific Computing 7 Use the help When using Matlab in your future life, the help will always be available, the teacher won t! Get familiar with the help!
8 Scientific Computing 8 Introduction to Livescript Type in the command «CopieTravail LiveScript_Exemple1_ENG.mlx» (This command copies the file in your current directory and then opens it in the editor). 1. Run successively sections 1 to 4 in the Live Script, and pay attention to the code and the obtained results 2. Run section 5, modify the code in a suitable way then run it again. 3. Answer to the questions in sections 6 and 7 It s your turn!
9 Scientific Computing 9 Organizing a project in Matlab The commands in a Script (or in the Command Window) call functions that perform a specific task. C main.c int main() { Arg = Myfunction(arg1,arg2); } source.c (+ source.h) int Myfunction(int arg1, int arg2) { }
10 Scientific Computing 10 Organizing a project in Matlab The commands in a Script (or in the Command Window) call functions that perform a specific task. C main.c int main() { Arg = Myfunction(arg1,arg2); } Matlab My_script.m %Calls the function Myfunction() Arg = Myfunction(arg1,arg2); source.c (+ source.h) int Myfunction(int arg1, int arg2) { } Myfunction.m function Arg = Myfunction(arg1,arg2)
11 Scientific Computing 11 Functions File Poynting.m function P = Poynting( E, B) % Poynting: Evaluate the Poynting vector of an electromagnetic field % USE: P=Poynting(E,B) % E: Complex 3-component vector: the complex amplitude of the electrical field vector (Ex,Ey,Ez) in V/m. % B: Complex 3-component vector: the complex amplitude of the magnetic field vector (Bx,By,Bz) in tesla. % P: Real 3-component vector, giving the componant (rpx,rpy,rpz) % of the real part of the complex Poynting vector in W/m². % Cf. [Jackson, Classical Electrodynamics, 3rd Ed, Wiley 1998] mu0 = 4*pi*1E-7; % Vacuum permeability (H/m) P = real(cross(e,conj(b)))/(2*mu0); % cross computes the cross product end
12 Scientific Computing 12 Functions File Poynting.m Variable which contains the output of the function Name of the function function P = Poynting( E, B) % Poynting: Evaluate the Poynting vector of an electromagnetic field % USE: P=Poynting(E,B) % E: Complex 3-component vector: the complex amplitude of the electrical field vector (Ex,Ey,Ez) in V/m. % B: Complex 3-component vector: the complex amplitude of the magnetic field vector (Bx,By,Bz) in tesla. % P: Real 3-component vector, giving the componant (rpx,rpy,rpz) % of the real part of the complex Poynting vector in W/m². % Cf. [Jackson, Classical Electrodynamics, 3rd Ed, Wiley 1998] mu0 = 4*pi*1E-7; % Vacuum permeability (H/m) P = real(cross(e,conj(b)))/(2*mu0); % cross computes the cross product end Variables which contains the inputs of the function
13 Header comments Heading Scientific Computing 13 Functions File Poynting.m Variable which contains the output of the function Name of the function function P = Poynting( E, B) % Poynting: Evaluate the Poynting vector of an electromagnetic field % USE: P=Poynting(E,B) % E: Complex 3-component vector: the complex amplitude of the electrical field vector (Ex,Ey,Ez) in V/m. % B: Complex 3-component vector: the complex amplitude of the magnetic field vector (Bx,By,Bz) in tesla. % P: Real 3-component vector, giving the componant (rpx,rpy,rpz) % of the real part of the complex Poynting vector in W/m². % Cf. [Jackson, Classical Electrodynamics, 3rd Ed, Wiley 1998] mu0 = 4*pi*1E-7; % Vacuum permeability (H/m) Variables which contains the inputs of the function Local variable P = real(cross(e,conj(b)))/(2*mu0); % cross computes the cross product end
14 Header comments Heading Scientific Computing 14 Functions File Poynting.m Variable which contains the output of the function Name of the function Variables which contains the inputs of the function function P = Poynting( E, B) % Poynting: Evaluate the Poynting vector of an electromagnetic field % USE: P=Poynting(E,B) % E: Complex 3-component vector: the complex amplitude of the electrical field vector (Ex,Ey,Ez) in V/m. % B: Complex 3-component vector: the complex amplitude of the magnetic field vector (Bx,By,Bz) in tesla. % P: Real 3-component vector, giving the componant (rpx,rpy,rpz) % of the real part of the complex Poynting vector in W/m². % Cf. [Jackson, Classical Electrodynamics, 3rd Ed, Wiley 1998] Local variable mu0 = 4*pi*1E-7; % Vacuum permeability (H/m) Definition of the output argument of the function P = real(cross(e,conj(b)))/(2*mu0); % cross computes the cross product end optional
15 Scientific Computing 15 Call to a function Number of output arguments Number of input arguments Syntax 0 0 Myfunction() OR Myfunction 0 1 Myfunction(x) 1 0 y = Myfunction several 1 [y1,y2,,yn] = Myfunction(x) several several [y1,y2,,yn] = Myfunction(x1,x2,x3, xn) It s your turn! Download the tutorial available on : -Libres Savoirs => cours 0235 Calcul Scientifique (sous-rubrique «Énoncés des TD en PDF») -on the local drive S:\Matlab\ÉnoncésTD_CalcSci
16 Scientific Computing 16 Conditional expressions if condition end if condition else end if condition1 elseif condition2 else end What is a condition? A statement which can be true of false
17 Scientific Computing 17 Conditional expressions if condition end if condition else end if condition1 elseif condition2 else end What is a condition? A statement which can be true of false Comparison operators Some testing functions Logical operators <, <=, >, >=, ==, ~= isnan(),isinf(),isempty(),isreal() &&,, ~ Example: x = 4; y = 3; x>2 && y==1 is equal to is different from isinf(1/0) v = []; isemtpy(v) AND OR NOT
18 Scientific Computing 18 The for and while loops k : loop variable for k = 1:N end Row vector if N<1, the loop is not executed while condition end while condition if condition2 break end end Stops the while loop while condition if condition2 return end end Stops the function
19 Scientific Computing 19 3D graphics In this 2 nd part, we ll learn how to: plot 3D curves change a colormap display images (grayscale, RGB) in different file format (.png,.tif ) How to plot a function z = f(x,y) 1st case: the values of z are known z = [ ; ; ]; mesh(z); OR surf(z); xlabel( x ) ylabel( y ) zlabel( z )
20 Scientific Computing 20 How to plot a function z = f(x,y) 2nd case: f is known and you need to calculate z for specific intervals of x and y e.g. z = sinc(x) sinc(2y) with x [ 4,4] and y [ 3,3] evaluate f for each couple (x,y) of the grid y 3 (3;2) -4 (-3;-1) (1;-2) 4 x -3
21 Scientific Computing 21 How to plot a function z = f(x,y) 2nd case: f is known and you need to calculate z for specific intervals of x and y e.g. z = sinc(x) sinc(2y) with x [ 4,4] and y [ 3,3] evaluate f for each couple (x,y) of the grid y 3 (3;2) z = sinc(x).*sinc(2*y) -4 (-3;-1) (1;-2) 4 x -3 How to generate such matrices? Take 2min. and propose a solution
22 Scientific Computing 22 How to plot a function z = f(x,y) 2nd case: f is known and you need to calculate z for specific intervals of x and y e.g. z = sinc(x) sinc(2y) with x [ 4,4] and y [ 3,3] evaluate f for each couple (x,y) of the grid y 3 (3;2) z = sinc(x).*sinc(2*y) -4 (-3;-1) (1;-2) 4 x -3 X = ones(ny,1)*x; OR [X,Y] = meshgrid(x,y); Y = y. *ones(1,nx); transpose
23 Scientific Computing 23 x = linspace(-4,4,nx); y = linspace(-3,3,ny); Transposition A = M. transposed [X,Y] = meshgrid(x,y); OR X = ones(ny,1)*x; Y = y. *ones(1,nx); A = M Conjugate/Hermitian transposed z = sinc(x).*sinc(2*y) mesh(x,y,z) It s your turn! Plot the function z = sinc( x 2 + 2y 2 ) with x [ 3,3] and y [ 2,2] 1. Use the functions mesh, surf, surfl, surfc, especially try: surfl(x,y,z) shading interp colormap( copper ) axis equal 2. Try different colormaps (find the suitable command or use the GUI)
24 Grayscale images Scientific Computing 24 To load an image: IM = imread( LeProf.tif ); OR imread( moond.tif ); colormap( bone ) image(im) Any problem?
25 Grayscale images Scientific Computing 25 8 bit image (255 levels) To load an image: IM = imread( LeProf.tif ); OR imread( moond.tif ); 63 levels in this colormap colormap( bone ) image(im) Any problem?
26 Grayscale images Scientific Computing 26 8 bit image (255 levels) To load an image: IM = imread( LeProf.tif ); OR imread( moond.tif ); 63 levels in this colormap colormap( bone ) image(im) Any problem? It s your turn! 1. Find a matlab function that solves this problem 2. Find two matlab functions that display the image histogram
27 Grayscale images Scientific Computing 27 8 bit image (255 levels) To load an image: IM = imread( LeProf.tif ); OR imread( moond.tif ); 63 levels in this colormap colormap( bone ) image(im) Any problem? It s your turn! 1. Find a matlab function that solves this problem imagesc 2. Find two matlab functions that display the image histogram imhist, imtool Use imagesc instead of image
28 RGB and indexed images Scientific Computing 28 RGB image = combination of 3 grayscale images (nxmx3 table) IM = imread( flowers.jpg ); imagesc(im); imshow(im); imshow(im(:,:,1)); It s your turn! Find an RGB image on the internet and display it with the function affrvb(im) (nxmx3 table)
29 RGB and indexed images Scientific Computing 29 RGB image = combination of 3 grayscale images (nxmx3 table) IM = imread( flowers.jpg ); imagesc(im); imshow(im); imshow(im(:,:,1)); It s your turn! Find an RGB image on the internet and display it with the function affrvb(im) (nxmx3 table) Indexed images contain a matrix and a colormap [IM,LUT] = imread( m83.tif ); OR imread( canoe.tif ); OR imread( LogoIOGS.png ); colormap(lut) imagesc(im)
LAB 1: MATLAB - Introduction to Programming. Objective:
LAB 1: MATLAB - Introduction to Programming Objective: The objective of this laboratory is to review how to use MATLAB as a programming tool and to review a classic analytical solution to a steady-state
More informationLecture 5b: Starting Matlab
Lecture 5b: Starting Matlab James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University August 7, 2013 Outline 1 Resources 2 Starting Matlab 3 Homework
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 informationJanuary 18, 2008 Steve Gu. Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB,
Introduction to MATLAB January 18, 2008 Steve Gu Reference: Eta Kappa Nu, UCLA Iota Gamma Chapter, Introduction to MATLAB, Part I: Basics MATLAB Environment Getting Help Variables Vectors, Matrices, and
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 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 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 informationSTAT 3008 Applied Regression Analysis Tutorial 1: Introduction LAI Chun Hei
STAT 3008 Applied Regression Analysis Tutorial 1: Introduction LAI Chun Hei Department of Statistics, The Chinese University of Hong Kong 1 Mathematical Background In this courses, some theorems from elementary
More informationIntegration by Parts Logarithms and More Riemann Sums!
Integration by Parts Logarithms and More Riemann Sums! James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University September 16, 2013 Outline 1 IbyP with
More informationL3: Review of linear algebra and MATLAB
L3: Review of linear algebra and MATLAB Vector and matrix notation Vectors Matrices Vector spaces Linear transformations Eigenvalues and eigenvectors MATLAB primer CSCE 666 Pattern Analysis Ricardo Gutierrez-Osuna
More informationSECTION 7: CURVE FITTING. MAE 4020/5020 Numerical Methods with MATLAB
SECTION 7: CURVE FITTING MAE 4020/5020 Numerical Methods with MATLAB 2 Introduction Curve Fitting 3 Often have data,, that is a function of some independent variable,, but the underlying relationship is
More informationLab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations
Lab 2 Worksheet Problems Problem : Geometry and Linear Equations Linear algebra is, first and foremost, the study of systems of linear equations. You are going to encounter linear systems frequently in
More informationIntroduction to SVD and Applications
Introduction to SVD and Applications Eric Kostelich and Dave Kuhl MSRI Climate Change Summer School July 18, 2008 Introduction The goal of this exercise is to familiarize you with the basics of the singular
More informationIntroduction to Matlab
History of Matlab Starting Matlab Matrix operation Introduction to Matlab Useful commands in linear algebra Scripts-M file Use Matlab to explore the notion of span and the geometry of eigenvalues and eigenvectors.
More informationOctave. Tutorial. Daniel Lamprecht. March 26, Graz University of Technology. Slides based on previous work by Ingo Holzmann
Tutorial Graz University of Technology March 26, 2012 Slides based on previous work by Ingo Holzmann Introduction What is? GNU is a high-level interactive language for numerical computations mostly compatible
More informationOKLAHOMA STATE UNIVERSITY
OKLAHOMA STATE UNIVERSITY ECEN 4413 - Automatic Control Systems Matlab Lecture 1 Introduction and Control Basics Presented by Moayed Daneshyari 1 What is Matlab? Invented by Cleve Moler in late 1970s to
More informationThe roots are found with the following two statements. We have denoted the polynomial as p1, and the roots as roots_ p1.
Part II Lesson 10 Numerical Analysis Finding roots of a polynomial In MATLAB, a polynomial is expressed as a row vector of the form [an an 1 a2 a1 a0]. The elements ai of this vector are the coefficients
More informationCSCE 155N Fall Homework Assignment 2: Stress-Strain Curve. Assigned: September 11, 2012 Due: October 02, 2012
CSCE 155N Fall 2012 Homework Assignment 2: Stress-Strain Curve Assigned: September 11, 2012 Due: October 02, 2012 Note: This assignment is to be completed individually - collaboration is strictly prohibited.
More informationLearning MATLAB by doing MATLAB
Learning MATLAB by doing MATLAB December 10, 2005 Just type in the following commands and watch the output. 1. Variables, Vectors, Matrices >a=7 a is interpreted as a scalar (or 1 1 matrix) >b=[1,2,3]
More informationVector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave
Vector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave Andreas Stahel 5th December 27 Contents Vector field for the logistic equation 2 Solutions of ordinary differential equations
More informationMAT 343 Laboratory 6 The SVD decomposition and Image Compression
MA 4 Laboratory 6 he SVD decomposition and Image Compression In this laboratory session we will learn how to Find the SVD decomposition of a matrix using MALAB Use the SVD to perform Image Compression
More informationLeon, Chap. 1. Chap. 2
Linear Algebra for Dierential Equations Math 309.501, 309.502 Spring, 2014 Section 501: MWF 10:2011:10 (BLOC 164) Section 502: MWF 11:3012:20 (BLOC 164) Instructor: Prof. Thomas Vogel Oce: 629C Blocker
More informationVPython Class 2: Functions, Fields, and the dreaded ˆr
Physics 212E Classical and Modern Physics Spring 2016 1. Introduction VPython Class 2: Functions, Fields, and the dreaded ˆr In our study of electric fields, we start with a single point charge source
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 informationBasic Linear Algebra in MATLAB
Basic Linear Algebra in MATLAB 9.29 Optional Lecture 2 In the last optional lecture we learned the the basic type in MATLAB is a matrix of double precision floating point numbers. You learned a number
More informationIntroduction to MATLAB
Introduction to MATLAB Macroeconomics Vivaldo Mendes Dep. Economics Instituto Universitário de Lisboa September 2017 (Vivaldo Mendes ISCTE-IUL ) Macroeconomics September 2013 1 / 41 Summary 1 Introduction
More informationLinear Algebra in LabVIEW
University College of Southeast Norway Linear Algebra in LabVIEW Hans-Petter Halvorsen, 2016-10-31 http://home.hit.no/~hansha Preface This document explains the basic concepts of Linear Algebra and how
More informationWILEY. Differential Equations with MATLAB (Third Edition) Brian R. Hunt Ronald L. Lipsman John E. Osborn Jonathan M. Rosenberg
Differential Equations with MATLAB (Third Edition) Updated for MATLAB 2011b (7.13), Simulink 7.8, and Symbolic Math Toolbox 5.7 Brian R. Hunt Ronald L. Lipsman John E. Osborn Jonathan M. Rosenberg All
More informationMATLAB Ordinary Differential Equation (ODE) solver for a simple example 1. Introduction
MATLAB Ordinary Differential Equation (ODE) solver for a simple example 1. Introduction Differential equations are a convenient way to express mathematically a change of a dependent variable (e.g. concentration
More informationImage Compression Using Singular Value Decomposition
Image Compression Using Singular Value Decomposition Ian Cooper and Craig Lorenc December 15, 2006 Abstract Singular value decomposition (SVD) is an effective tool for minimizing data storage and data
More informationUSE OF MATLAB TO UNDERSTAND BASIC MATHEMATICS
USE OF MATLAB TO UNDERSTAND BASIC MATHEMATICS Sanjay Gupta P. G. Department of Mathematics, Dev Samaj College For Women, Punjab ( India ) ABSTRACT In this paper, we talk about the ways in which computer
More informationAMS 27L LAB #8 Winter 2009
AMS 27L LAB #8 Winter 29 Solving ODE s in Matlab Objectives:. To use Matlab s ODE Solvers 2. To practice using functions and in-line functions Matlab s ODE Suite Matlab offers a suite of ODE solvers including:
More informationPhysics 584 Computational Methods
Physics 584 Computational Methods Introduction to Matlab and Numerical Solutions to Ordinary Differential Equations Ryan Ogliore April 18 th, 2016 Lecture Outline Introduction to Matlab Numerical Solutions
More informationAn Introduction to Matlab
An Introduction to Matlab James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University August 25, 2013 Outline Starting Matlab Matlab Vectors and Functions
More informationLinear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4
Linear Algebra Section. : LU Decomposition Section. : Permutations and transposes Wednesday, February 1th Math 01 Week # 1 The LU Decomposition We learned last time that we can factor a invertible matrix
More informationEE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring Lab Information
EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring 2013 1. Lab Information This is a take-home lab assignment. There is no experiment for this lab. You will study the tutorial
More informationRiemann Integration Theory
Riemann Integration Theory James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University February 3, 2017 Outline 1 Uniform Partition Riemann Sums 2 Refinements
More informationAssignment 4: Object creation
Assignment 4: Object creation ETH Zurich Hand-out: 13 November 2006 Due: 21 November 2006 Copyright FarWorks, Inc. Gary Larson 1 Summary Today you are going to create a stand-alone program. How to create
More informationNUMERICAL METHODS. lor CHEMICAL ENGINEERS. Using Excel', VBA, and MATLAB* VICTOR J. LAW. CRC Press. Taylor & Francis Group
NUMERICAL METHODS lor CHEMICAL ENGINEERS Using Excel', VBA, and MATLAB* VICTOR J. LAW CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Croup,
More informationfc-graphics4mesh Matlab toolbox, User's Guide under rhum-ubuntu lts computer
fc-graphics4mesh Matlab toolbox, User's Guide under rhum-ubuntu-16-04-3lts computer François Cuvelier December 13, 2017 Abstract This Matlab toolbox allows to display simplicial meshes or datas on simplicial
More information(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB
Applied Linear Algebra in Geoscience Using MATLAB (Mathematical Operations with Arrays) Contents Getting Started Matrices Creating Arrays Linear equations Mathematical Operations with Arrays Using Script
More informationProject 1: Analysis of an induction machine using a FEM based software EJ Design of Electrical Machines
Project : Analysis of an induction machine using a FEM based software General instructions In this assignment we will analyze an induction machine using Matlab and the freely available finite element software
More informationChabot College Fall Course Outline for Mathematics 25 COMPUTATIONAL METHODS FOR ENGINEERS AND SCIENTISTS
Chabot College Fall 2010 Course Outline for Mathematics 25 COMPUTATIONAL METHODS FOR ENGINEERS AND SCIENTISTS Catalog Description: MTH 25 - Computational Methods for Engineers and Scientists 3.00 units
More informationVector Fields and Solutions to Ordinary Differential Equations using Octave
Vector Fields and Solutions to Ordinary Differential Equations using Andreas Stahel 6th December 29 Contents Vector fields. Vector field for the logistic equation...............................2 Solutions
More informationFast Multipole Methods: Fundamentals & Applications. Ramani Duraiswami Nail A. Gumerov
Fast Multipole Methods: Fundamentals & Applications Ramani Duraiswami Nail A. Gumerov Week 1. Introduction. What are multipole methods and what is this course about. Problems from physics, mathematics,
More informationAPBS electrostatics in VMD - Software. APBS! >!Examples! >!Visualization! >! Contents
Software Search this site Home Announcements An update on mailing lists APBS 1.2.0 released APBS 1.2.1 released APBS 1.3 released New APBS 1.3 Windows Installer PDB2PQR 1.7.1 released PDB2PQR 1.8 released
More informationLecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013
Today s Objectives ENGR 105: Feedback Control Design Winter 2013 Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 1. introduce the MATLAB Control System Toolbox
More informationImage Processing in Numpy
Version: January 17, 2017 Computer Vision Laboratory, Linköping University 1 Introduction Image Processing in Numpy Exercises During this exercise, you will become familiar with image processing in Python.
More informationDEPARTMENT OF ELECTRONIC ENGINEERING
DEPARTMENT OF ELECTRONIC ENGINEERING STUDY GUIDE CONTROL SYSTEMS 2 CSYS202 Latest Revision: Jul 2016 Page 1 SUBJECT: Control Systems 2 SUBJECT CODE: CSYS202 SAPSE CODE: 0808253220 PURPOSE: This subject
More informationAssignment #10: Diagonalization of Symmetric Matrices, Quadratic Forms, Optimization, Singular Value Decomposition. Name:
Assignment #10: Diagonalization of Symmetric Matrices, Quadratic Forms, Optimization, Singular Value Decomposition Due date: Friday, May 4, 2018 (1:35pm) Name: Section Number Assignment #10: Diagonalization
More informationMATH 333: Partial Differential Equations
MATH 333: Partial Differential Equations Problem Set 9, Final version Due Date: Tues., Nov. 29, 2011 Relevant sources: Farlow s book: Lessons 9, 37 39 MacCluer s book: Chapter 3 44 Show that the Poisson
More information1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains
DSP First, 2e Signal Processing First Lab P-6: 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 list of observations
More informationProject 2: Using linear systems for numerical solution of boundary value problems
LINEAR ALGEBRA, MATH 124 Instructor: Dr. T.I. Lakoba Project 2: Using linear systems for numerical solution of boundary value problems Goal Introduce one of the most important applications of Linear Algebra
More informationWho am I? Math 1080: Numerical Linear Algebra. Books. Format
Who am I? Math 18: Numerical Linear Algebra M M Sussman sussmanm@mathpittedu Office Hours: MW 1:45PM-2:45PM, Thack 622 Part-time faculty in Math Dept Experience at Bettis lab Administer 27/271 Numerical
More informationECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University
ECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University Prof. Mi Lu TA: Ehsan Rohani Laboratory Exercise #4 MIPS Assembly and Simulation
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 informationEsri EADA10. ArcGIS Desktop Associate. Download Full Version :
Esri EADA10 ArcGIS Desktop Associate Download Full Version : http://killexams.com/pass4sure/exam-detail/eada10 Question: 85 Which format is appropriate for exporting map documents that require vector layers
More informationMATLAB crash course 1 / 27. MATLAB crash course. Cesar E. Tamayo Economics - Rutgers. September 27th, /27
1/27 MATLAB crash course 1 / 27 MATLAB crash course Cesar E. Tamayo Economics - Rutgers September 27th, 2013 2/27 MATLAB crash course 2 / 27 Program Program I Interface: layout, menus, help, etc.. I Vectors
More informationAlgebra and Geometry (250101)
Algebra and Geometry (250101) General information School: ETSECCPB Departments: 751 - Departament d'enginyeria Civil i Ambiental Credits: 6.0 ECTS Programs: 1305 - GRAU EN ENGINYERIA CIVIL (2017), 790
More informationTutorial Three: Loops and Conditionals
Tutorial Three: Loops and Conditionals Imad Pasha Chris Agostino February 18, 2015 1 Introduction In lecture Monday we learned that combinations of conditionals and loops could make our code much more
More informationHomework 5 Solutions
18-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 2018 Homework 5 Solutions. Part One 1. (12 points) Calculate the following convolutions: (a) x[n] δ[n n 0 ] (b) 2 n u[n] u[n] (c) 2 n u[n]
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 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 informationDOING PHYSICS WITH MATLAB WAVE MOTION
DOING PHYSICS WITH MATLAB WAVE MOTION THE [1D] SCALAR WAVE EQUATION THE FINITE DIFFERENCE TIME DOMAIN METHOD Ian Cooper School of Physics, University of Sydney ian.cooper@sydney.edu.au DOWNLOAD DIRECTORY
More informationLinear System Theory
Linear System Theory - Introduction to Simulink Prof. Robert X. Gao Electromechanical Systems Laboratory Department of Mechanical Engineering Outline Block Diagram Introduction Launching Simulink Modeling
More informationSteganalysis in JPEG
Steganalysis in JPEG CSM25 Secure Information Hiding Dr Hans Georg Schaathun University of Surrey Spring 2007 Dr Hans Georg Schaathun Steganalysis in JPEG Spring 2007 1 / 24 Learning Outcomes learn additional
More informationHonors Algebra 1 - Fall Final Review
Name: Period Date: Honors Algebra 1 - Fall Final Review This review packet is due at the beginning of your final exam. In addition to this packet, you should study each of your unit reviews and your notes.
More informationEET 3212 Control Systems. Control Systems Engineering, 6th Edition, Norman S. Nise December 2010, A. Goykadosh and M.
NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York 300 Jay Street Brooklyn, NY 11201-2983 Department of Electrical and Telecommunications Engineering Technology TEL (718) 260-5300 - FAX:
More informationPart 1. The diffusion equation
Differential Equations FMNN10 Graded Project #3 c G Söderlind 2016 2017 Published 2017-11-27. Instruction in computer lab 2017-11-30/2017-12-06/07. Project due date: Monday 2017-12-11 at 12:00:00. Goals.
More information8 The SVD Applied to Signal and Image Deblurring
8 The SVD Applied to Signal and Image Deblurring We will discuss the restoration of one-dimensional signals and two-dimensional gray-scale images that have been contaminated by blur and noise. After an
More informationMODELLING A MASS / SPRING SYSTEM Free oscillations, Damping, Force oscillations (impulsive and sinusoidal)
DOING PHYSICS WITH MATLAB MODELLING A MASS / SPRING SYSTEM Free oscillations, Damping, Force oscillations (impulsive and sinusoidal) Download Directory: Matlab mscripts osc_harmonic01.m The script uses
More informationIntroduction to Computational Neuroscience
CSE2330 Introduction to Computational Neuroscience Basic computational tools and concepts Tutorial 1 Duration: two weeks 1.1 About this tutorial The objective of this tutorial is to introduce you to: the
More informationIntegrated Square-Shaped Spiral Inductor
Page 1 of 9 Electrical Component Models : Integrated Square-Shaped Spiral Inductor Integrated Square-Shaped Spiral Inductor This example presents a model of a micro-scale square inductor, used for LC bandpass
More informationWritten Exam Linear and Integer Programming (DM554)
Written Exam Linear and Integer Programming (DM554) Department of Mathematics and Computer Science University of Southern Denmark Monday, June 22, 2015, 10:00 14:00, Festsalen, Niels Bohr Allé 1 The exam
More informationMAT 275 Laboratory 4 MATLAB solvers for First-Order IVP
MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP 2. Use MATLAB solvers for solving higher order ODEs and
More informationSIMULATION OF A TIME DEPENDENT 2D GENERATOR MODEL USING COMSOL MULTIPHYSICS
SIMULATION OF A TIME DEPENDENT 2D GENERATOR MODEL USING COMSOL MULTIPHYSICS Kazi Shamsul Arefin,Pankaj Bhowmik, Mohammed Wahiduzzaman Rony and Mohammad Nurul Azam Department of Electrical & Electronic
More informationWritten Exam Linear and Integer Programming (DM545)
Written Exam Linear and Integer Programming (DM545) Department of Mathematics and Computer Science University of Southern Denmark Monday, June 22, 2015, 10:00 14:00, Festsalen, Niels Bohr Allé 1 The exam
More informationIntroduction to RStudio
Introduction to RStudio Carl Tony Fakhry Jie Chen April 4, 2015 Introduction R is a powerful language and environment for statistical computing and graphics. R is freeware and there is lot of help available
More informationSingular Value Decomposition and Digital Image Compression
Singular Value Decomposition and Digital Image Compression Chris Bingham December 1, 016 Page 1 of Abstract The purpose of this document is to be a very basic introduction to the singular value decomposition
More informationIntroduction to FARGO3D
Introduction to FARGO3D PABLO BENITEZ-LLAMBAY / PBLLAMBAY@NBI.KU.DK FARGO3D is a versatile HD/MHD code that runs on clusters of CPUs or GPUs, developed with special emphasis on protoplanetary disks. However,
More informationTask 1: Open ArcMap and activate the Spatial Analyst extension.
Exercise 10 Spatial Analyst The following steps describe the general process that you will follow to complete the exercise. Specific steps will be provided later in the step-by-step instructions component
More informationCAD package for electromagnetic and thermal analysis using finite elements. Flux. by CEDRAT. Magneto Static application tutorial.
CAD package for electromagnetic and thermal analysis using finite elements Flux by CEDRAT Magneto Static application tutorial 2D basic example Flux is a registered trademark. Flux software : COPYRIGHT
More informationDAMOCO: MATLAB toolbox for multivariate data analysis, based on coupled oscillators approach Version 1.0
DAMOCO: MATLAB toolbox for multivariate data analysis, based on coupled oscillators approach Version 1.0 Björn Kralemann 1, Michael Rosenblum 2, Arkady Pikovsky 2 1 Institut für Pädagogik, Christian-Albrechts-Universität
More informationNumerical Linear Algebra
Numerical Linear Algebra Direct Methods Philippe B. Laval KSU Fall 2017 Philippe B. Laval (KSU) Linear Systems: Direct Solution Methods Fall 2017 1 / 14 Introduction The solution of linear systems is one
More informationNumerical Methods Lecture 3
Numerical Methods Lecture 3 Nonlinear Equations by Pavel Ludvík Introduction Definition (Root or zero of a function) A root (or a zero) of a function f is a solution of an equation f (x) = 0. We learn
More information2 Solving Ordinary Differential Equations Using MATLAB
Penn State Erie, The Behrend College School of Engineering E E 383 Signals and Control Lab Spring 2008 Lab 3 System Responses January 31, 2008 Due: February 7, 2008 Number of Lab Periods: 1 1 Objective
More informationMATH Introduction to MATLAB
KINGDOM OF SAUDI ARABIA - AL-IMAM MUHAMMAD BIN SAUD ISLAMIC UNIVERSITY - FACULTY OF SCIENCES - - May 9, 2011 Semester 2, 1431-1432 (2010-20111) MATH 251 - Introduction to MATLAB Exercise sheet 6 Dr. Samy
More informationExam: 4 hour multiple choice. Agenda. Course Introduction to Statistics. Lecture 1: Introduction to Statistics. Per Bruun Brockhoff
Course 02402 Lecture 1: Per Bruun Brockhoff DTU Informatics Building 305 - room 110 Danish Technical University 2800 Lyngby Denmark e-mail: pbb@imm.dtu.dk Agenda 1 2 3 4 Per Bruun Brockhoff (pbb@imm.dtu.dk),
More informationORF 523 Final Exam, Spring 2016
Name: Princeton University ORF 523 Final Exam, Spring 2016 Thursday, May 5, 9am, to Tuesday, May 10, 11am Instructor: A.A. Ahmadi AI: G. Hall 1. Please write out and sign the following pledge on top of
More informationWindNinja Tutorial 3: Point Initialization
WindNinja Tutorial 3: Point Initialization 6/27/2018 Introduction Welcome to WindNinja Tutorial 3: Point Initialization. This tutorial will step you through the process of downloading weather station data
More informationLab 2: Static Response, Cantilevered Beam
Contents 1 Lab 2: Static Response, Cantilevered Beam 3 1.1 Objectives.......................................... 3 1.2 Scalars, Vectors and Matrices (Allen Downey)...................... 3 1.2.1 Attribution.....................................
More informationVector Spaces. 1 Theory. 2 Matlab. Rules and Operations
Vector Spaces Rules and Operations 1 Theory Recall that we can specify a point in the plane by an ordered pair of numbers or coordinates (x, y) and a point in space with an order triple of numbers (x,
More informationSignal Processing First Lab 11: PeZ - The z, n, and ˆω Domains
Signal Processing First Lab : PeZ - The z, n, and ˆω Domains The lab report/verification will be done by filling in the last page of this handout which addresses a list of observations to be made when
More informationMatrix-Vector Operations
Week3 Matrix-Vector Operations 31 Opening Remarks 311 Timmy Two Space View at edx Homework 3111 Click on the below link to open a browser window with the Timmy Two Space exercise This exercise was suggested
More informationSimulink Tutorial 1 CPE562
Simulink Tutorial 1 CPE562 Week 1 Introduction to Simulink Familiarization with Simulink blocks Sources: Constants Sinks: Display Operations: Sum, Product, Add, Divide. Mathematical operations involving
More informationMATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu
MATLAB BASICS Instructor: Prof. Shahrouk Ahmadi 1. What are M-files TA: Kartik Bulusu M-files are files that contain a collection of MATLAB commands or are used to define new MATLAB functions. For the
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 informationMATLAB TOOL FOR IDENTIFICATION OF NONLINEAR SYSTEMS
MATLAB TOOL FOR IDENTIFICATION OF NONLINEAR SYSTEMS M. Kalúz, Ľ. Čirka, M. Fikar Institute of Information Engineering, Automation, and Mathematics, FCFT STU in Bratislava Abstract This contribution describes
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 informationFundamentals of Computational Science
Fundamentals of Computational Science Dr. Hyrum D. Carroll August 23, 2016 Introductions Each student: Name Undergraduate school & major Masters & major Previous research (if any) Why Computational Science
More information