MATLAB for Scientist and Engineers using Symbolic Toolbox Byoung-Jo CHOI, PhD University of Incheon Computer Applications Lab.
References Symbolic Math Toolbox™ 5 MuPAD® Tutorial, MathWorks Symbolic Math Toolbox™ 5 User's Guide Mastering MATLAB 7, Duane Hanselman and Bruce Littlefield, Pearson/Prentice Hall, 2005 Numerical Computing with MATLAB, Cleve Moler, MathWorks 임종수의 MATLAB7, 높이깊이, 2009 MATLAB: An Introduction with Applications, Amos Gilat, John Wiley & Sons, Inc., 2004 Graphics and GUIs with MATLAB, 3rd Ed, Patrick Marchand and O. Thomas Holland, Chapman & Hall/CRC, 2003
MATLAB for Scientist and Engineers Using Symbolic Toolbox Course Introductions MATLAB for Scientist and Engineers Using Symbolic Toolbox
Old History of MATLAB 1967: "Computer solution of linear algebraic equations", Forsythe and Moler 1976: "Matrix Eigensystem Routines, EISPACK Guide" in FORTRAN 1976~9: "LINPACK" in FORTRAN 1977~: "MATLAB Environment", Cleve Moler 1971: "Handbook for automatic computations" in ALGOL, J. H. Wilkinson et. al. Cleve Moler (1939~) J.H.Wilkinson, UK (1919~1986) Jack Little 1979: "Numerical analysis" lecture at Stanford, met with Jack Little, then an engineering student 1984: MathWorks founded by Jack and Moler
Further Digging Resources Video: The Origins of MATLAB at MathWorks.com http://www.mathworks.com/company/aboutus/founders/clevemoler.html Meet Mr Matlab at Scientific Computing World http://www.scientific-computing.com/features/feature.php?feature_id=15 Cleve Moler at Wikipedia http://en.wikipedia.org/wiki/Cleve_Moler BLAS at Netlib.org http://www.netlib.org/blas/ Maple at Wikipedia and Maplesoft.com http://en.wikipedia.org/wiki/Maple_(software) http://www.maplesoft.com/index1.aspx
Matrix Arithmetic, Eigen Analysis, ... MATLAB? Matrix Laboratory Matrix Arithmetic, Eigen Analysis, ... >> b=floor(10*rand(3)) b = 1 5 3 6 1 8 3 6 8 >> a=magic(3) a = 8 1 6 3 5 7 4 9 2 >> c=a*b c = 32 77 80 54 62 105 64 41 100 >> d=a/b d = 2.3934 2.0164 -2.1639 0.1475 0.1311 0.6885 5.0820 1.2951 -2.9508
Graphics & Visualization
Graphical User Interface fifteen fdatool Try them for yourself! xpbombs
Toolboxes
SIMULINK Model-based design environment Ref: Help – Video and Image Processing Blockset – Demos – Motion Detection
Ref: Help – MATLAB – Getting Started – Introduction – Product Overview They Use MATLAB for … Math and computation Algorithm development Data acquisition Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Application development, including graphical user interface building Ref: Help – MATLAB – Getting Started – Introduction – Product Overview
Ref: Help – MATLAB – Getting Started – Introduction – Product Overview The MATLAB System The MATLAB system consists of these main parts: Desktop Tools and Development Environment Mathematical Function Library The Language Graphics External Interfaces; API + Toolboxes: MATLAB function packages Simulink: Model-based design Blocksets: Simulink model packages Ref: Help – MATLAB – Getting Started – Introduction – Product Overview
What is Symbolic Computing Position of an oscillating mass: Velocity? General Solution View underlying mathematics Ref: Webinar – Symbolic Computing Tools for Academia
Symbolic Math Usage in Academia Ref: Webinar – Symbolic Computing Tools for Academia
Working w/t Symbolic Math Toolbox From MATLAB Perform symbolic computations using familiar MATLAB syntax From Notebook Interface Conveniently manage & document symbolic computations Math notation, embedded text, graphics Access complete MuPAD language 15+libraries of symbolic math functions Sharing Ref: Webinar – Symbolic Computing Tools for Academia
Demo: Mass-Spring-Damp System Dynamic Equation Initial Conditions Symbolic Math Solution Ref: Webinar – Symbolic Computing Tools for Academia mass_spring_damp_system.mn
Symbolic Math Toolbox Libraries Calculus Differentiation Integrals Jacobian Taylor series Limits Solving Equations Algebraic Equations Differential Equations Transforms Fourier transform Laplace transform Z-transform Simplification Polynomial Expansion Substitution Linear Algebra Operations Eigenvalues Special Functions Bernoulli, Bessel, Beta, … Fresnel sine/cosine integral, Gamma Variable Precision Arithmetic Plotting 2-D 3-D contour, surface, mesh Animations Ref: Webinar – Symbolic Computing Tools for Academia
Course Overview Symbolic Computing using MuPAD 14 Weeks + MidTerm Exam + Final Exam Text: MuPAD Tutorial available in PDF http://www.mathworks.com/access/helpdesk/help/pdf_doc/symbolic/mupad_tutorial.pdf Ref: Symbol Math Toolbox 5 – User's Guide http://www.mathworks.com/access/helpdesk/help/pdf_doc/symbolic/symbolic_tb.pdf
Overview: Symbolic Computation First Taste of MuPAD (Ch1~4) MuPAD Language (Ch 5~9) Graphics (Ch 10) Applications (Ch 11~13)
Lecture Layout On-Line Lecture: Review Lecture: 20min Lab: 80min Study the lecture material in advance using lecture notes and video recording. On-line quiz Review Lecture: 20min Brief Review – 10min. Q&A – 10min. Lab: 80min Pair Work Demonstrate and submit online Lab. Report
How to Get Good Grades Fall in love with MATLAB MuPAD. Be adventurous! Try different possibilities! Don't miss out on-line quizes / LAB reports. Use MATLAB for other courses. Ask on-line as well as off-line too. Ask T.A. to help you. Do not just copy others' work. Do not miss midterm exam and final exam.
Contact Lecturer T. A. Byoung-Jo CHOI bjc97r@incheon.ac.kr 032-835-8765 / 010-6737-1536 IT BD Room 7-327 T. A. Deuk-Kyu KIM (MSc Student) bluelich@gmail.com 032-835-4680 / 010-4157-8770 IT BD Room 7-330