Adaptive Median Filter (MATLAB Code)
Updated 1 Sep 2016
Simulink® lets you integrate MATLAB® algorithms into a Simulink model
for C or HDL code generation. However, many MATLAB implementations of
signal processing, communications, and image processing algorithms require
some redesign to make them suitable for HDL code generation. For example,
they often use data types such as doubles, strings, and structures, and contain
control flow constructs, such as while loops and break statements, that do not
map well to hardware. Apart from these constructs, MATLAB algorithms that
operate on large data sets are not always written to take account of hardware
design characteristics like streaming and resource sharing. This submission uses
a typical software implementation of an adaptive median filter to illustrate
the process of converting MATLAB algorithms for HDL code generation.
Kiran Kintali (2023). Adaptive Median Filter (MATLAB Code) (https://www.mathworks.com/matlabcentral/fileexchange/30068-adaptive-median-filter-matlab-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.