Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Application: Graphing 3D Trajectories and Multiple Plots | Visualizations
Matlab Basics
course content

Contenido del Curso

Matlab Basics

Matlab Basics

1. Basic Syntax and Coding with a Text Editor
2. Coding Foundations
3. Learning Through Applications
4. Visualizations
5. Recursion and Matrix Multiplication

book
Application: Graphing 3D Trajectories and Multiple Plots

Continuing your program from the last chapter, here you'll plot 3D trajectories, learn how to add multiple plots to the same graph, and how to incorporate regular elements of programming into graphing programs to make totally new custom visuals.

Task

Rewrite a BETTER version of the program in the video that:

  • Uses the actual object labels (object 1, object 2, object 3) in the graph's legend: not goat, moose, and donkey;

  • Adds your own custom touch to make it look cooler (different colors, line styles and thickness, a different viewing angle, and whatever you see that could be improved).

When Creating Your Own Version:

  • The graphing module imports both the trajectories and the object labels (as a cell array) from the analysis module. When the legend is created in the last lines of the graphing module, its argument is a manually entered cell array containing animal names;

  • To change different aspects, modify them when the graph is displayed in Matlab and export the code and function versions as shown in chapter 2. Then incorporate these into your version of the program (perhaps doubling up for redundancy if things get confusing).

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 4
We're sorry to hear that something went wrong. What happened?
some-alt