What function to display the result of wavread?
조회 수: 2 (최근 30일)
이전 댓글 표시
[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?
댓글 수: 0
채택된 답변
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
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!