How come I keep getting "Data Clipped" in my Command Window?

1 view (last 30 days)

Accepted Answer

Star Strider
Star Strider on 29 Apr 2014
Edited: Star Strider on 29 Apr 2014
You need to scale fur so that the maximum value is between [-1 +1] with wavwrite. Nice choice, BTW!
  22 Comments
Star Strider
Star Strider on 30 Apr 2014
If you save the files to a format compatible with Windows Media Player or some such, you should be able to play them through it. I don’t have access to the wavwrite documentation, so you will have to explore that to see. I remember that it was possible to save to different formats, but I don’t have recent experience with wavwrite, so I don’t remember the details. You may also have to ask Windows Media Player what it likes. Earlier versions played ‘.wav’ files.
Walter Roberson
Walter Roberson on 30 Apr 2014
1E-5 might be lower than eps(abs(fur)). Instead of
fur/max(abs(fur)+eps);
should use
fur/max(abs(fur)*(1+eps));
or alternately
fur/max(abs(fur)+eps) * (1-eps);

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!