Also, the word frequency is a bit misleading, because frequency is the inverse of time. There is no time-base in this example; we're merely making sine waves. The x axis of the graph is not time (even though that's the default label), rather it is the number of points. If the computer were super slow and generated 1 point of the for loop per second, then the graph would be right and the frequency would be 1/(number of points) which would be 0.01Hz.
The example takes the number of points and scales each to be ( 1/ 2Pi ) so that the first point corresponds to sine (0) and the last corresponds to sine (2Pi). That means you get one full cycle. If you wanted 2 cycles, just multiply by 2, in order to scale from 0 to 4Pi.
It seems to me that since it takes 100 points from a 2*Pi cycle starting from zero, the index i ends at N-1. So you don't get the full cycle, it stops at 2*Pi (1 - 1/N), in this at 99/100 of 2*Pi. You can see it clearly with a lower number of divisions.
Very informative video..thank you sir ...sir i have a question ...how to change frequency and...how to change amplitude ..suppose i want to variation inbetween 0 to 10 amplitude...
Thank u Sir u saved me in my lab exam...Jai Shree Ram...
Also, the word frequency is a bit misleading, because frequency is the inverse of time. There is no time-base in this example; we're merely making sine waves. The x axis of the graph is not time (even though that's the default label), rather it is the number of points.
If the computer were super slow and generated 1 point of the for loop per second, then the graph would be right and the frequency would be 1/(number of points) which would be 0.01Hz.
The example takes the number of points and scales each to be ( 1/ 2Pi ) so that the first point corresponds to sine (0) and the last corresponds to sine (2Pi). That means you get one full cycle. If you wanted 2 cycles, just multiply by 2, in order to scale from 0 to 4Pi.
It seems to me that since it takes 100 points from a 2*Pi cycle starting from zero, the index i ends at N-1. So you don't get the full cycle, it stops at 2*Pi (1 - 1/N), in this at 99/100 of 2*Pi. You can see it clearly with a lower number of divisions.
How could we change the frequency by scaling the multiply node?
would the number of points be considered the phase?
Very informative video..thank you sir
...sir i have a question ...how to change frequency and...how to change amplitude ..suppose i want to variation inbetween 0 to 10 amplitude...
Can you please tell me how to add phase to this signal? For example m(t) = A cos(ft + phi), where phi is my phase. Thanks :)
Just add radian value(phi) between sin function and multiple
how to add a squared sine wave
Life saver.
What is frequency
Your VI does not work. I copied it exactly.
thanks mannn (y)