With the new optional argument, it's really easy. Although you can postprocess the output to restore the original data order, it's tricky and I always The griddata function now supports natural neighbor interpolation.Īnd the unique function now has an additional option to preserve the original order of the data. Quad(fun,0,inf) Warning: Infinite or Not-a-Number function value encountered. Try an integration over an unbounded interval using integral: ( integral, integral2, integral3) that have more capabilities than the functions they replace ( quad and its cousins).
For example, there are new numerical integration functions There are several enhancements in the math area that interest me.
#Integral on matlab 2012 code
Anyway, you can include syntax-highlighted code in your published output. "Published with MATLAB", such as Calculus with MATLAB. You can find a lot of examples online by searching for the phrase I use it to create almost all of my blog posts. Speaking of the publish feature, have you heard of it? It's a great way to turn a MATLAB script (or function) into a web page, or a PDF, or a Wordĭocument. System and the publish feature) was completely overhauled so that it looks a lot better on 64-bit Windows systems. I was particularly happy to see that the web browser system built into MATLAB (used for various purposes, including the help
I encourage you to take a look at the release notes to see what else is there that might interest you. Usually, I like to scan the release notes and pick out just a few things Some of my fellow MATLAB Central bloggers have already talked about the MATLAB R2012a release.