What are the units of amplitude and sample value in a sine wave loop?

  • Level: Undergrad 
  • Thread starter Thread starter btb4198
  • Start date Start date
  • Tags Tags
    Amplitude Fft Units
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
7 replies · 5K views
btb4198
Messages
570
Reaction score
10
for (int n = 0; n < 52920; n++){
F = Amplitude * sin(2 *pi*n* Frequency/44100) ;
}
what are the units of Amplitude ?
I know Frequency is in Hz
also what are the unit of F?
 
Physics news on Phys.org
It appears to be an expression for the instantaneous values of something which varies sinusoisally. But without know what that thing is, we can't tell the units.

It could be a swing. It could be electrical current, or voltage or power. It could be the height of a liquid. It could be almost anything.
 
The sine doesn't have units, so F and Amplitude have the same units. But what those units are, depends on what physical quantity you're describing, as anorlunda said.
 
btb4198 said:
what if it is a sound wave?

That's still not enough. You're not going to get anywhere asking people to guess.

Does the signal come from a microphone or a pressure sensor? Information like that will provide your answer.
 
so that signal I posted, is just a sinewave I make up. I did not get it from anywhere...
 
btb4198 said:
so that signal I posted, is just a sinewave I make up. I did not get it from anywhere...
So there is no answer to your question. :smile:
 
btb4198 said:
that signal I posted, is just a sinewave I make up
Then you can make up the units as well.