Developer Zone

Advanced Software Development with MATLAB

Trending Now!

Posted by Andy Campbell,

Today it is my pleasure to introduce my MathWorks colleague Anoush Najarian. Anoush is an engineering manager on the MATLAB performance team and she has been instrumental in many great projects such as the performance testing framework we have been blogging about as well as the significant performance improvements with... read more >>

Performance Review Criteria 3: Scales to the task 1

Posted by Andy Campbell,

To scale or not to scale. That is the question. When talking about algorithmic complexity, the answer to said question is usually an important one. No matter what the constant factors are that affect your algorithm's speed, poor scaling performance severely limits the scope of the problems you can solve. How do you measure your code's runtime complexity? If you don't have a good method for this (or even if you do!) then once again the performance testing framework is on your side. I was amazed when I learned of this one weird trick to measure the complexity of my algorithms.... read more >>

Performance Review Criteria 2: Sticks to Solid Principles 1

Posted by Andy Campbell,

We saw last time how we can use the performance testing framework to easily see the runtime differences between multiple competing algorithms. This can be done without needing to learn about the philosophies and guiding principles of the framework, indeed you don't even need to know that you are using a performance test framework or that the script you are writing is actually even considered a "test".... read more >>

Dependency, Injected 4

Posted by Andy Campbell,

Now that we have conquered inversion of control, we can explore a common application of the technique, dependency injection. Dependency injection utilizes the inversion of control to, with the aid of a dependency injection framework, construct an application through configuration rather than code. This allows your application to be distributed... read more >>

Invert Your Inner Control Freak! 3

Posted by Andy Campbell,

Arvind's recent posts have had me thinking. While the spellchecker he outlines is really just for illustrative purposes, its actually an example that is great to show the power, ease of use, and connectivity of MATLAB. I'd like to add to that the ability to showcase a software design pattern... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.