\ \ Bad Domain Example t=linspace(0,4*pi) Here are some parametric equations that you may have seen in your calculus text (Stewart, Chapter 10). Then you establish x, y (and z if applicable) according to the equations, then plot using the plot(x,y) for 2D or the plot3(x,y,z) for 3D command. To plot vector functions or parametric equations, you follow the same idea as in plotting 2D functions, setting up your domain for t. It is up to you to experiment and look up these commands to better understand them. I do not explain every command or show everything. This page will not show all of them it will show the way that is the most customizable and can be easily extended to more complicated settings (like parametric equations, 3D, etc.) This is also a learn-by-example page. There are several ways to produce graphs of functions. Loyola Peeps: There are many other examples on the H-drive! You may want to have the following commands at the top of your script files to "start fresh" clc % clears the command windowįormat % resets the format to the default format Making the Point Bigger (and different).3D Parametric Equation (Vector Equation) Example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |