Loren on the Art of MATLAB

Turn ideas into MATLAB

String Things 4

Working with text in MATLAB has evolved over time. Way back, text data was stored in double arrays with an internal flag to denote that it was meant to be text. We then transformed this representation so character arrays were their very own type. And I mentioned earlier that we introduced a string datatype to make working with text data more efficient and natural. Let me show you a little more.... read more >>

How to Chart My Year 2

I travel a lot. Mostly for work. I do try to take advantage of the priviledge - visiting so many amazing places -- and spend a little extra time occasionally. People even joke that I should be writing a travel blog. Of course I prefer to write one on MATLAB. But how about combining these just for fun today.... read more >>

Importance of Implicit Expansion For Performance 6

Sometimes people state that they like using MATLAB because it's easy to express their mathematical thoughts. Sometimes there's a follow-on that they then switch to another language for performance. While early in the history of MATLAB, that was sometimes beneficial, it is not so obvious these days. Let's take the example of implicit expansion (also here).... read more >>

Time Zones and Time Zone Offsets

Peter Perkins, in development, wrote this as an explanation for what the development team and documentation needed to understand to make sure time zones were implemented and explained correctly. I stole it (with his permission) to share with you.... read more >>

Introducing Live Editor Tasks

Today I’d like to introduce a guest blogger, David Garrison, who is a MATLAB Product Manager here at MathWorks. Dave will talk about the new feature introduced in R2019b called Live Editor Tasks which allow you to complete steps in your workflow interactively from within the Live Editor.... read more >>

Compose Yourself! 9

Even if we crunch numbers a lot, there are plenty of times, for example, when reporting, that we need to mix numbers into text. For a very long time, we've been able to create a character vector, and more recently, a string, with functions like sprintf. Look here for more information on character arrays and strings.... read more >>

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