Releases: lmendo/MATL
Releases · lmendo/MATL
Small correction in `u`. Better input checking in `o`
22.2.1 Corrected documentation
Included Levenshtein distance (`Ze`)
22.2.0 Levenshtein distance (`Ze`)
Colormaps with specified size
`2ZG` (`colormap`) with one extra input specifies the number of colors in the colormap. Example: `57Y02ZG` is `colormap('hot')`, whereas `57Y0100&2ZG` is `colormap(hot(100))`
Added symbolic data type
- Correction in
Y$
. There was a bug that prevented it from working with numeric input in MATLAB sym
data type is now supportedvpa_comp
now only removes whitespace for scalar, real-values output (in which case all whitespace is unwanted).disp_comp
manually includes code for sym input. This is done because I don't know how to call sym/disp when disp has been shadowed; and it also allows some tweaking- Corrected some functions for sym support. The modified functions are:
Y& * + - / Z; < > X< X> =X
^ Yk Xl Yy Y| Y~ Ye k Xk Yo s Zv
"Shuffle" function; comparison of complex values
<
, >
now compare real parts of complex values. This was the implicit behaviour in MATLAB, but not in Octave.
Added "shuffle" (apply a random permutation to input) in Zr
. Suggested by @flawr
Added advanced plotting functions
Updated help of `YH` to reflect that `drawnow` is called
Correction to `Y$`, because Matlab does not support char input to `vpa` anymore
`str2sym` needs to be applied to the first input of `vpa+ in Matlab. On the other hand, Octave does not have `str2sym`, and allows char input to `vpa`. This is handled by the compiler by using `vpa(str2sym(...), ...)` in the compiled code but defining `str2sym` as the identity function in Octave
Generalized `z` for cell arrays, following Sanchises' suggestion
z
for cell arrays gives the number of nonzero elements of each cell's contents (assumed to be standard arrays)
Several changes, all suggested by @sundar
Several changes
-
Yo
now accepts two inputs in char mode. Thanks @sundar for the suggestion! -
Yb
now accepts logical input.Yb
with numerical input wasn't taking into account'CollapseDelimiters'
; now it does -
Yb
now allows flag strings in third and all successive inputs to be replaced by numbers, as suggested by @sundar