Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MATLAB Vector Functions in matlab

  1. Jun 21, 2011 #1
    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).
     
  2. jcsd
  3. Jun 22, 2011 #2

    hunt_mat

    User Avatar
    Homework Helper

    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)
     
  4. Jun 22, 2011 #3
    Ah thanks works

    t=0:0.001:2;
    x = t;
    y = 4*t.^(2/3);
    z = -t.^2;
    plot3(x,y,z)
     
    Last edited: Jun 22, 2011
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook




Loading...