I want to graph the following parametric curve using matlab:(adsbygoogle = window.adsbygoogle || []).push({});

x = 31cos(t)-7cos(31/7)t

y = 31sin(t)-7sin(31/7)t

0 ≤ t ≤ 14π

This is the code I used:

But the graph which Matlab generated is very different from what it's supposed to look like. Is there a problem with my codes? How do we graph this parametric curve (it's a complex curve)? Thanks.Code (Text):syms t

t=[0:1:19*pi]

x=31*cos(t)-7*cos(31/7)*t;

y=31*sin(t)-7*sin(31/7)*t;

plot(t,y,t,x)

**Physics Forums - The Fusion of Science and Community**

# Matlab generating parametric curves

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Matlab generating parametric curves

Loading...

**Physics Forums - The Fusion of Science and Community**