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**

Dismiss Notice

Join Physics Forums Today!

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

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

# Trouble plotting a simple sin function

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