3 lines
104 B
Matlab
3 lines
104 B
Matlab
function samples = ms_to_samples(time_in, sample_freq)
|
|
samples = (time_in / 1000) * sample_freq;
|
|
end |