how to make mat file of a wave file

1 次查看(过去 30 天)
moonman
moonman 2011-11-2
I am havig a wave file. I want to store the contents of wave file into mat file
i am doing y=wavread('alpha.wav') now y is having all elements
how can i make its mat file

回答(3 个)

Walter Roberson
Walter Roberson 2011-11-2
save('alpha.mat', 'y')

moonman
moonman 2011-11-2
with save('alpha.mat', y) i am getting error Bye
  5 个评论
moonman
moonman 2011-11-3
Jan i welcome ansers from all but King always explains the things well thats why i accept his answers
i have also accepted answers from others
u all people are great
Jan
Jan 2011-11-3
@Moonman: Do not get me wrong, I do appreciate Wayne's answers also. And some of my questions could be answered by Walter using just a few words also. Without all questions concerning Matlab are welcome in this forum.
"Use save to save" and "use help for help" reminds me to "D for drive" in Night on Earth.

请先登录,再进行评论。


moonman
moonman 2011-11-3
I consulted the book and got answer
y=wavread('alpha.wav');
save alpha.mat y;

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by