Code covered by the BSD License  

Highlights from
An Introduction to Dataset Arrays

An Introduction to Dataset Arrays

by

 

26 May 2009 (Updated )

A private webinar that shows some features of dataset arrays.

datenan(x)
function out = datenan(x)
% an error handler function that allows blank dates to be represented as
% NaNs when they are cast into MATLAB serial date numbers.
if isempty(x)
    out = NaN;
else
    out = datenum(x);
end

Contact us