So all I'm trying to do is plot y = (2sin(3w))/w, w is the angular frequency. I basically want this graph in radians. So this is what I did at first:(adsbygoogle = window.adsbygoogle || []).push({});

But when I do this I get a graph of nothing, I assumed it was in radians by default. Next I tried thisCode (Text):>> x = [0:.01:20] ; //want bounds from 0 to 20

y = 2.*((sin(3.*x))/x);

plot(y)

I knew angular frequency is 2pi/T, so I tried converting the values of x to radians, but it didn't work either. Any tips?Code (Text):>> x = [0:.01:20] ; //want bounds from 0 to 20

y = 2.*((sin(3.*(2.*pi)/x))/x);

plot(y)

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Trouble plotting a simple sin function

Loading...

Similar Threads for Trouble plotting simple |
---|

Plot a stereographic hypercube in a Mac's Grapher.app? |

Mathematica Errors when plotting but not when evaluating |

Mathematica Color Contour Plots |

Mathematica Taking forever to plot |

Mathematica Cannot Plot This Function in Mathematica |

**Physics Forums | Science Articles, Homework Help, Discussion**