Next: Gabor Transform
Up: Time-Spectral Analysis
Previous: Time-Spectral Analysis
Contents
Short time Fourier transform
The simplest method is to simply split the sample of interest up into
multiple blocks and perform and FFT on each block. These blocks are
often overlapped. In matlab, the spectrogram function will
do this (in older versions of matlab, and in octave, the function
is specgram()).
Figure 30:
STFT for different window lengths (50% overlap for all cases)
|
$username="comment";
$password="12345aa";
$database="commentsdb1";
$link = mysql_connect('mechanicalvibrationc.domaincommysql.com', 'comments', $password);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
@mysql_select_db($database) or die( "Unable to select database");
$query = "SELECT * FROM `comments` WHERE URL='$URL'";
#echo "query is " . $query;
$result = mysql_query($query);
mysql_close();
while($row = mysql_fetch_array($result)) {
echo "User " . $row['Name'] . " Posted on " . $row['DateTime'];
echo "
";
echo $row['Comment'];
echo "
";
}
echo "
";
?>
Leave a comment on this page:
This work by Daniel Kiracofe (daniel dot kiracofe at gmail dot com)
is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.