Skip to content

Releases: lmendo/MATL

Some corrections in the specification document

27 Nov 04:32
Compare
Choose a tag to compare
19.5.1

Some corrections in the specification document

Several changes; see description

25 Nov 00:40
Compare
Choose a tag to compare
  • YA and ZA (dec2base, base2dec): if second input is a negative number -n: it is interpreted as symbols 0:n-1 (case ii)
  • c: sparse input is converted to full
  • Corrections in XX (regexp) with multiple outputs
  • Xx (clc) extended with 1-input version that includes pause
  • 1ZG (axis) now allows flag strings in inputs to be replaced by numbers
  • Yr (randi) now has two inputs as secondary default specification. With 2 inputs, if the second input is a scalar n it is interpreted as [1 n]
  • Changed the order of inputs of Xl

Added divisors function, and another small correction

28 Oct 21:12
Compare
Choose a tag to compare
  • Z\ (divisors) function added. Thanks to @DJMcMayhem for the suggestion
  • Correction in symmetric range (Zv) with non-integer input

Some improvements

21 Oct 22:28
Compare
Choose a tag to compare
  • Yc now accepts logical inputs
  • Fixed a bug in Zr with string input when running on Octave
  • Xz now allows char array input
  • g (logical) now accepts complex input (and uses its absolute value)
  • Zv with numeric input now produces symmetric range: 3 -> [1 2 3 2 1]; -3 -> [3 2 1 2 3].
  • i can also be used in addition to j for imaginary unit in numerical array literals, user input and in inputs to U

Semi-modular indexing for assignment, and other improvements

18 Sep 23:28
Compare
Choose a tag to compare
  • Command-line help for T and F.
  • Some errata corrected in help
  • Behaviour of Xl (clamp) with 2 inputs changed
  • Octave compatibility: Yd (blkdiag) now acccepts char inputs, like Matlab
  • Corrected Zt (strrep). If first input is char or a cell array, numerical second and third inputs are converted to char.
  • Avoid paging output in Octave, so that it honours pauses etc. Thanks, Suever!
  • In Z@ (randperm), if first input is char it is interpreted as population (not as size)
  • Octave compatibility for strcat: a single string as input removes trailing space
  • Semi-modular indexing for assignment

Various

28 Aug 15:34
Compare
Choose a tag to compare
  • & has been defined for Y" (repelem, run-length decoding) as 3$
  • Fix to make imwshow not rescale in Octave. The fix only works in some platforms
  • Octave compatibility: mat2str (&D ) now handles char input with printable characters.
  • Bug corrected in v (vertcat) and h (horzcat): they wrongly linearized the output when one of the inputs was empty
  • First input of XQ (accumarray) can now be char
  • Third input of XE can now have a single element
  • Defined Xl: clamp/max function

See description

21 Aug 02:52
Compare
Choose a tag to compare
  • YA (dec2base) and ZA (base2dec) now allow 0, 1, F (false), T (true) as abbreviations of 10, 16, 0:9, 0:15 respectively
  • Corrected two bugs in Zt(strrep): logical input was not accepted in Octave, and overlapping patterns gave wrong results
  • + in code no longer sticks to a following numeral. So H5+6 now gives 7 6 instead of 2 5 6. (+ within literals does stick as it used to: [4 +5] is the same as [4 5], and [4+5 1] is [9 1]).
  • Corrected a bug which was causing the option -l of the main program not to work
  • Second input of Za can now be T or F. T is interpreted as ' ':'~' (all printable ASCII chars) and F as [' ':'&' '(':'~'] (all printable ASCCII chars except single quote)
  • Function Z= (strncmp) has been removed
  • Added predefined literals in L: [1 .5j] [1 .5+.5j] [1+.5j 1j] [.5+.5j 1j] (meant for end-based indexing)

Various improvements (see description)

11 Aug 21:53
Compare
Choose a tag to compare
  • D has been extended with "string representation" functionality, like mat2str but also working for cell arrays (using http://stackoverflow.com/a/38553646/2586922). Unlike mat2str in Matlab, this produces '', [] or {} for empty arrays, depending on its type, and regardless of dimensions
  • X> (max), X< (min), Y> (cummax) and Yz (cummin) now return char output for char input. Flags 'omitnan' and 'includenan' are not supported
  • New predefined contents for clipboard L (2j*pi and values for 4D permute)
  • Defined & for Z$ (read file)
  • Defined & as FFT# for Yk
  • In YO with 2 inputs, if the second input is numeric it is interpreted as a format specifier as in datestr
  • Bit-wise operations now allow negative values. Values should be of type double and in the range from -2^52 to 2^52-1

Various changes; see description

30 Jul 11:22
Compare
Choose a tag to compare
  • Corrected bug in RLE for empty input
  • Function o with cell string input now pads to the right by default
  • Yv (strtrim) with char array input now counts char 0 too as insignificant whitespace
  • Octave compatibility: YX (regexeprep) now allows fourth input equal to 1 in Octave
  • & has been defined as FT# for XS (sortrows)
  • Z% (typecast) now allows second input to be a number
  • Extended Ya to unpad arrays
  • YO, ZO now take one input by default and two as alternative default
  • Changed order of perdefined contents of clipboard L. 1L and 2L are interchanged with 9L, 10L

See description

20 Jul 22:38
Compare
Choose a tag to compare
  • X[ now has a default number of outputs equal to the number of elements of first input
  • Corrected bug in X[, which gave an error when used with one output
  • Defined & for o as 2$
  • In colormap, imshow and imwrite, colormaps with some entry greater than 1 are normalized by converting to uint8, then to double, and then dividing by 255.
  • Added a predefined literal in function Y2
  • The compiled file now includes tic at the beginning
  • : with 1 char input uses space as initial value (until now it issued an error)
  • Bug corrected in o with cell input. Now empty arrays produce a row of fill values
  • n with more than one output (or one output different than the first) gives the size along those dimensions. & is defined as specifying a number of outputs equal to the number of dimensions. So &n gives the size split in numbers.
  • Zs now gives the covariance matrix if second input is 3 or 4