Determine weekend elements
Determine If Date Occurs During Weekend
t = datetime(2014,5,2:5,'Format','eee dd-MMM-yyyy')
t = 1x4 datetime Fri 02-May-2014 Sat 03-May-2014 Sun 04-May-2014 Mon 05-May-2014
tf = isweekend(t)
tf = 1x4 logical array 0 1 1 0
May 3 and May 4, 2014, are days that fall on a weekend.
Calculate with arrays that have more rows than fit in memory.
This function fully supports tall arrays. For more information, see Tall Arrays.
Run code in the background using MATLAB®
backgroundPool or accelerate code with Parallel Computing Toolbox™
This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Partition large arrays across the combined memory of your cluster using Parallel Computing Toolbox™.
This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox).
Introduced in R2014b