INTRODUCTION TO MATLAB Kadin Tseng Boston University Scientific Computing and Visualization.

Slides:



Advertisements
Similar presentations
Introduction to Matlab
Advertisements

Introduction to Matlab
INTRODUCTION TO MATLAB Kadin Tseng Boston University Scientific Computing and Visualization.
Introduction to Matlab Workshop Matthew Johnson, Economics October 17, /13/20151.
Introduction to MATLAB for Biomedical Engineering BME 1008 Introduction to Biomedical Engineering FIU, Spring 2015 Lesson 2: Element-wise vs. matrix operations.
Introduction to Array The fundamental unit of data in any MATLAB program is the array. 1. An array is a collection of data values organized into rows and.
Introduction to MATLAB ENGR 1187 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
What is MATLAB ? MATrix LABratory –Originally, it was a front-end to FORTRAN matrix routines developed in the U. of New Mexico and Stanford –Today.
Mathcad Variable Names A string of characters (including numbers and some “special” characters (e.g. #, %, _, and a few more) Cannot start with a number.
Chapter 5 Review: Plotting Introduction to MATLAB 7 Engineering 161.
MATLAB Lecture One Monday 4 July Matlab Melvyn Sim Department of Decision Sciences NUS Business School
MATLAB INTRO CONTROL LAB1  The Environment  The command prompt Getting Help : e.g help sin, lookfor cos Variables Vectors, Matrices, and Linear Algebra.
Martin Ellison University of Warwick and CEPR Bank of England, December 2005 Introduction to MATLAB.
Nonparametric Econometrics1 Intro to Matlab for Data Analysis and Statistical Modeling.
Introduction to MATLAB adapted from Dr. Rolf Lakaemper.
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
MATLAB Tutorials Session I Introduction to MATLAB Rajeev Madazhy Dept of Mechanical Engineering LSU.
1 Chapter 1 MATLAB Primer This introductory chapter is relatively short and has as its main objective the introduction of MATLAB ® to the reader. This.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
ELG 3120 Signal and System Analysis 1 Introduction to MATLAB TAs Wei Zhang Ozgur Ekici (Section A)(Section B) ELG 3120 Lab Tutorial 1.
1 Lab of COMP 406 Teaching Assistant: Pei-Yuan Zhou Contact: Lab 1: 12 Sep., 2014 Introduction of Matlab (I)
MEGN 536 – Computational Biomechanics MATLAB: Getting Started Prof. Anthony J. Petrella Computational Biomechanics Group.
ECE 1304 Introduction to Electrical and Computer Engineering Section 1.1 Introduction to MATLAB.
ENG 1181 College of Engineering Engineering Education Innovation Center MATLAB is a powerful program for numerical computations, plotting and programming.
Introduction to MATLAB ENGR 1181 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
A Brief Introduction to Matlab Laila Guessous Dept. of Mechanical Engineering Oakland University.
MATLAB An Introduction to MATLAB (Matrix Laboratory) 1.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
Introduction to Engineering MATLAB – 6 Script Files - 1 Agenda Script files.
Eng Ship Structures 1 Introduction to Matlab.
INTRODUCTION TO MATLAB LAB# 01
Numerical Computation Lecture 2: Introduction to Matlab Programming United International College.
Matlab Basics Tutorial. Vectors Let's start off by creating something simple, like a vector. Enter each element of the vector (separated by a space) between.
What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation tools. Others include Maple Mathematica MathCad.
CMPS 1371 Introduction to Computing for Engineers MatLab.
10/24/20151 Chapter 2 Review: MATLAB Environment Introduction to MATLAB 7 Engineering 161.
MAE 1202: AEROSPACE PRACTICUM An Introduction to MATLAB: Part 2 Mechanical and Aerospace Engineering Department Florida Institute of Technology Developed.
Lecture 2 - Matlab Introduction CVEN 302 June 5, 2002.
Scientific Computing Introduction to Matlab Programming.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
Language Basics and Data Types ● What and why of Matlab. ● Matlab desktop. ● Familiarize ourselves with basics of language. ● Basic types of data that.
Introduction to MATLAB ENGR 1181 MATLAB 1. Opening MATLAB  Students, please open MATLAB now.  CLICK on the shortcut icon → Alternatively, select… start/All.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 DKT 211 Basic Communication Engineering LAB # 1A : (Lecture 1) Introduction to Matlab  Basic Features  Scientific features  Array Operations  Script.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
A simple classification problem Extract attributes Pattern Pattern recognition decision x C1 C2.
Introduction to Matlab  Matlab is a software package for technical computation.  Matlab allows you to solve many numerical problems including - arrays.
ENG 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program MAT - Introduction.
Introduction to MATLAB Zongqiang Liao Research Computing Group UNC-Chapel Hill.
INTRODUCTION TO MATLAB DAVID COOPER SUMMER Course Layout SundayMondayTuesdayWednesdayThursdayFridaySaturday 67 Intro 89 Scripts 1011 Work
The Hong Kong Polytechnic University Industrial Centre MatLAB Lesson 1 : Overview & Environment Edward Cheung Room W311g.
INTRODUCTION TO MATLAB Dr. Hugh Blanton ENTC 4347.
Introduction to MATLAB 1.Basic functions 2.Vectors, matrices, and arithmetic 3.Flow Constructs (Loops, If, etc) 4.Create M-files 5.Plotting.
GRAPHICS AND VISUALISATION WITH MATLAB UNIVERSITY OF SHEFFIELD CiCS DEPARTMENT Deniz Savas & Mike Griffiths May 2015.
Matlab for Engineers Matlab Environment Chapter 2.
1 Faculty Name Prof. A. A. Saati. 2 MATLAB Fundamentals 3 1.Reading home works ( Applied Numerical Methods )  CHAPTER 2: MATLAB Fundamentals (p.24)
CS100A, Fall 1998, Lecture 201 CS100A, Fall 1998 Lecture 20, Tuesday Nov 10 More Matlab Concepts: plotting (cont.) 2-D arrays Control structures: while,
An Introduction to Programming in Matlab Emily Blumenthal
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
전자장 1 실험 - Matlab 사용법 - Photonic Systems Laboratory School of EE, Seoul National University Photonic Systems Lab School of EECS, S.N.U.
MAE 421 Matlab review Prof. Mark Glauser Created by: David Marr.
Release Numbers MATLAB is updated regularly
Introduction to MATLAB
INTRODUCTION TO BASIC MATLAB
MATLAB DENC 2533 ECADD LAB 9.
Matlab Workshop 9/22/2018.
StatLab Matlab Workshop
StatLab Workshop: Intro to Matlab for Data Analysis and Statistical Modeling 11/29/2018.
INTRODUCTION TO MATLAB
MATLAB Introduction MATLAB can be thought of as a powerful graphing calculator but with a lot more buttons! It is also a programming language, commands.
Presentation transcript:

INTRODUCTION TO MATLAB Kadin Tseng Boston University Scientific Computing and Visualization

 Log on with your BU userid and Kerboros password  Double click on the MATLAB icon to start MATLAB  You will see a splash screen as MATLAB is starting  When a >> prompt appears, MATLAB is ready for action  MATLAB commands are entered at >> for execution  Feel free to try the commands appearing in the subsequent slides to get a feel for how they work. Be adventurous ! Log On To PC For Hands-on Practice Introduction to MATLAB 2

 It is developed by The Mathworks, Inc. ( Mathworks, Inc.  It is an interactive, integrated, environment for numerical/symbolic, scientific computations and other apps. shorter program development and debugging time than traditional programming languages such as FORTRAN and C. slow (compared with FORTRAN or C) because it is interpreted. automatic memory management; no need to declare arrays. intuitive, easy to use. compact notations. What is MATrix LABoratory ? Introduction to MATLAB 3

 Latest version is MATLAB 2011b  For Windows: double click MATLAB icon  For Linux Cluster: katana% matlab  Either case spawns a MATLAB window with >> prompt. >> % from % to end of line used for code documentation ans = (R2011a) >> version % this will tell you the running MATLAB version >> help % lists available packages/toolboxes on system. >> help elfun % lists functions in elementary functions package >> help sin % instructions on the sine function >> lookfor sine % if you don’t know the function name … >> doc sin % for full details o ffunction >> quit % to quit MATLAB Getting Started With MATLAB Introduction to MATLAB 4

 Variable, function, file names is case sensitive, e.g., NAME and Name are 2 distinct names. variable begins with a letter, e.g., A2z or a2z can be a mix of letters, digits, and underscores (e.g., vector_A) no reserved characters: % = + – ~ ; : ! ' [ ] ( # $ & ^ up to 63 characters A function performs a pre-defined task based on input to yield certain outcome.  File name MATLAB command files should be named with a suffix of ".m", e.g., myfile.m. An m-file typically contains a sequence of MATLAB commands that will be executed in order A file may contain a collection of commands, functions Note: To run, enter m-file, without.m, e.g., >> myfile Rules on Variable and Function Name Introduction to MATLAB 5

Some characters are reserved by MATLAB for various purposes. Some as arithmetic or matrix operators: =, +, -, *, /, \ and others are used to perform a multitude of operations. Reserved characters cannot be used in variable or function names. >> % anything after % until the end of line is treated as comments >> >> a = 3 % define a to have the value 3 a = 3 >> a = 3; % “;” suppresses printing >> >> b = 4; c = 5; % “;” enables multiple commands on same line >> >> d = 6, e = 7; % “,” delimits commands but enables printing d = 6 Reserved Characters % = ;, Introduction to MATLAB 6

>> x = 1:2:9 % define vector x with : operator (begin:interval:end) x = >> y = 3:5 % interval is defaulted to 1; same as y=[3:5] y = >> X = [1, 2, 3; 4, 5, 6] % 2D array. The ; is vertical concatenation. % [ ] for arrays. Prevents ambiguity % ; concatenates vertically (new row) %, concatenates horizontally (new columns) X = >> X(2,3) % ( ) for subscripting; why ans ? ans = 6 Reserved Characters : [ ] ( ) Introduction to MATLAB 7

>> x = [1 2 3 … % elipses … means to be continued on the next line 4 5 6] x = >> s = 'this is a character string'; % blanks preserved within quotes >> x = [1 2 3]' % ' performs transpose (e.g., turns row into column) x = >> X = [1 2 3; 4 5 6]; size(X) % figure out the size (dimensions) of X ans = 2 3 >> X = [1 2 3; 4 5 6]; numel(X) % total number of entries in X ans = 6 Reserved Characters … and ' Introduction to MATLAB 8

>> !dir % “!” lets you run a command in MS Windows Volume in drive C has no label. Volume Serial Number is 6860-EA46 Directory of C:\Program Files\MATLAB704\work 01/31/ :56 AM. 01/31/ :56 AM.. 06/13/ :09 PM 12 foo.exe 06/13/ :57 AM 77 mkcopy.m >> !ls -l % “!” lets you run a similar command in Unix/Linux total 0 -rw-r--r-- 1 kadin scv 0 Jan 19 15:53 file1.m -rw-r--r-- 1 kadin scv 0 Jan 19 15:53 file2.m -rw-r--r-- 1 kadin scv 0 Jan 19 15:53 file3.m >> system(‘ls -l’) % more general form; also unix(‘ls -l’) Reserved Character ! (or system) Introduction to MATLAB 9

>> a = 1:3; % a is a row vector >> b = 4:6; % b is a row vector >> c = a + b % c has same shape as a & b c = >> A = [a;b] % combines rows to generate 2x3 matrix A; A=a;b ? A = >> B = A' % B is transpose of A B = Other ways to create B ? (hint: with a and b ) Array operations Introduction to MATLAB 10

>> C = A*B % * is overloaded as matrix multiply operator C = >> D = A.*A % a.* turns matrix multiply to elemental multiply D = >> E = A./A % elemental divide E = >> who % list existing variables in workspace Your variables are: A B C D E a b d Matrix Operations Introduction to MATLAB 11

>> whos % detail listing of workspace variables Name Size Bytes Class A 2x3 48 double array B 3x2 48 double array C 2x2 32 double array D 2x3 48 double array E 2x3 48 double array a 1x3 24 double array b 1x3 24 double array c 1x3 24 double array Grand total is 37 elements using 296 bytes >> A = single(A); % recast A to single data type to save memory >> whos Name Size Bytes Class A 2x3 24 single array >> clear % delete all workspace variables Data Precisions Introduction to MATLAB 12

for k=1:5 % use for-loops to execute iterations / repetitions for j=1:3 for i=1:4 a(i, j, k) = i + j + k; end Utilities to initialize or define arrays: ones, rand, eye,... Trigonometric and hyperbolic functions : sin, cos, sqrt, exp,... These utilities can be used on scalar or vector inputs >> a = sqrt(5); v = [1 2 3]; A = sqrt(v); For Loops Introduction to MATLAB 13

Scalar operation... a = rand; % use utility rand to generate a random number if a >.5 b = 1; else b = 0; end Equivalent vector operations... A = rand(3); % A is a 3x3 random number double array B = zeros(3); % Initialize B as a 3x3 array of zeroes B(A > 0.5) = 1; % set to 1 all elements of B for which A > 0.5 if Conditional Introduction to MATLAB 14

A cell array is a special array of arrays. Each element of the cell array may point to a scalar, an array, or another cell array. >> C = cell(2, 3); % create 2x3 empty cell array >> M = magic(2); >> a = 1:3; b = [4;5;6]; s = 'This is a string.'; >> C{1,1} = M; C{1,2} = a; C{2,1} = b; C{2,2} = s; C{1,3} = {1}; C = [2x2 double] [1x3 double] {1x1 cell} [2x1 double] ‘This is a string.‘ [] >> C{1,1} % prints contents of a specific cell element ans = >> C(1,:) % prints first row of cell array C; not its content Related utilities: iscell, cell2mat Cell Arrays Introduction to MATLAB 15

Ideal layout for grouping arrays that are related. >> name(1).last = ‘Smith’; name(2).last = ‘Hess’; >> name(1).first = ‘Mary’; name(2).first = ‘Robert’; >> name(1).sex = ‘female’; name(2).sex = ‘male’; >> name(1).age = 45; name(2).age = 50; >> name(2) ans = last: 'Hess' first: 'Robert' sex: 'male' age: 50 Alternative style: >> name = struct(‘last’,{Smith’,’Hess’}, ‘first’,{Mary’,’Robert’},… (‘sex’,{female’,’male’}, ‘age’,{45,50}); Related utilities: isstruct, fieldnames, getfield, isfield Structures Introduction to MATLAB 16

There are many types of files in MATLAB. Only script-, function-, and mat-files are covered here: 1. script m-files (.m) -- group of commands; reside in base workspace 2. function m-files (.m) -- memory access controlled; parameters passed as input, output arguments; reside in own workspace 3. mat files (.mat) -- binary (or text) files handled with save and load 4. mex files (.mex) -- runs C/FORTRAN codes from m-file 5. eng files (.eng) -- runs m-file from C/FORTRAN code 6. C codes (.c) – C codes generated by MATLAB compiler 7. P codes (.p) – converted m-files to hide source for security File Types Introduction to MATLAB 17

If you have a group of commands that are expected to be executed repeatedly, it is convenient to save them in a file... >> edit mytrig.m % enter commands in editor window a=sin(x); % compute sine x (radians) b=cos(x); % compute cosine x (radians) disp([‘a = ‘ num2str(a)]) % prints a disp([‘b = ‘ num2str(b)]) % prints b Select File/Save to save it as mytrig.m. Note that a script operates within the workspace in which it is launched. All variables in script are interchangebly accessible with caller’s. Define x, then use it in mytrig.m: >> x=30*pi/180; % converts 30 degrees to radians >> mytrig % x is accessible to mytrig.m; share same workspace a = b = Script m-file Introduction to MATLAB 18

It is declared with the key word function, with optional input parameters on the right and optional output on the left of =. All other parameters within function reside in function’s own workspace. Use MATLAB editor to create file: >> edit average.m function avg=average(x) % function avg=average(x) % Computes the average of x % x (input) matrix for which an average is sought % avg (output) the average of x avg = sum(x)/numel(x); % the average end Save the above with File/Save Recommendation: saves file with name same as function name It may be called from a script, another function, or on command line: >> a = average(1:3) % a = ( ) / 3 a = 2 >> help average % prints contiguous lines with % in average Function m-files Introduction to MATLAB 19

Scripts Pros: - convenient; script’s variables are in same workspace as caller’s Cons: - slow; script comands loaded and interpreted each time it is used - risks of variable name conflict inside & outside of script Functions Pros: Scope of function’s variables is confined to within function. No worry for name conflict with those outside of function. What comes in and goes out are tightly controlled which helps when debugging becomes necessary. Compiled the first time it is used; runs faster subsequent times. Easily be deployed in another project. Auto cleaning of temporary variables. Cons: I/O are highly regulated, if the function requires many pre-defined variables, it is cumbersome to pass in and out of the function – a script m-file is more convenient. Script or Function m-file ? Introduction to MATLAB 20

>> magic(n) % creates a special n x n matrix; handy for testing >> zeros(n,m) % creates n x m matrix of zeroes (0) >> ones(n,m) % creates n x m matrix of ones (1) >> rand(n,m) % creates n x m matrix of random numbers >> repmat(a,n,m) % replicates a by n rows and m columns >> diag(M) % extracts the diagonals of a matrix M >> help elmat % list all elementary matrix operations ( or elfun) >> abs(x); % absolute value of x >> exp(x); % e to the x-th power >> fix(x); % rounds x to integer towards 0 >> log10(x); % common logarithm of x to the base 10 >> rem(x,y); % remainder of x/y >> mod(x, y); % modulus after division – unsigned rem >> sqrt(x); % square root of x >> sin(x); % sine of x; x in radians >> acoth(x) % inversion hyperbolic cotangent of x Some Frequently Used Functions Introduction to MATLAB 21

 Line plot  Bar graph  Surface plot  Contour plot  MATLAB tutorial on 2D, 3D visualization tools as well as other graphics packages available in our tutorial series. MATLAB Graphics Introduction to MATLAB 22

>> t = 0:pi/100:2*pi; >> y = sin(t); >> plot(t,y) Line Plot Introduction to MATLAB 23

>> xlabel(‘t’); >> ylabel(‘sin(t)’); >> title(‘The plot of t vs sin(t)’); Line Plot Introduction to MATLAB 24

>> y2 = sin(t-0.25); >> y3 = sin(t+0.25); >> plot(t,y,t,y2,t,y3) % make 2D line plot of 3 curves >> legend('sin(t)','sin(t-0.25)','sin(t+0.25',1) Line Plot Introduction to MATLAB 25

Generally, MATLAB’s default graphical settings are adequate which make plotting fairly effortless. For more customized effects, use the get and set commands to change the behavior of specific rendering properties. >> hp1 = plot(1:5) % returns the handle of this line plot >> get(hp1) % to view line plot’s properties and their values >> set(hp1, ‘lineWidth’) % show possible values for lineWidth >> set(hp1, ‘lineWidth’, 2) % change line width of plot to 2 >> gcf % returns current figure handle >> gca % returns current axes handle >> get(gcf) % gets current figure’s property settings >> set(gcf, ‘Name’, ‘My First Plot’) % Figure 1 => Figure 1: My First Plot >> get(gca) % gets the current axes’ property settings >> figure(1) % create/switch to Figure 1 or pop Figure 1 to the front >> clf % clears current figure >> close % close current figure; “close 3” closes Figure 3 >> close all % close all figures Customizing Graphical Effects Introduction to MATLAB 26

>> x = magic(3); % generate data for bar graph >> bar(x) % create bar chart >> grid % add grid To add a legend, either use the legend command or via insert in the Menu Bar on the figure. Many other actions are available in Tools. It is convenient to use the Menu Bar to change a figure’s properties interactively. However, the set command is handy for non-interactive changes, as in an m-file. Similarly, save a graph via the Menu Bar’s File / Save as or >> print –djpeg 'mybar' % file mybar.jpg saved in current dir Save A Plot With print Introduction to MATLAB 27

>> x = magic(3); % generate data for bar graph >> bar(x) % create bar chart >> grid % add grid for clarity 2D Bar Graph Introduction to MATLAB 28

Many MATLAB utilities are available in both command and function forms. For this example, both forms produce the same effect: >> print –djpeg 'mybar' % print as a command >> print('-djpeg', 'mybar') % print as a function For this example, the command form yields an unintentional outcome: >> myfile = 'mybar'; % myfile is defined as a string >> print –djpeg myfile % as a command, myfile is treated as text >> print('-djpeg', myfile) % as a function, myfile is treated as a variable Other frequently used utilities that are available in both forms are: save, load Use MATLAB Command or Function ? Introduction to MATLAB 29

>> Z = peaks; % generate data for plot; peaks returns function values >> surf(Z) % surface plot of Z Try these commands also: >> shading flat >> shading interp >> shading faceted >> grid off >> axis off >> colorbar >> colormap(‘winter’) >> colormap(‘jet’) Surface Plot Introduction to MATLAB 30

>> Z = peaks; >> contour(Z, 20) % contour plot of Z with 20 contours >> contourf(Z, 20); % with color fill >> colormap('hot') % map option >> colorbar % make color bar Contour Plots Introduction to MATLAB 31

Integration of cosine from 0 to π /2. Use mid-point rule for simplicity. Integration Example Introduction to MATLAB 32 mid-point of increment cos(x) h a = 0; b = pi/2; % range m = 8; % # of increments h = (b-a)/m; % increment

% integration with for-loop tic m = 100; a = 0; % lower limit of integration b = pi/2; % upper limit of integration h = (b – a)/m; % increment length integral = 0; % initialize integral for i=1:m x = a+(i-0.5)*h; % mid-point of increment i integral = integral + cos(x)*h; end toc Integration Example — using for-loop Introduction to MATLAB 33 X(1) = a + h/2 X (m) = b - h/2 a h b

% integration with vector form tic m = 100; a = 0; % lower limit of integration b = pi/2; % upper limit of integration h = (b – a)/m; % increment length x = a+h/2:h:b-h/2; % mid-point of m increments integral = sum(cos(x))*h; toc Integration Example — using vector form Introduction to MATLAB 34 X(1) = a + h/2 X (m) = b - h/2 a h b

1. Use the editor to write a program to generate the figure that describe the integration scheme we discussed. (Hint: use plot to plot the cosine curve. Use bar to draw the rectangles that depict the integrated value for each interval. Save as plotIntegral.m 2. Compute the integrals using 10 different increment sizes (h), for m=10, 20, 30,..., 100. Plot these 10 values to see how the solution converges to the analytical value of 1. Hands On Exercise Introduction to MATLAB 35

a = 0; b=pi/2; % lower and upper limits of integration m = 8; % number of increments h = (b-a)/m; % increment size x= a+h/2:h:b-h/2; % m mid-points bh = bar(x,cos(x),1,'c'); % make bar chart with the bars in cyan hold % all plots will be superposed on same figure x = a:h/10:b; % use more points at which to evaluate cosine f = cos(x); % compute cosine at x ph = plot(x,f,'r'); % plots x vs f, in red % Compute integral with different values of m to study convergence for i=1:10 n(i) = 10+(i-1)*10; h = (b-a)/n(i); x = a+h/2:h:b-h/2; integral(i) = sum(cos(x)*h); end figure % create a new figure plot(n, integral) Hands On Exercise Solution Introduction to MATLAB 36

1. How would you generalize the script for arbitrary a & b ? 2. How to add a title ? 3. How about x-, and y-label ? More Hands On Exercises Introduction to MATLAB 37

There are a number of ways: Buy your own student version o fMATLAB for $99. software/mathsci/matlab/faqs/#studenthttp:// software/mathsci/matlab/faqs/#student Check your own department to see if there is a computer lab with installed MATLAB With a valid BU userid, the engineering grid will let you gain access remotely. If you have a Mac, Windows PC or laptop, you may have to sync it with Active Directory (AD) first: acs-linux.bu.edu, katana.bu.edu licensed-software/mathsci/mathematica/student-resources-at-buhttp:// licensed-software/mathsci/mathematica/student-resources-at-bu Where Can I Run MATLAB ? Introduction to MATLAB 38

Please help us do better in the future by participating in a quick survey: survey  SCV home page (  Resource Applications  Help System bu.service-now.com Web-based tutorials ( (MPI, OpenMP, MATLAB, IDL, Graphics tools) HPC consultations by appointment Kadin Tseng Useful SCV Info Introduction to MATLAB 39