| Contents | Index |
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems |
|---|---|---|
Yes | Yes | Bug
Reports |
In R2011a, there are two major enhancements to filtfilt:
filtfilt has been completely rewritten to improve performance. Actual performance improvement depends on your hardware, filter length, signal length, and number of channels.
filtfilt now accepts IIR filters in second-order section (biquad) form.
In R2011a, blackmanharris and nuttallwin have a symmetric window design option. The input argument SFLAG controls the window option and defaults to 'symmetric'. 'periodic' returns a N-periodic window. The default symmetric option is preferred in FIR filter design because it results in linear phase. In spectral analysis applications, the periodic option is preferred.
In releases previous to R2011a, blackmanharris and nuttallwin only return N-periodic windows. To reproduce behavior in R2011a consistent with behavior in previous releases, use:
win = blackman(N,'periodic'); % N is the window length
or
win = nuttallwin(N,'periodic'); % N is the window length
In R2011a, rectpuls returns a double-precision vector instead of a logical vector.
In previous releases, rectpuls returns a logical vector. To produce behavior in R2011a consistent with previous releases, cast the output of rectpuls to a logical vector.
t = linspace(0,1,0.01); y = logical(rectpuls(t));
In R2011a, MathWorks is no longer using the term Embedded MATLAB to refer to the language subset that supports code generation from MATLAB algorithms. This nomenclature incorrectly implies that the generated code is used in embedded systems only.
The new term is code generation from MATLAB. This terminology better reflects the full extent of the capability for translating MATLAB algorithms into readable, efficient, and compact MEX and C/C++ code for deployment to both desktop and embedded systems.
Signal Processing Toolbox users who have the DSP System Toolbox™ and MATLAB Coder™ software can generate deployable C/C++ code and MEX files using supported functions in the Signal Processing Toolbox. See the Code Generation from MATLAB and MATLAB Coder documentation for details.
You can find material on using Code Generation from MATLAB with the Signal Processing Toolbox software in Code Generation from MATLAB Support in Signal Processing Toolbox.
Users who have the DSP System Toolbox and Fixed-Point Toolbox™ can accelerate MEX-files for fixed-point applications using fiaccel.
The functionality associated with C/C++ and MEX code generation from MATLAB has changed in R2011a. These changes include:
The compiler flag #codegen replaces #eml.
codegen replaces emlc and emlmex for generating deployable C/C++ code and MEX-files from MATLAB algorithms. You must have the DSP System Toolbox and the MATLAB Coder software to use codegen.
fiaccel replaces emlmex for generating fixed-point MEX code from MATLAB algorithms. To use fiaccel, you must have the DSP System Toolbox and Fixed-Point Toolbox software and your MATLAB code must satisfy the conditions described on the fiaccel reference page.
See the release notes and documentation for Code Generation from MATLAB, MATLAB Coder, and Fixed-Point Toolbox for details on how to make your code compliant with the new functionality.
![]() | Version 6.16 (R2011b) Signal Processing Toolbox Software | Version 6.14 (R2010b) Signal Processing Toolbox Software | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |