Published


Comparing Single-threaded vs. Multithreaded Floating Point Calculations
There continue to be a flurry of queries suggesting that MATLAB has bugs when it comes to certain operations...

meer dan 14 jaar ago

Thumbnail

Published


Unique Values Without Rearrangement
In MATLAB, the simplest form of the function unique returns the unique values contained in a numeric vector,...

meer dan 14 jaar ago

Thumbnail

Published


Coordinating Zero Removals from Multiple Arrays
I've fielded some questions recently about how to coordinate multiple arrays changing simultaneously. One...

meer dan 14 jaar ago

Thumbnail

Published


Empty Arrays with Flow of Control and Logical Operators
After reading last week's post on calculating with empty arrays, one of my colleagues mentioned some other...

meer dan 14 jaar ago

Thumbnail

Published


Calculus with Empty Arrays
MATLAB has had empty arrays since before I started using the program. When I started, the only size empty array...

meer dan 14 jaar ago

Thumbnail

Published


Dealing with Cells
A customer recently asked me this question at the MATLAB Virtual Conference. Contents ...

bijna 15 jaar ago

Thumbnail

Published


Concatenating structs
From time to time, I get asked or see queries about how to concatenate two struct arrays to merge the fields. ...

bijna 15 jaar ago

Thumbnail

Published


Handling Discrete Data
Discrete data arise in many applications and the data may be numeric, or non-numeric, often referred to as...

bijna 15 jaar ago

Thumbnail

Published


October 14 – Virtual MATLAB Conference
We're having a MATLAB conference on October 14, in the virtual world. There'll be presentations, forums, chats, live...

bijna 15 jaar ago

Thumbnail

Published


Using parfor Loops: Getting Up and Running
Note. NOTE: matlabpool was removed in 2015 and you should replace that with parpool instead. ...

bijna 15 jaar ago

Thumbnail

Published


MATLAB Release 2009b – Best New Feature or ~?
MATLAB R2009b was recently released. My favorite new language feature is the introduction of the ~ notation to...

bijna 15 jaar ago

Thumbnail

Published


Rounding Results
There are frequent questions on the MATLAB newsgroup about rounding results to a certain number of decimal...

bijna 15 jaar ago

Thumbnail

Published


Precision and realmax
I was on a recent email thread at the office regarding realmax, eps, and overflow. Contents ...

bijna 15 jaar ago

Thumbnail

Published


Evens and Odds
There are so many functions in MATLAB that sometimes users think that if they can't find the function they are...

bijna 15 jaar ago

Thumbnail

Published


Math in Poetry, Poetry in Math
You hear a fair amount about the mathematically inclined people who are really into music. You hear less about that...

bijna 15 jaar ago

Thumbnail

Published


Computational Geometry in MATLAB R2009a, Part II
I am pleased to welcome back Damian Sheehy for the sequel to his earlier Computational Geometry post.   Contents What's...

ongeveer 15 jaar ago

Thumbnail

Published


Computational Geometry in MATLAB R2009a, Part I
I'm pleased to introduce Damian Sheehy as this week's guest blogger. Damian is a geometry developer at The...

ongeveer 15 jaar ago

Thumbnail

Published


A Brief History of polyval
When I first started working at MathWorks, there were already a few functions in MATLAB for working with...

ongeveer 15 jaar ago

Thumbnail

Published


Find Largest Positive Value Next to Zero
Recently, Steve wrote a blog discussing code clarity/obscurity in the context of one-line code solutions. ...

ongeveer 15 jaar ago

Thumbnail

Published


Rooting Around in MATLAB – Part 3
I recently wrote a pair of posts (1 and 2) about finding roots of equations, and how you might use MATLAB to...

ongeveer 15 jaar ago

Thumbnail

Published


Rooting Around in MATLAB – Part 2
In a recent post, I started a series of posts about finding roots of equations, and how you might use MATLAB to...

ongeveer 15 jaar ago

Thumbnail

Published


Rooting Around in MATLAB – Part 1
I've been interested in teaching for a long time, including ways to use MATLAB. One concept that students...

ongeveer 15 jaar ago

Thumbnail

Published


Hold Everything!
Have you ever tried to overlap more than one plot, only to find that you had to fiddle with a few times before...

ongeveer 15 jaar ago

Thumbnail

Published


From struct to dataset
When I got to work last Friday, I saw an email discussion, on behalf of a customer, trying to find a good way...

ongeveer 15 jaar ago

Thumbnail

Published


Optional Arguments Using Empty as Placeholder
I recently posted about optional input arguments and how to override default values. Gautam mentioned wanting...

ongeveer 15 jaar ago

Thumbnail

Published


Nice Way to Set Function Defaults
Last week, I wrote a post on the switch statement in MATLAB. One theme in the comments was about using switch (or not!) for...

ongeveer 15 jaar ago

Thumbnail

Published


Switching Things Up
If you have ever used a switch statement in MATLAB and also used it in C, you might have noticed that the two...

ongeveer 15 jaar ago

Thumbnail

Published


Learning MATLAB
Do you learn best by reading, watching, or doing? I do best with a combination of all three for learning...

meer dan 15 jaar ago

Thumbnail

Published


Convenient nargout Behavior
Here's a question that was recently posed at MathWorks. I'm trying to invoke a function handle. It...

meer dan 15 jaar ago

Thumbnail

Published


Palindrome Numbers
Today I'd like to introduce a guest blogger, Mike Garrity, who is a graphics software developer at The...

meer dan 15 jaar ago

Thumbnail

Load more