More MATLAB versions stuff authored by Sébastien Villemot's avatar Sébastien Villemot
...@@ -117,35 +117,150 @@ Release Notes](https://fr.mathworks.com/help/matlab/release-notes.html). ...@@ -117,35 +117,150 @@ Release Notes](https://fr.mathworks.com/help/matlab/release-notes.html).
# MATLAB 9.7 (R2019b) # MATLAB 9.7 (R2019b)
- It’s now possible to use the dot-indexing operator on a function call, e.g.
`createStruct(3).aField`
- The `size` function now accepts a vector dimension argument to query multiple
array dimension lengths at a time
- It’s now possible to restrict the possible values of input arguments to a
function, using function argument validation
- Numbers can be specified using hexadecimal or binary literals
- New `matches` function to determine if two input strings are equal
- New `namedargs2cell` function to convert structure containing name-value
pairs to cell array
- The `error` function now accepts a suggested fix for an uncaught exception
(should be the first argument, as a `Correction` instance)
- New `groupfilter` function for filtering data in a table, timetable, or
matrix by group
- New `sheetnames` function to get names of worksheets from spreadsheet file
- New `makima` function for performing modified Akima cubic Hermite
interpolation
# MATLAB 9.6 (R2019a) # MATLAB 9.6 (R2019a)
- New `append` function for combining strings
- The `min` and `max` functions:
+ now return index information corresponding to the minimum and maximum
values When simultaneously operating on more than one dimension
+ now return the linear indices corresponding to the minimum and maximum values of
the input array using the `'linear'` option
- New `readmatrix`, `readvars`, and `readcell` functions for reading tabular
data as a matrix, variables, or a cell array
- New `writematrix` and `writecell` functions for writing tabular data from a
matrix or cell array to a text or spreadsheet file
- New functions `matchpairs` and `equilibrate` for solving assignment problems
- New `xcorr` and `xcov` functions for compute cross-correlation and
cross-covariance (they were previously in the Signal Processing toolbox, now
they are in MATLAB core)
- The `detrend` function can now remove piecewise polynomial trends, set
continuity requirements, and specify sample points
- It is now possible to provide a suggested fix for an uncaught exception in
the `MException` class, using the `addCorrection` method and the `Correction` class
- New `parallelplot` function for visualizing tabular or matrix data with
multiple columns by using a parallel coordinates plot
- The `grouptransform` function now operates on arrays
# MATLAB 9.5 (R2018b) # MATLAB 9.5 (R2018b)
- It is now possible to use string arrays where character vectors or cell
arrays of character vectors were previously accepted; using double quotes
everywhere is now encouraged
- New `convertContainedStringsToChars` function to convert string arrays at any
level of cell array or structure
- The following functions now accept a vector dimension argument to specify
multiple operating dimensions at a time, as well as the option `'all'` to
specify all dimensions of an array: `all`, `any`, `bounds`, `max`, `mean`,
`median`, `min`, `mode`, `prod`, `std`, `sum`, `var`
- New `sinpi` and `cospi` functions for computing the sine and cosine of multiples of π
- `readwrite` and `writetable` are now able to manipulate Excel files on Windows without launching Microsoft Excel
- New `grouptransform` function for transforming by groups on tables and timetables
- New `groupsummary` function to perform group summary computations on matrices
- New `rmoutliers` function for removing outliers in an array, table, or timetable
# MATLAB 9.4 (R2018a) # MATLAB 9.4 (R2018a)
- New interleaved complex ABI for MEX files - New interleaved complex ABI for MEX files
- New C++ MEX interface - New C++ MEX interface
- `readwrite` and `writetable` are now able to manipulate Excel files on Windows without launching Microsoft Excel - New `normalize` function for normalizing array, table, and timetable data
- New `normalize` function - Possibility of creating complex empty arrays using functions such as `zeros`
and `ones` with the `'like'` option, or with the `complex([])` syntax
# MATLAB 9.3 (R2017b) # MATLAB 9.3 (R2017b)
- New `isfile` function - New `isfile` and `isfolder` functions
- New `decomposition` object to solve linear systems repeatedly with improved
performance
- New `lsqminnorm` function to find minimum-norm solution of underdetermined
linear system
- New `dissect` function to reorder sparse matrix columns using nested
dissection ordering
- New `vecnorm` function to compute vector-wise norms of arrays
- New values for the `sigma` option of `eigs`
- The `eigs` and `svds` functions now accept name-value pairs for options
- The `griddedInterpolant`, `interp1`, `interp2`, `interp3`, and `interpn`
functions now support the interpolation method `'makima'`, which is the
modified Akima cubic Hermite interpolation method.
- New `tallrng` function for controlling random number generation for tall arrays - New `tallrng` function for controlling random number generation for tall arrays
- New `isStringScalar` function for determining whether input is a string array
with one element
- New `convertStringsToChars` and `convertCharsToStrings` functions to enable
one’s code to accept all text types as inputs without otherwise altering the
code
- The `arrayfun`, `cellfun`, and `structfun` functions can return object arrays
of any data type, so long as the objects can be concatenated
- New `geobubble`, `wordcloud` and `binscatter` graphics functions
- The `bar` function makes it possible to control individual bar colors
- The `jsonencode` function encodes MATLAB `NaN` and `Inf` values in JSON as
null, unless asked otherwise with the `'ConvertInfAndNaN'` option set to false.
- New `ischange` function to detect abrupt changes in data
- New `islocalmin` and `islocalmax` functions to detect local minima and maxima in data
- New `mink` and `maxk` functions for finding the k smallest or largest elements in an array
# MATLAB 9.2 (R2017a) # MATLAB 9.2 (R2017a)
- String arrays can now be constructed using double quotes - String arrays can now be constructed using double quotes
- New `bounds` function for simultaneously determine the smallest and largest
elements of an array
- New `'omitnan'` option for the `prod` and `cumprod` functions
- New `movmad` and `movprod` functions for computing moving median absolute
deviation and moving product of an array
- New `missing` function to represent missing data in various types of
containers and objects
- New `issortedrows` to determine if matrix or table rows are sorted
- New `'ComparisonMethod'` and `'MissingPlacement'` options for the `sort` and
`sortrows` functions
- New `'monotonic'`, `'strictmonotonic'`, `'strictascend'`, and
`'strictdescend'` options to the `issorted` function
- The data type of the output argument for the `compose`, `extractAfter`,
`extractBefore`, `extractBetween`, `join`, `split`, and `splitlines`
functions is now the same as the type of input arguments (they would always
return string arrays in R2016b)
- New `head` and `tail` functions for returning the top or bottom rows of table
or timetable
- New `heatmap` function
- New `-nocompression` option to the `save` command
- `jsondecode` now converts JSON null values in numeric arrays to `NaN`
- New `isoutlier` and `filloutliers` functions for detecting and replacing
outliers in an array or table
- New `smoothdata` function for smoothing noisy data in an array or table with
filtering or local regression
- New `summary` function for calculating summary statistics and variable
information in tables and timetables
# MATLAB 9.1 (R2016b) # MATLAB 9.1 (R2016b)
- Adds “automatic broadcasting”, also known as “implicit expansion” (`bsxfun` - Adds “automatic broadcasting”, also known as “implicit expansion” (`bsxfun`
becomes therefore essentially useless) becomes therefore essentially useless)
- It is now possible to define local functions in scripts
- New `contains` function - New `contains` function
- New `splitlines` function - New `join`, `split`, `splitlines`, `compose`, `extractAfter`,
`extractBefore`, `extractBetween` functions
- New `jsondecode` and `jsonencode` functions - New `jsondecode` and `jsonencode` functions
- Introduces string arrays (with function `string`) - Introduces string arrays (with function `string`)
- New `fillmissing` function - New `ismissing`, `standardizeMissing`, `fillmissing`, and `rmmissing`
functions for finding, filling, and removing missing data from arrays or
tables
- The `dir` function now accepts wildcards
- New `timetable` data container and `timerange` function
# MATLAB 9.0 (R2016a) # MATLAB 9.0 (R2016a)
... ...
......