Trouble with Toolboxes. Michael Croucher (University of Manchester)
|
|
- William Hampton
- 6 years ago
- Views:
Transcription
1 Trouble with Toolboxes Michael Croucher (University of Manchester)
2 My background PhD Computational Physics from Sheffield University Support scientific and Mathematical software at Manchester Mathematica, MATLAB, Fortran, C++, Mathcad, Python, Origin, Octave, NAG, Maxima, Scilab, GSL, SAGE etc etc
3 My background A personal blog focusing on mathematics and mathematical software.
4
5 MATrix LABoratory Late 70s 80 Commands Cleve Moler
6
7 Some MATLAB functionality C u Differential Equations Fourier Transforms Curve fitting Optimisation Linear Algebra Graphics Computational Geometry Statistics Polynomials
8
9 The 89 Toolboxes
10 WE DO NOT HAVE A MATLAB SITE LICENSE
11
12 Not enough licenses??? License checkout failed. License Manager Error -4 Maximum number of users for Statistics_Toolbox reached. Try again later. To see a list of current users use the lmstat utility or contact your License Administrator.
13 Buy more licenses?
14 Buy your own standalone MATLAB? MATLAB only VAT with our toolboxes VAT
15 Technical Solution
16 Technical Solution What I won't suggest Completely rewrite your code Octave - Free Python - Free Scilab Free R - Free Mathematica Site Licensed Origin Site Licensed
17 Technical Solution Identify the (usually small) piece of code that uses toolboxes Use something else! Usually just a few lines need modifying
18 Technical Solution I can and will help with this
19 Method 1 NAG Toolbox for MATLAB 1600 functions Full site license
20
21 Example 1 Statistics ranksum Stats toolbox version x = [0.8147;0.9058;0.1270;0.9134;0.6324;0.0975;0.2785; ;0.9575;0.9649]; y= [0.4076;1.220;1.207;0.735;1.0502;0.3918;0.671;1.16 5;1.0422;1.2094;0.9057;0.285;1.099;1.18;0.928]; p = ranksum(x,y)
22 Example 1 Statistics ranksum NAG toolbox version x = [0.8147;0.9058;0.1270;0.9134;0.6324;0.0975;0.2785; ;0.9575;0.9649]; y = [0.4076;1.220;1.207;0.735;1.0502;0.3918;0.671;1.16 5;1.0422;1.2094;0.9057;0.285;1.099;1.18;0.928]; tail = 'T'; [~, ~, p] = g08ah(x, y, tail);
23 Example 2 Optimisation - fsolve Solves a system of nonlinear equation of the form F(X) = 0 where F and X may be vectors or matrices.
24 Example 2 Optimisation - fsolve NAG has 6 functions that can do this! For when you have function values only c05nb using function values only (easy-to-use) c05nc using function values only (comprehensive) c05nd using function values only (reverse communication) For when you have both function values and first derivatives c05pb Using first derivatives (easy-to-use) c05pc Using first derivatives (comprehensive) c05pd Using first derivatives (reverse communication)
25 Example 2 Optimisation - fsolve NAG is up to 20 times faster!
26 Example 3 Statistics princomp Stats toolbox version [ pc, score, latent ] = princomp(ingredients);
27 Example 3 Statistics princomp NAG toolbox version isx=[int32(1);1;1;1]; s=[1;1;1;1]; wt=[0]; nvar=int32(4); [latent_nag, pc_nag, score_nag] =... g03aa('v', 'E', 'U', ingredients, isx, s, wt, nvar);
28 More Examples Screenshot of itsd site
29 NAG Toolbox for MATLAB Pros Infinite licenses Rock solid numerics Good tech support Thousands of functions Sometimes (MUCH) faster Can replace several Mathworks toolboxes Easier to move to Fortran/C after proto-typing
30 NAG Toolbox for MATLAB Cons Esoteric naming scheme Functions often more complicated Harder to share your code No Mac version (yet)
31 Method 2 Use pure MATLAB Some toolbox functions are trivial
32 Example 1 random() r = random('unif',a,b); %stats toolbox r = a + (b-a).*rand(); %pure matlab
33 Example 2 random() r =random('norm',mu,sigma); %stats toolbox r = randn()* sigma + mu; %pure matlab
34 Example 3 normpdf() normpdf(x,mu,sigma) %stats toolbox exp(-0.5 * ((x - mu)./sigma).^2)./ (sqrt(2*pi).* sigma); %pure matlab
35 Pure MATLAB Pros No toolbox licenses Increases portability
36 Pure MATLAB Cons Limited number of EASY cases
37 Method 3 Octave-Forge The toolbox project for Octave Similar syntax to MATLAB easy to port
38 Octave Forge Ports Example - binopdf defects=0:10; y = octave_binopdf(defects,200,.02) Michael.Croucher@manchester.ac.uk for the code
39 OctaveForge Packages Over 80 packages Highlights: Statistics, optimisation, image, control, splines
40 Octave Forge Ports Pros Free Easy to do in many cases Based on tried code
41 Octave Forge Ports Cons Missing functionality in some functions Sometimes MUCH slower (pdist) Sometimes hard to port Extra work!
42 Method 4 Free Toolboxes For a list of free toolboxes see
43 Free Toolboxes Notable examples PMATLAB Parallel NaN toolbox Stats and machine learning Wavelab Wavelets Poblano Unconstrained optimisation
44 Free Toolboxes Pros Free Close to zero effort Increases code portability
45 Free Toolboxes Cons May be buggy. Some only work with specific versions of MATLAB. Different syntax, form of results etc
46 Method 5 File Exchange exchange/ User generated functions
47 File Exchange Example 1 - pdist IPDM Inter-point distance matrix X = rand(10,2); dists = pdist(x,'euclidean'); dists2 = ipdm(x); Same calculation, slightly different output format
48 File Exchange Pros Free Code portability Massive range of functionality User feedback on each function
49 File Exchange Cons Quality varies (considerably) Syntax differences Licensing issues
50 Method 6 MATLAB Compiler Produce a standalone version of your MATLAB code that needs no licenses at runtime. mcc -m yourcode.m WILL NOT make your code faster!
51 MATLAB compiler Pros Completely removes need for toolbox licenses. Allows you to deploy to machines that don't have MATLAB. Forms the basis of our MATLAB on Condor HTC computing resource.
52 MATLAB compiler Cons Not suitable when you need to constantly modify your code. Not suitable for interactive use. Some functions can't be compiled. Not many compiler licenses on campus.
53 Things I've not tried (yet!) Numerical Recipies in MATLAB GSL in MATLAB (GNU Scientific Library) Specialist commercial toolboxes (e.g. MOSEK, Jacket etc) Symbolic toolbox
54 Summary MATLAB toolboxes are excellent but expensive. There are many alternatives. I can and will help you switch. Can sometimes make your code faster.
55 Your choice
56 Your choice
57 Resources w_content.php?id=100 (lots of examples) (my blog) (me) wforum.php?f=18 (Manchester MATLAB Forum) (RCS community website)
NAG at Manchester. Michael Croucher (University of Manchester)
NAG at Manchester Michael Croucher (University of Manchester) Michael.Croucher@manchester.ac.uk www.walkingrandomly.com Twitter: @walkingrandomly My background PhD Computational Physics from Sheffield
More informationSystem Design S.CS301
System Design S.CS301 (Autumn 2015/16) Page 1 Agenda Contents: Course overview Reading materials What is the MATLAB? MATLAB system History of MATLAB License of MATLAB Release history Syntax of MATLAB (Autumn
More informationFree Software Alternatives to Commercial Math Software
Free Software Alternatives to Commercial Math Software Fermin Franco フランコフェルミーン Ph.D. Student Faculty of Mathematics, Kyushu University Poster A7 1 Abstract Research in mathematics relies ever more heavily
More informationA Brief Introduction to MATLAB Evans Library Research Support Workshops
A Brief Introduction to MATLAB Evans Library Research Support Workshops G.C. Anagnostopoulos 1 1 ICE Laboratory, Florida Institute of Technology November 4 th, 2015 The Roadmap 1 Introduction 2 Programming
More informationMS6021 Scientific Computing. MatLab and Python for Mathematical Modelling. Aimed at the absolute beginner.
MS6021 Scientific Computing MatLab and Python for Mathematical Modelling. Aimed at the absolute beginner. Natalia Kopteva Email: natalia.kopteva@ul.ie Web: http://www.staff.ul.ie/natalia/ Room: B2037 Office
More informationOpen Source Software for Higher Mathematics
Open Source Software for Higher Mathematics An Overview of Available Tools CJ Fearnley LinuxForce, Inc. http://www.linuxforce.net 2 February 2005 / Philadelphia area Linux Users Group http://www.cjfearnley.com/higher.math.and.open.source.pdf
More informationMATLAB The first steps. Edited by Péter Vass
MATLAB The first steps Edited by Péter Vass MATLAB The name MATLAB is derived from the expression MATrix LABoratory. It is used for the identification of a software and a programming language. As a software,
More informationIntroduction to MATLAB
Introduction to MATLAB Aapo Nummenmaa, PhD Athinoula A. Martinos Center for Biomedical Imaging, Massachusetts General Hospital, Harvard Medical School, Boston Background Overview! What is MATLAB?! MATLAB=(MATrix
More informationThe Cantor Handbook. Alexander Rieder
Alexander Rieder 2 Contents 1 Introduction 5 2 Using Cantor 6 2.1 Cantor features....................................... 6 2.2 The Cantor backends.................................... 7 2.3 The Cantor Workspace...................................
More informationLectures & Excercises
TLTE.3120 Computer Simulation in Communication and Systems (5 ECTS) http://www.uva.fi/~timan/tlte3120 Lecture 1 9.9.2015 Timo Mantere Professor, Embedded systems University of Vaasa http://www.uva.fi/~timan
More informationDay 15: Science Code in Python
Day 15: Science Code in Python 1 Turn In Homework 2 Homework Review 3 Science Code in Python? 4 Custom Code vs. Off-the-Shelf Trade-offs Costs (your time vs. your $$$) Your time (coding vs. learning) Control
More informationIntroduction to Mathematical Programming
Introduction to Mathematical Programming Ming Zhong Lecture 3 September 5, 2018 Ming Zhong (JHU) AMS Fall 2018 1 / 14 Programming with MATLAB Table of Contents 1 Programming with MATLAB 2 Logic, Loops
More informationMATLAB Introduction. Ron Ilizarov Application Engineer
MATLAB Introduction Ron Ilizarov Application Engineer 1 What is MATLAB? High-level language Interactive development environment Used for: Numerical computation Data analysis and visualization Algorithm
More informationTHE STUDY OF SLIDER CRANK MECHANISM USING MATLAB AND SCILAB
THE STUDY OF SLIDER CRANK MECHANISM USING MATLAB AND SCILAB 1 Ioan Sorin Șorlei, 2 Adriana Elena Cernat, 3 Ciprian Ion Rizescu, 4 Dana Rizescu 1,2,3,4 University of POLITEHNNICA Bucharest/ Department of
More informationIntroduction to Scientific Computing with Matlab
Introduction to Scientific Computing with Matlab Matlab is an interactive system for numerical computations. It is widely used in universities and industry, and has many advantages over languages such
More informationYOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM
YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM TOPIC 1 INTRODUCING SOME MATHEMATICS SOFTWARE (Matlab, Maple and Mathematica) This topic provides
More informationBuilding a Community around GNU Octave
Building a Community around GNU Octave John W. Eaton Department of Chemical and Biological Engineering University of Wisconsin Madison 3 rd Free / Libre / Open Source Software Conference Athens, Greece
More informationMAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis?
MAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis? September 26, 2018 Lecture 1 September 26, 2018 1 / 19 Course Logistics My contact information: James Bremer Email:
More informationJohn's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator
John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad isn't: Mathcad is not the specialist's ultimate mathematical simulator Applied mathematicians may prefer the power of Mathematica Complex programs
More informationMatLab Just a beginning
MatLab Just a beginning P.Kanungo Dept. of E & TC, C.V. Raman College of Engineering, Bhubaneswar Introduction MATLAB is a high-performance language for technical computing. MATLAB is an acronym for MATrix
More informationTeaching numerical methods : a first experience. Ronojoy Adhikari The Institute of Mathematical Sciences Chennai.
Teaching numerical methods : a first experience Ronojoy Adhikari The Institute of Mathematical Sciences Chennai. Numerical Methods : the first class 14 students, spread across second and third years of
More informationLinear Algebra libraries in Debian. DebConf 10 New York 05/08/2010 Sylvestre
Linear Algebra libraries in Debian Who I am? Core developer of Scilab (daily job) Debian Developer Involved in Debian mainly in Science and Java aspects sylvestre.ledru@scilab.org / sylvestre@debian.org
More informationMATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by
1 MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by MathWorks In 2004, MATLAB had around one million users
More informationComputational Photonics, Summer Term 2014, Abbe School of Photonics, FSU Jena, Prof. Thomas Pertsch
Computational Photonics Seminar 01, 14 April 2014 What is MATLAB? tool for numerical computing integrated environment for computation, visualization and programming at the same time higher level programming
More informationHandout: Handy Computer Tools
Handout: Handy Computer Tools T. Satogata: January 2017 USPAS Accelerator Physics January 2017 This is a description of a few computational tools that I ve found to be useful as a working physicist. This
More informationCVEN 302. Computer Applications in Engineering and Construction. Dr. Tony Cahill Environmental and Water Resources Division
CVEN 302 Computer Applications in Engineering and Construction Dr. Tony Cahill Environmental and Water Resources Division Instructors Instructor: Tony Cahill Office: WERC 205J Office Hours: T/R 3:00 4:00PM.
More informationEvolutionary Algorithms. Workgroup 1
The workgroup sessions Evolutionary Algorithms Workgroup Workgroup 1 General The workgroups are given by: Hao Wang - h.wang@liacs.leideuniv.nl - Room 152 Furong Ye - f.ye@liacs.leidenuniv.nl Follow the
More informationLecture 1: What is MATLAB?
Lecture 1: What is MATLAB? Dr. Mohammed Hawa Electrical Engineering Department University of Jordan EE201: Computer Applications. See Textbook Chapter 1. MATLAB MATLAB (MATrix LABoratory) is a numerical
More informationHandout: Handy Computer Tools
Handout: Handy Computer Tools T. Satogata: June 2011 USPAS Accelerator Physics June 13, 2011 This is a description of a few computational tools that I ve found to be very useful as a working physicist.
More information(Refer Slide Time: 00:02:24 min)
CAD / CAM Prof. Dr. P. V. Madhusudhan Rao Department of Mechanical Engineering Indian Institute of Technology, Delhi Lecture No. # 9 Parametric Surfaces II So these days, we are discussing the subject
More informationNumerical Methods in Scientific Computation
Numerical Methods in Scientific Computation Programming and Software Introduction to error analysis 1 Packages vs. Programming Packages MATLAB Excel Mathematica Maple Packages do the work for you Most
More informationFloating Point Arithmetic in Sage
480 -- 05-07-2008 floating point Floating Point Arithmetic in Sage A reference: What Every Computer Scientist Should Know About Floating-Point Arithmetic, by David Goldberg (see http://docs.sun.com/source/806-3568/ncg_goldberg.html).
More informationPondering the Problem of Programmers Productivity
Pondering the Problem of Programmers Productivity Are we there yet? Arun Chauhan Indiana University Domain-specific Languages Systems Seminar, 2004-11-04 The Big Picture Human-Computer Interface The Big
More informationModule 4. Computer-Aided Design (CAD) systems
Module 4. Computer-Aided Design (CAD) systems Nowadays the design of complex systems is unconceivable without computers. The fast computers, the sophisticated developing environments and the well elaborated
More informationMatlab = Matrix Laboratory. It is designed to be great at handling matrices.
INTRODUCTION: Matlab = Matrix Laboratory. It is designed to be great at handling matrices. Matlab is a high-level language and interactive environment. You write simple ASCII text that is translated into
More informationGetting started with Matlab: Outline
Getting started with Matlab: Outline What, where and why of matlab. The matlab desktop and you Entering commands Variables and data types Plotting 101 Saving and loading data A real world example What
More informationIntroduction to the SageMath software
Introduction to the SageMath software (https://www.sagemath.org) slides available at http://www.labri.fr/perso/vdelecro/teaching.html June 1st 2017, Mini-course HSE Moscow by Vincent Delecroix, CNRS researcher
More informationDr Richard Greenaway
SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 1 Introduction to MATLAB Dr Richard Greenaway 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB is a high-level technical computing language
More informationIntroduction to Scientific Computing Tool Scilab
Introduction to Scientific Computing Tool Scilab Chao Chieh Lan and Jian Hao Liou Department of Mechanical Engineering National Cheng Kung University 2009/09/22 1 Computing Tools for Mechanism Analyses
More informationFit für die MATLAB EXPO
Fit für die MATLAB EXPO Eine kurze Einführung in MATLAB Michael Glaßer 2015 The MathWorks, Inc. 1 Hinweise für Betrachter der PDF Version Die Folien sind eher eine unterstützende Zusammenfassung Der Vortrag
More informationFall 2017: Numerical Methods I Assignment 1 (due Sep. 21, 2017)
MATH-GA 2010.001/CSCI-GA 2420.001, Georg Stadler (NYU Courant) Fall 2017: Numerical Methods I Assignment 1 (due Sep. 21, 2017) Objectives. This class is for you and you should try to get the most out of
More informationIntroduction to Matlab
Introduction to Matlab Roger Hansen (rh@fys.uio.no) PGP, University of Oslo September 2004 Introduction to Matlab p.1/22 Contents Programming Philosophy What is Matlab? Example: Linear algebra Example:
More information3+2 3*2 3/2 3^2 3**2 In matlab, use ^ or ** for exponentiation. In fortran, use only ** not ^ VARIABLES LECTURE 1: ARITHMETIC AND FUNCTIONS
LECTURE 1: ARITHMETIC AND FUNCTIONS MATH 190 WEBSITE: www.math.hawaii.edu/ gautier/190.html PREREQUISITE: You must have taken or be taking Calculus I concurrently. If not taken here, specify the college
More informationIntroduction to Scilab Use Scilab, not Matlab
Introduction to Scilab Use Scilab, not Matlab Kannan M. Moudgalya IIT Bombay kannan@iitb.ac.in Scilab-Arduino Workshop IIT Bombay 3 July 2015 Kannan Moudgalya Use Scilab, not Matlab 1/68 Outline Open Source
More informationIntroduction to the Julia language. Marc Fuentes - SED Bordeaux
Introduction to the Julia language Marc Fuentes - SED Bordeaux Outline 1 motivations Outline 1 motivations 2 Julia as a numerical language Outline 1 motivations 2 Julia as a numerical language 3 types
More informationCan We Migrate Our Analysis Routines to Python?
Can We Migrate Our Analysis Routines to Python? Introduction Can we migrate our analysis routines to Python? - MATLAB is powerful, but it s expensive. - Capable open-source alternatives exist and are thriving.
More informationCITS2401 Computer Analysis & Visualisation
FACULTY OF ENGINEERING, COMPUTING AND MATHEMATICS CITS2401 Computer Analysis & Visualisation SCHOOL OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING Topic 13 Revision Notes CAV review Topics Covered Sample
More informationSTEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS
STEPHEN WOLFRAM MATHEMATICADO OO Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS Table of Contents XXI a section new for Version 3 a section new for Version 4 a section substantially modified for
More informationMaxima CAS presentation Chelton Evans
Maxima CAS presentation 2015-12-01 Chelton Evans Abstract Maxima is a popular copyleft CAS (Computer Algebra System) which can be used for both symbolic and numerical calculation. Chelton Evans will present
More information2.0 MATLAB Fundamentals
2.0 MATLAB Fundamentals 2.1 INTRODUCTION MATLAB is a computer program for computing scientific and engineering problems that can be expressed in mathematical form. The name MATLAB stands for MATrix LABoratory,
More informationSMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014
SMS 3515: Scientific Computing Lecture 1: Introduction to Matlab 2014 Instructor: Nurul Farahain Mohammad 1 It s all about MATLAB What is MATLAB? MATLAB is a mathematical and graphical software package
More informationCustomer Oriented Q&A: Intel Visual Fortran Composer XE 2011 with IMSL
Customer Oriented Q&A: Intel Visual Fortran Composer XE 2011 with IMSL New Deployment Licensing for Your Applications that Include Rogue Wave* IMSL* Numerical Libraries Content Intel resells the Rogue
More informationSF1901 Probability Theory and Statistics: Autumn 2016 Lab 0 for TCOMK
Mathematical Statistics SF1901 Probability Theory and Statistics: Autumn 2016 Lab 0 for TCOMK 1 Preparation This computer exercise is a bit different from the other two, and has some overlap with computer
More informationIntroduction to MATLAB
Introduction to MATLAB Introduction MATLAB is an interactive package for numerical analysis, matrix computation, control system design, and linear system analysis and design available on most CAEN platforms
More informationIntroduction to MATLAB
Introduction to MATLAB Chen Huang Computer Science and Engineering SUNY at Buffalo What is MATLAB? MATLAB (stands for matrix laboratory ) It is a language and an environment for technical computing Designed
More informationGetting Started with MATLAB
Getting Started with MATLAB Math 315, Fall 2003 Matlab is an interactive system for numerical computations. It is widely used in universities and industry, and has many advantages over languages such as
More informationIntroduction to MATLAB application deployment
Introduction to application deployment Antti Löytynoja, Application Engineer 2015 The MathWorks, Inc. 1 Technical Computing with Products Access Explore & Create Share Options: Files Data Software Data
More informationA step by step guide to using the NAG Fortran Library with Microsoft Excel 2003
A step by step guide to using the NAG Fortran Library with Microsoft Excel 2003 Michael Croucher, University of Manchester 1. Introduction Microsoft Excel is a widely available and easy to use spreadsheet
More informationOpen source software and Sage 1
Open source software and Sage 1 http://www.sagemath.org/ David Joyner Math Dept USNA, Annapolis, MD May, 2009 1 Presentation for NSF CDI workshop David Joyner Open source software and Sage http://www.sagemath.org/
More informationWe deliver Global Engineering Solutions. Efficiently. This page contains no technical data Subject to the EAR or the ITAR
Numerical Computation, Statistical analysis and Visualization Using MATLAB and Tools Authors: Jamuna Konda, Jyothi Bonthu, Harpitha Joginipally Infotech Enterprises Ltd, Hyderabad, India August 8, 2013
More informationIntroduction to MATLAB. Arturo Donate
Introduction to MATLAB Arturo Donate Introduction What is MATLAB? Environment MATLAB Basics Toolboxes Comparison Conclusion Programming What is MATLAB? Matrix laboratory programming environment high-performance
More informationWaveForm DataBase Toolbox for MATLAB and Octave
WaveForm DataBase Toolbox for MATLAB and Octave Ikaro Silva 1 1 Laboratory for Computational Physiology Massachusetts Institute of Technology February 25, 2014 Ikaro Silva (MIT) WaveForm DataBase Toolbox
More informationA quick Matlab tutorial
A quick Matlab tutorial Michael Robinson 1 Introduction In this course, we will be using MATLAB for computer-based matrix computations. MATLAB is a programming language/environment that provides easy access
More informationMATLAB. Miran H. S. Mohammed. Lecture 1
MATLAB Miran H. S. Mohammed 1 Lecture 1 OUTLINES Introduction Why using MATLAB Installing MATLAB Activate your installation Getting started Some useful command Using MATLAB as a calculator 2 INTRODUCTION
More informationTips for Code Re-Use. Rejwan Ali, Marketing Engineer NI Africa and Oceania
ni.com 1 ni.com Tips for Code Re-Use Rejwan Ali, Marketing Engineer NI Africa and Oceania Graphical System Design A platform-based approach for measurement and control 4 Calling Compiled Code From LabVIEW
More informationAn Introduction to Open-Source Mathematics Software
1 An Introduction to Open-Source Mathematics Software (Specifically: GAP,, Macaulay2 and Sage) Jason B. Hill Slow Pitch Colloquium University of Colorado March 17, 2010 2 Outline 1 Introduction 2 GAP -
More informationCPSC 535 Assignment 1: Introduction to Matlab and Octave
CPSC 535 Assignment 1: Introduction to Matlab and Octave The goal of this assignment is to become familiar with Matlab and Octave as tools for scientific investigation. Matlab, a product of Mathworks,
More informationMATH 3511 Basics of MATLAB
MATH 3511 Basics of MATLAB Dmitriy Leykekhman Spring 2012 Topics Sources. Entering Matrices. Basic Operations with Matrices. Build in Matrices. Build in Scalar and Matrix Functions. if, while, for m-files
More informationExercises: Instructions and Advice
Instructions Exercises: Instructions and Advice The exercises in this course are primarily practical programming tasks that are designed to help the student master the intellectual content of the subjects
More informationWhat is Matlab? A software environment for interactive numerical computations
What is Matlab? A software environment for interactive numerical computations Examples: Matrix computations and linear algebra Solving nonlinear equations Numerical solution of differential equations Mathematical
More informationAn Introduction to R 1.1 Getting started
An Introduction to R 1.1 Getting started Dan Navarro (daniel.navarro@adelaide.edu.au) School of Psychology, University of Adelaide ua.edu.au/ccs/people/dan DSTO R Workshop, 29-Apr-2015 There s a book http://ua.edu.au/ccs/teaching/lsr/
More informationGNU OCTAVE BEGINNER'S GUIDE BY JESPER SCHMIDT HANSEN DOWNLOAD EBOOK : GNU OCTAVE BEGINNER'S GUIDE BY JESPER SCHMIDT HANSEN PDF
GNU OCTAVE BEGINNER'S GUIDE BY JESPER SCHMIDT HANSEN DOWNLOAD EBOOK : GNU OCTAVE BEGINNER'S GUIDE BY JESPER SCHMIDT HANSEN PDF Click link bellow and free register to download ebook: GNU OCTAVE BEGINNER'S
More informationMATLAB 7. The Language of Technical Computing KEY FEATURES
MATLAB 7 The Language of Technical Computing MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numerical
More informationIntroduction to Python Part 1. Brian Gregor Research Computing Services Information Services & Technology
Introduction to Python Part 1 Brian Gregor Research Computing Services Information Services & Technology RCS Team and Expertise Our Team Scientific Programmers Systems Administrators Graphics/Visualization
More informationNew Developments of ROOT Mathematical Software Libraries
New Developments of ROOT Mathematical Software Libraries Lorenzo Moneta CERN/PH-SFT Root Math Work Package Main responsibilities for this work package: Evaluation of basic mathematical functions Numerical
More informationComputational Physics PHYS 420
Computational Physics PHYS 420 Dr Richard H. Cyburt Assistant Professor of Physics My office: 402c in the Science Building My phone: (304) 384-6006 My email: rcyburt@concord.edu My webpage: www.concord.edu/rcyburt
More informationPolymath 6. Overview
Polymath 6 Overview Main Polymath Menu LEQ: Linear Equations Solver. Enter (in matrix form) and solve a new system of simultaneous linear equations. NLE: Nonlinear Equations Solver. Enter and solve a new
More informationClustering Images. John Burkardt (ARC/ICAM) Virginia Tech... Math/CS 4414:
John (ARC/ICAM) Virginia Tech... Math/CS 4414: http://people.sc.fsu.edu/ jburkardt/presentations/ clustering images.pdf... ARC: Advanced Research Computing ICAM: Interdisciplinary Center for Applied Mathematics
More informationKey Terms. Writing Algebraic Expressions. Example
Chapter 6 Summary Key Terms variable (6.1) algebraic expression (6.1) evaluate an algebraic expression (6.1) Distributive Property of Multiplication over Addition (6.2) Distributive Property of Multiplication
More informationSIMPLE INPUT and OUTPUT:
SIMPLE INPUT and OUTPUT: (A) Printing to the screen. The disp( ) command. If you want to print out the values of a variable to the screen, you simply can type the variable at the command line. > x = 5
More informationData Analytics and Dynamic Languages. Lee E. Edlefsen, Ph.D. VP of Engineering
Data Analytics and Dynamic Languages Lee E. Edlefsen, Ph.D. VP of Engineering 1 Overview This is my perspective on the use of dynamic languages (interpreters) for data analytics (statistics) I am a long-time
More informationIntroduction to Matlab
Introduction to Matlab Weichung Wang 2003 NCTS-NSF Workshop on Differential Equations, Surface Theory, and Mathematical Visualization NCTS, Hsinchu, February 13, 2003 DE, ST, MV Workshop Matlab 1 Main
More informationTIME 2014 Technology in Mathematics Education July 1 st -5 th 2014, Krems, Austria
TIME 2014 Technology in Mathematics Education July 1 st -5 th 2014, Krems, Austria Overview Introduction Using a 2D Plot Window in a CAS Perspective Plotting a circle and implicit differentiation Helping
More informationComputer Science 102. Into to Computational Modeling Special Topics: Programming in Matlab
Computer Science 102 Into to Computational Modeling Special Topics: Programming in Matlab Matlab An integrated programming and graphical environment Interpreted : interactive; get answer immediately Also
More informationEngineering Software. Computer Aided Design Mathematical modelling and simulation Other specialised software. ENGG1811: Computing for Engineers
ENGG1811: Computing for Engineers Engineering Software Computer Aided Design Mathematical modelling and simulation Other specialised software Cartoon by Roger Penwill, www.cadalyst.com/management/cad-cartoon-6373
More informationambrosys The Taylor series method for ordinary differential equations Karsten Ahnert 1,2 Mario Mulansky 2 December, 8, 2011
1 The Taylor series method for ordinary differential equations Karsten Ahnert 1,2 Mario Mulansky 2 1 Ambrosys GmbH, Potsdam 2 Institut für Physik und Astronomie, Universität Potsdam December, 8, 2011 ambrosys
More informationMATLAB. Devon Cormack and James Staley
MATLAB Devon Cormack and James Staley MATrix LABoratory Originally developed in 1970s as a FORTRAN wrapper, later rewritten in C Designed for the purpose of high-level numerical computation, visualization,
More informationA MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE
Geometric Modeling Notes A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE Kenneth I. Joy Institute for Data Analysis and Visualization Department of Computer Science University of California, Davis Overview
More informationIntroduction to System Simulation Techniques and Applications
1 Introduction to System Simulation Techniques and Applications 1.1 Overview of System Simulation Techniques Systems are the integrated wholes composed of interrelated and interacting entities; these could
More informationCSCI 6906: Fundamentals of Computational Neuroimaging. Thomas P. Trappenberg Dalhousie University
CSCI 6906: Fundamentals of Computational Neuroimaging Thomas P. Trappenberg Dalhousie University 1 Programming with Matlab This chapter is a brief introduction to programming with the Matlab programming
More informationIntroduction to Matlab for Econ 511b
Introduction to Matlab for Econ 511b I. Introduction Jinhui Bai January 20, 2004 Matlab means Matrix Laboratory. From the name you can see that it is a matrix programming language. Matlab includes both
More informationIntegrating MATLAB Analytics into Business-Critical Applications Marta Wilczkowiak Senior Applications Engineer MathWorks
Integrating MATLAB Analytics into Business-Critical Applications Marta Wilczkowiak Senior Applications Engineer MathWorks 2015 The MathWorks, Inc. 1 Problem statement Democratization: Is it possible to
More informationIntroduction to Scientific Computing with Matlab
UNIVERSITY OF WATERLOO Introduction to Scientific Computing with Matlab SAW Training Course R. William Lewis Computing Consultant Client Services Information Systems & Technology 2007 Table of Contents
More informationJohn Perry. Spring 2017
MAT 305: Introduction to Sage University of Southern Mississippi Spring 2017 Outline 1 2 3 4 Outline 1 2 3 4 Sage? Software for Algebra and Geometry Exploration Computer Algebra System started by William
More informationWhat is the best way to implement my algorithm in Simulink?
What is the best way to implement my algorithm in Simulink? By Giampiero Campa, PhD, Technical Evangelist MathWorks, 970 W 190 ST, Suite 530, Torrance, CA, 90502, USA giampiero.campa@mathworks.com 2014
More informationP a g e 1. MathCAD VS MATLAB. A Usability Comparison. By Brian Tucker
P a g e 1 MathCAD VS MATLAB A Usability Comparison By Brian Tucker P a g e 2 Table of Contents Introduction... 3 Methodology... 3 Tasks... 3 Test Environment... 3 Evaluative Criteria/Rating Scale... 4
More informationIntroduction to Matrix Operations in Matlab
Introduction to Matrix Operations in Matlab Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Introduction to Matrix Operations in Matlab Overview
More informationSimulation in LabVIEW. Hans-Petter Halvorsen, M.Sc.
Simulation in LabVIEW Hans-Petter Halvorsen, M.Sc. Software LabVIEW LabVIEW Control Design and Simulation Module This module is used for creating Control and Simulation applications with LabVIEW. Here
More informationA Gentle Introduction. Optimisation
A Gentle Introduction to for Optimisation FROM A MATLAB-USER PERSPECTIVE THIBAUT CUVELIER 23 SEPTEMBER, 2016 1 A few words about the course Goal: you can model nontrivial situations as MIPs, including
More informationMost nonzero floating-point numbers are normalized. This means they can be expressed as. x = ±(1 + f) 2 e. 0 f < 1
Floating-Point Arithmetic Numerical Analysis uses floating-point arithmetic, but it is just one tool in numerical computation. There is an impression that floating point arithmetic is unpredictable and
More information