whats wrong in the following?

3 ビュー (過去 30 日間)
VINAYAK KARANDIKAR
VINAYAK KARANDIKAR 2019 年 1 月 10 日
コメント済み: VINAYAK KARANDIKAR 2019 年 1 月 13 日
[y, Fs] = audioread('Track48.wav');
y1 = y(:,1); y2 = y(:,2);
Y = [y1 y2];
wavwrite(Y ,Fs, 'newfile.wav');
% %audiowrite('newfile.wav', Y ,Fs);
........................................................................................
Error on running:
Error using wavwrite>OpenWaveWrite (line 170)
Unable to open file. Reason: Permission denied
Error in wavwrite (line 96)
fid = OpenWaveWrite(wavefile);
Error in Test2 (line 16)
wavwrite(Y ,Fs, 'newfile.wav');
Thanks a lot

回答 (1 件)

madhan ravi
madhan ravi 2019 年 1 月 10 日
編集済み: madhan ravi 2019 年 1 月 10 日
Try changing the working directory or run as administrator it is clear from the message that file permission is denied.
  21 件のコメント
Walter Roberson
Walter Roberson 2019 年 1 月 13 日
Introduced in R2014b
You can use hist() instead of histogram() for this purpose.
Next time please fill out the Product / Release fields in your question so that we do not give you answers that are not suitable for your old release.
untitled.jpg
VINAYAK KARANDIKAR
VINAYAK KARANDIKAR 2019 年 1 月 13 日
Alright, thanks.
So basically my question is answered: Its not an audio file, i won't hear a human sound.
Next i have to design a FM receiver.
Does the material in the above link, particularly the decoder diagram suffice for this task(FM Receiver design in MATLAB), in your opinion?
Thanks

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

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by