Algorithm Development

Developing Algorithms in the MATLAB Environment

MATLAB offers integrated capabilities for deep and broad exploration of algorithm design options, as well as for efficient deployment to desktop and embedded software environments.

Explore and Refine Your Ideas

The MATLAB environment lets you explore multiple ideas and approaches. The high-level language automatically manages low-level programming details such as memory management and variable typing, letting you focus on what you want the algorithm to do.

MATLAB encourages an iterative process because it enables you to:

  • Edit, debug, and test different designs without compiling or linking
  • Customize the rich set of proven algorithms and functions already implemented in the MATLAB language
  • Browse and recall previous commands to repeat and modify your approach

Once your algorithm is functionally correct, you can optimize it for performance and maintainability. Built-in tools identify potential problems and recommend modifications. To ensure that the algorithm works robustly on fixed-point processors, you can apply fixed-point data types and arithmetic.

Test and Verify Your Algorithm

The true test of an algorithm is how it performs under real-world conditions. You can test your algorithms on financial, mapping, image, or other data by connecting directly to databases, hardware, and instruments.

Deploy, Share, or Distribute Your Algorithm

Once your algorithm is fully optimized and tested, MATLAB provides multiple ways to share it with others, including a range of options for documenting and publishing your code and results. Algorithms can be distributed directly to other MATLAB users. You can also deploy your algorithm as a stand-alone application, as a software module that can be integrated with other languages and applications, or as standalone C code.