what is native wavread()?

10 ビュー (過去 30 日間)
Asra Khalid
Asra Khalid 2018 年 6 月 26 日
回答済み: Dhaniklal 2023 年 1 月 19 日
What is native wavread()? and what is the actual syntax for this command?

回答 (1 件)

Dhaniklal
Dhaniklal 2023 年 1 月 19 日
Hi,
I understand that you would like to know about wavread() function and input argument/datatype ‘native’.
You may note that wavread() was removed from MATLAB and you should be able to use audioread() as replacement for wavread(). The last release that had wavread() was R2015a.
Syntax for audioread() :
[y,Fs] = audioread(__, dataType);
It returns sampled data in the data range corresponding to the dataType of 'native' or 'double and can include input arguments such as filename and samples.
Example:
[y,Fs] = audioread(filename,'native');%dataType ‘native’
This returns audio data in the native format of the file.
Please follow the below link for more information:
Thanks,
Dhaniklal

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by