What function to display the result of wavread?

5 ビュー (過去 30 日間)
I Made
I Made 2013 年 2 月 25 日
[x,fs] = wavread('E:\Example\tes.wav');
if i use plot(x); there will be a graph of sine wave.
But the display i wanted is in array of the data/sample data or something?
Anyone know what function should i use?

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 25 日
Do you mean like
x(1:100,1)
to display the numeric values of the first 100 samples?
  3 件のコメント
Walter Roberson
Walter Roberson 2013 年 2 月 25 日
編集済み: Walter Roberson 2013 年 2 月 25 日
To display all of it, at the command line command
x
(just the name of the matrix.) Remember, this can come out as a lot of output!
The values you will see will be the samples normalized to the range [-1, +1) [that is, -1 exactly is allowed but not +1 exactly). The samples have no absolute meaning; they are relative to the capabilities of whatever equipment will be used to play them.
I Made
I Made 2013 年 2 月 25 日
I'm trying to apply haar filter to it not in matlab, but in java. Since java doesn't have the method(wavread) or (haar filter) i need to make sure what is it the output of wavread so i can make the same function to get the same output. In some books i read we need the frequency over time of signal to be processed ( i don't know if that's even true ) this is why i guess the output of the wavread function is the frequency over time. But i expect the value are like some decimal number but it is not.
I'm really confused about what to take from the wav files so i can process it with haar filter ?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio Processing Algorithm Design についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by