I need a idea to plot in 3-D

1 view (last 30 days)
Ian Samuelsson
Ian Samuelsson on 5 Jun 2019
Commented: Ian Samuelsson on 7 Jun 2019
I need a example, i can't plot my centripetal equation in 3-D
the equation is
F = m*(v^2/R)
  2 Comments
TADA
TADA on 5 Jun 2019
What have you tried that didn't work?
Ian Samuelsson
Ian Samuelsson on 6 Jun 2019
using vectors like (X,Y,Z) is easy to plot, but i can't do using anothers words

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 7 Jun 2019
%Example:
xv = linspace(-2, 2);
yv = linspace(1/10, 9/10);
[X, Y] = ndgrid(xv, yv);
Z = (X.^2) .^ Y + X + Y;
surf(X, Y, Z, 'edgecolor', 'none');
xlabel('x');
ylabel('y');
zlabel('z');

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!