sine wave function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I need the function for the sine wave if
x= 4000
y= 3000
mean level = 1003
Amplitude = 3
Wavelength = 100
Thanks a lot
0 Kommentare
Akzeptierte Antwort
RNTL
am 28 Mär. 2012
what are x and y ? generally, according to your wavelength if you're talking about radio signals in free space, then the frequency of the sine is f = c/Wavelength (c=3e8). you then need to set sampling frequency, i.e fs = 5*f;
and just have sine = mean level + 3*sin(2*pi*f*[1:whatever length]/fs);
Weitere Antworten (2)
simira atraqi
am 28 Mär. 2012
1 Kommentar
RNTL
am 28 Mär. 2012
From your first question I understood as you need a 1-D sine wave.
What is the analytic function that describes your problem?
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!