How to Plot Vector Functions in Matlab?

Click For Summary
SUMMARY

This discussion focuses on plotting vector functions in MATLAB using parametric equations. The specific equations provided are x = t, y = 4t^(2/3), and z = -t^2. The solution involves defining a time vector t from 0 to 2 with increments of 0.001, followed by plotting the 3D graph using the command plot3(x, y, z). The curvature at the point (1, -4, -1) is also mentioned as part of the problem-solving process.

PREREQUISITES
  • Familiarity with MATLAB syntax and commands
  • Understanding of parametric equations
  • Basic knowledge of 3D plotting techniques
  • Concept of curvature in vector calculus
NEXT STEPS
  • Explore MATLAB's 3D plotting functions beyond plot3, such as surf and mesh
  • Learn how to calculate curvature for vector functions in MATLAB
  • Investigate MATLAB's symbolic toolbox for analytical solutions
  • Study advanced parametric equations and their applications in MATLAB
USEFUL FOR

Students in calculus, MATLAB users interested in 3D plotting, and anyone studying vector functions and curvature analysis.

Revan3
Messages
5
Reaction score
0
Hi, Just ran into a review problem in my calculus book. Does anyone know how to plot vector functions in matlab?

Problem:

Graph the curve with parametric equations

x = t y = 4t^(2/3) z = -t^2

[and find the curvature at the point (1,-4,-1).
 
Physics news on Phys.org
I think it is as simple as t=0:0.001:2;(say), write x=t;y=4*t.^(2/3);z=-t.^2; and then use plot3d(x,y,z)
 
Ah thanks works

t=0:0.001:2;
x = t;
y = 4*t.^(2/3);
z = -t.^2;
plot3(x,y,z)
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K