Category Archives: Matlab

Geometric computation and plotting with Yalmip

Yalmip is modeling language in Matlab for mathematical optimization (or programming in the language of Operation Research). There are many excellent optimization solvers out there, for Matlah or not, commercial or free or open source. However, each of them uses … Continue reading

Posted in Matlab, Research | Tagged , , , , | Leave a comment

Grapher: a hidden treasure

From Mac OS X 10.4 onward, there is a software tool pre-installed called Grapher, hidden deep in /Applications/Utilities. Grapher is a graphing calculator, which allows users to plot many types of 2-D and 3-D graphs from data points, user-defined functions, … Continue reading

Posted in LaTeX, MacOS, Matlab, Research | Tagged , , , | 1 Comment

Introducing MLE+ 1.0

I have released a new Matlab toolbox: MLE+ 1.0. For more information, check out its web-page. MLE+ is a Matlab toolbox for co-simulation with the whole-building energy simulator EnergyPlus. It is designed for engineers and researchers who are familiar with … Continue reading

Posted in Matlab, Research | Tagged , , | 1 Comment

Short-circuit logical operators in Matlab

A “feature” of the Matlab language, as mentioned in its document (at least until version 2010b), is that in the condition expression of an if or a while statement, the element-wise conjunction operator (&) and disjunction operator (|) ALWAYS use short-circuiting. Thus, if func is a function, the … Continue reading

Posted in Matlab | Tagged | 1 Comment