MATLAB SYMBOLIC MATH TOOLBOX 5 - MUPAD Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Taschenrechner MATLAB SYMBOLIC MATH TOOLBOX 5 - MUPAD herunter. EN40 Mupad Tutorial Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 19
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Dynamics and Vibrations
Mupad tutorial
School of Engineering
Brown University
This tutorial introduces the MATLAB mupad’ environment for symbolic calculations. You should work
through the MATLAB tutorial before starting this one.
1. What is Mupad?
Mupad is a GUI driven MATLAB package that helps you do algebra, calculus, as well as to graph and
visualize functions. As you know, MATLAB is good for writing simple programs and working with
numbers, but is cumbersome for doing symbolic calculations. In contrast, Mupad works with symbols by
default, and has a nice menu-driven interface.
2. Starting Mupad
You run Mupad by first starting MATLAB (see the Matlab tutorial if you don’t know how to do this),
then typing
>> mupad
in the MATLAB command window. Start mupad now, and type in the commands as they appear in the
tutorial. You might find it helpful to experiment and explore the various functions on your own as well.
3. Basic Mupad window
You should see the GUI shown below. Most of the buttons should be self-explanatory. Try clicking a
few at random to see what happens…
Mupad function shortcuts
Enter Mupad
commands here
Shortcut to plotting
Mupad help
Execute
Insert new line
Seitenansicht 0
1 2 3 4 5 6 ... 18 19

Inhaltsverzeichnis

Seite 1 - Mupad tutorial

Dynamics and Vibrations Mupad tutorial School of Engineering Brown University This tutorial introduces the MATLAB ‘mupad’ environment for symb

Seite 2

(I do have a life – although there may not be much of it left - and hate to read manuals, so I just copied and pasted an example directly from the m

Seite 3 - 5. Help

Mupad can do parametric plots as well, in both 2D and 3D. Try this (The second plot here is an animation – you have to click on the plot to start

Seite 4 - 7. Basic algebra

The ‘implicitplot’ is another very useful function. In 2D, it will plot a line or curve that satisfies an equation. In 3D,

Seite 5

Saving plots: If you would like to include a plot in a report, you can click on the figure, then use Edit>Copy Graphics, th

Seite 6

Mupad can do partial derivatives as well It can also do definite integrals Try the integral without the ‘assume(‘σ’>0) as well (just

Seite 7 - 8. Plotting

Of course not all integrals can be evaluated… But definite integrals can always be evaluated numerically. Another very useful application is to tak

Seite 8

Notice that Mupad gives a formula for the solution (recall that MATLAB only gives numbers). Here’s another example – this is the differential equati

Seite 9

22( ) ( )d y dyy t y tdtdt  Again, mupad gives an exact solution – but it’s not very easy to visualize what the solution looks like! If we subst

Seite 10

These commands create row and column vectors; a matrix’ multiply a matrix by a vector (to produce a column vector); multiply a column vector by a ro

Seite 11

This should be enough to get you started, but we’ve only looked at a small subset of Mupad’s capabilities. You might like to explore the help man

Seite 12

4. Simple arithmetic calculations Just like MATLAB itself, Mupad can be used as a calculator. Try the following commands Here, the gamma functio

Seite 13 - 9. Calculus

5. Help Mupad will automatically open the help page for the MATLAB symbolic math toolbox. You can start help by pressing the question mark on the com

Seite 14

6. Saving your work You can save your work in a Mupad ‘Notebook’ (a bit like a MATLAB script) by going the the File>Save menu. The file should b

Seite 15 - 10 sin( )

hand, if you type a :=b^2 (with a colon) then you have assigned the value b^2 (a symbol) to a variable called a. Mupad will substitute b^2 for a any

Seite 16

Mupad can solve systems of equations too You often want to solve an equation or system of equations, and then substitute that solution into a thir

Seite 17 - 11. Vectors and Matrices

But you can get an approximate, numerical solution You can find more information about equation solving in the Mupad help documentation… 8. Plott

Seite 18

The ‘plotfunc2d’ command does the same thing as plot but has more options to control the appearance of the plot Another way to do a plot is to sele

Seite 19

You can display multiple plots on the same axes If you have no life and love to read help manuals, you make very fancy looking plots

Kommentare zu diesen Handbüchern

Keine Kommentare