Archived
standardize sine generation
This commit is contained in:
1 parent
da20ef83c8
commit
5a484cb6e1
1 file changed
+1
-1
+1
-1
@@ -1,4 +1,4 @@
|
||||
function x = generate_sine(amplitude, frequency, phase, fs, duration)
|
||||
function x = generate_sine(amplitude, frequency, phase, fs, duration, duty)
|
||||
%GENERATE_SINE:Arthur Lu returns a matrix of sampled sine wave, where the
|
||||
%phase shift is in number of periods
|
||||
x = zeros(1, fs * duration);
|
||||
|
||||
Reference in new issue
Block a user