Skip to content

Releases: lmendo/MATL

Small correction in `u`. Better input checking in `o`

17 Mar 22:46
Compare
Choose a tag to compare

Included Levenshtein distance (`Ze`)

28 Dec 21:40
Compare
Choose a tag to compare
22.2.0

Levenshtein distance (`Ze`)

Colormaps with specified size

20 Dec 16:07
Compare
Choose a tag to compare
`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

09 Nov 00:49
755388f
Compare
Choose a tag to compare
  • Correction in Y$. There was a bug that prevented it from working with numeric input in MATLAB
  • sym data type is now supported
  • vpa_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

29 Oct 22:45
Compare
Choose a tag to compare

<, > 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

01 Oct 21:48
Compare
Choose a tag to compare
Updated help of `YH`

to reflect that `drawnow` is called

Correction to `Y$`, because Matlab does not support char input to `vpa` anymore

13 Aug 22:57
Compare
Choose a tag to compare
`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

03 May 15:08
Compare
Choose a tag to compare

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

23 Aug 09:38
Compare
Choose a tag to compare
  • Correction in Z{ for char input. Thanks to @sundar!

  • Correction in S, so that two-array mode has precedence. That way inputs such as 2 and 0 do not give an error. Thanks, @sundar!

  • Added function Zx (reset program state). Thanks to @sundar for the suggestion!

Several changes

20 Jul 22:45
Compare
Choose a tag to compare
  • Yo now accepts two inputs in char mode. Thanks @sundar for the suggestion!

  • Correction to u (see here). Thanks @giuseppe!

  • 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