From: bovitch on
HI all
I have a speech signal (.DAT file) i wish to know The sampling frequency fs.
i load the signal in matlab with
sig=load(v3n3mask.dat);
i wish to know the fs of signal
From: Wayne King on
"bovitch " <bovitch(a)yahoo.fr> wrote in message <hvt60s$9ut$1(a)fred.mathworks.com>...
> HI all
> I have a speech signal (.DAT file) i wish to know The sampling frequency fs.
> i load the signal in matlab with
> sig=load(v3n3mask.dat);
> i wish to know the fs of signal

Hi, this command works for you without single quotes?

sig = load('v3n3mask.dat');

At any rate, you cannot know the sampling frequency unless it's stored in the file somewhere, or you know the total duration of the signal, or there is a vector of times in the data file, or the person who recorded it tells you what it is, etc. If all you have in the data file is a sequence of amplitude samples, you cannot determine the sampling frequency.

Wayne
From: Steve Amphlett on
"bovitch " <bovitch(a)yahoo.fr> wrote in message <hvt60s$9ut$1(a)fred.mathworks.com>...
> HI all
> I have a speech signal (.DAT file) i wish to know The sampling frequency fs.
> i load the signal in matlab with
> sig=load(v3n3mask.dat);
> i wish to know the fs of signal

Is there a tuning fork ringing in the background anywhere?