Publicado


Constants
Users have occasionally asked how to create and use constants in MATLAB. Here's one such example. In some...

casi 20 años hace

Thumbnail

Publicado


M-Lint Settings in R2006b
I love the new possibilities for customizing M-Lint messages I see in the new R2006b release based on my active...

casi 20 años hace

Thumbnail

Publicado


Commenting Code
My thesis advisor wanted to cheerfully annihilate me one day many years ago when he was working with a program...

casi 20 años hace

Thumbnail

Publicado


A Glimpse into Floating-Point Accuracy
There are frequent posts on the MATLAB newsgroup as well as lots of questions posed to Technical Support about...

casi 20 años hace

Thumbnail

Publicado


Handle This!
I recently got a great request from a reader to discuss the various kinds of entities in MATLAB attached to the...

alrededor de 20 años hace

Thumbnail

Publicado


Essence of Indexing
Indexing into arrays allows you to address portions of the elements of an array and treat this subset as an...

alrededor de 20 años hace

Thumbnail

Publicado


Processing a Set of Files
There continue to be questions on the MATLAB newsgroup regarding processing a set of files. So, for the...

alrededor de 20 años hace

Thumbnail

Publicado


Trying to Match Behavior of a New Function to an Existing One
We might want to a write a function that mimics the behavior of another related function, specifically with...

alrededor de 20 años hace

Thumbnail

Publicado


How for Works
Last week I touched on the difference between using 1:N and [1:N] as the expression in a for statement. I have...

alrededor de 20 años hace

Thumbnail

Publicado


What Are You Really Measuring?
I had an interesting encounter with a colleague, Bob, last week. We were talking about timing some...

alrededor de 20 años hace

Thumbnail

Publicado


When is a Numeric Result Not a Number?
Quick answer: when the result is a NaN. Contents NaNs in...

alrededor de 20 años hace

Thumbnail

Publicado


Inverse Mapping (update)
In a follow up comment to the inverse mapping post, Lucio noted that loopFR could be fully vectorized and he is...

alrededor de 20 años hace

Thumbnail

Publicado


Cell Arrays and Their Contents
I've written several blog articles so far on structures, and not quite so much on their soulmates, cell arrays. Just...

alrededor de 20 años hace

Thumbnail

Publicado


Inverse Mapping from Values to Indices
I am aware of frequent customer requests for replacing multiple values in an array. And the result should be...

alrededor de 20 años hace

Thumbnail

Publicado


Publishing
I thought I'd showcase the publish tool in MATLAB this time around. It's how both Steve Eddins and I produce...

alrededor de 20 años hace

Thumbnail

Publicado


Structures and Comma-Separated Lists
I have seen an increasing number of questions on structures and extracting information from them in a...

alrededor de 20 años hace

Thumbnail

Publicado


Programming for Multiple Datatypes
How do you write M-files in MATLAB that you would like to have work correctly whether the inputs are double...

alrededor de 20 años hace

Thumbnail

Publicado


Fibonacci and filter
Over the years, people have posted many versions of code for calculating Fibonacci numbers. I thought I'd...

más de 20 años hace

Thumbnail

Publicado


Memory Management for Functions and Variables
People have different ideas about what costs a lot, in terms of memory, in MATLAB. And sometimes people don't...

más de 20 años hace

Thumbnail

Publicado


Command and Function Syntaxes in MATLAB
There is a fairly constant stream of questions in many MATLAB venues, including the MATLAB newsgroup that boil...

más de 20 años hace

Thumbnail

Publicado


Two-Dimensional Integration over a General Domain
There have been several requests on the MATLAB newsgroup to calculate the area of a function on a...

más de 20 años hace

Thumbnail

Publicado


High Performance File I/O
Today I'd like to tell you how you might improve the performance of reading and writing files using MATLAB's low-level file...

más de 20 años hace

Thumbnail

Publicado


MATLAB Programming Practices
I'm feeling pensive today as I participate in development activities at MathWorks for Release 2006b. We are...

más de 20 años hace

Thumbnail

Publicado


MATLAB, Strings, and Regular Expressions
I'm pleased to introduce Jason Breslau, our guest blogger this week, who gives us his take on MATLAB, strings, and regular...

más de 20 años hace

Thumbnail

Publicado


Vectorized goto in MATLAB
Customers have long asked for a GOTO statement in MATLAB to allow them to use programming constructs familiar to them from...

más de 20 años hace

Thumbnail

Publicado


Understanding Persistence
pre.codeinput { background: #F9F7F3; padding: 10px; border: 1px solid rgb(200,200,200); } @media print { ...

más de 20 años hace

Thumbnail

Publicado


Making Functions Suitable for ND Arrays
pre.codeinput { background: #F9F7F3; padding: 10px; border: 1px solid rgb(200,200,200); } @media print { ...

más de 20 años hace

Thumbnail

Publicado


M-Lint Live in Editor in R2006a
M-Lint is a tool new in MATLAB version 7 (Release 14) to check code for possible problems and report results. You can use...

más de 20 años hace

Thumbnail

Publicado


Working with structs
pre.codeinput { background: #F9F7F3; padding: 10px; border: 1px solid rgb(200,200,200); } @media print { ...

más de 20 años hace

Thumbnail

Publicado


More on expansion: arrayfun
Since there seems to be so much interest in the topic of going beyond scalar expansion, it seems worth talking about yet...

más de 20 años hace

Thumbnail

Cargar más