Skip to content

Releases: lmendo/MATL

Various changes; see description

06 Apr 22:41
Compare
Choose a tag to compare
  • Added Za function: convert numbers from base to base
  • Improved U (str2num) to allow conversion to more general literals
  • Improved two-input version of ! (permute). Second input can now be a scalar
  • Changed the order of second and third optional inputs of o (convert to double precision

array). Padding is not on the left by default

  • Yo applied to strings or cell arrays changes case
  • Z" (blanks) now accepts vector input
  • Bug corrected in parser: space was not recognized as separator in colon literals
  • Z# (fwrite) now converts the file name to char if needed, and deletes file "inout" at the

beginning of the program

  • Octave compatibility: max and min now allow first and second input to be char
  • Comma can no longer be used as a separator. Use space or newline instead
  • Function Y} (cell2mat) has been unified with g (logical)
  • Yf (prime factors) now returns an empty array for input 1
  • Xd (diag / spdiags) now has one input by default
  • Xd with several inputs or outputs (spdiags) now allows char inputs
  • YG when used as imwrite now adds extension '.png' to filename if it contains no extension

Various changes

26 Mar 18:03
Compare
Choose a tag to compare
  • Yk (closest value) now includes a third output with indices of selected values
  • Z^ (Cartesian power) now allows inputs in reverse order if the second is an array of at least two elements
  • m (ismember) and u (unique) now accept numeric content in cell array input
  • Z+ (2D convolution; see also Y+) now produces output the same size as the input
  • Bug corrected in e (reshape) for logical input
  • Modular indexing has been added, only for scalar indices (thanks to @dennis for the suggestion)
  • Bug corrected in ZA. In addition, now it allows cell array input, and ignores non-recognized digits
  • o with cell input now allows specifying fill value and padding side
  • Z} (split array) now by default splits along the first non-singleton dimension
  • Added W function: 2 raised to input, element-wise
  • Updated the Fibonacci example in the documentation (1 byte fewer using y), and included the new features
  • YS (circshift) now allows second input to be a vector with third input specifying dimension when first input is a 2D array
  • Xd (diag) now includes spdiags functionality
  • format function has been integrated with ZG
  • h (horizontal concatenation) and v (vertical concatenation) now linearize their inputs if sizes don't match

Quite a few changes

19 Mar 01:08
Compare
Choose a tag to compare
  • bitand, bitor and bitand now allow both inputs to be char arrays. bitxor doesn't have bitcmp functionality anymore (it may be added in the future as a separate function)
  • e (reshape) now has two inputs by default, and in that case adds a final implicit [] input. For size specification not matching input size it pads with values depending on input type or trims input
  • Added function X@ to push current index of "for" loop
  • XB now automatically converts input to logical; and works for cell array input (like ZB)
  • Added function Yk: gives closest value in second input to each value in first input
  • Yb (strsplit) and Zc now include a numeric-input mode
  • XO (datestr) and ZO (datevec) now take two inputs by default
  • Improved two-array mode of S (sort)
  • Former first input of ZG (control appearance of graphics) is now the last input
  • S (sort) now works on cell arrays of numeric arrays
  • c (char) with cell array input now allows no-char cell contents. They automatically converted to char
  • o (double) with cell array input now works in an analogous way to char: converts cell contents to double, pads with zeros if needed and concatenates vertically
  • v (vertical concatenation) now takes as inputs all stack contents, by default

Various changes; see description

04 Mar 23:41
Compare
Choose a tag to compare
  • Corrected bugs in set functions that produced column result when it should be a row
  • Corrected bug in "next prime" function (no output was produced for certain inputs)
  • cumsum and cumprod now allow maximum and minimum values
  • Extended XE (replace) function for cell arrays
  • Added XM (mode) function
  • Added distance functions to pdist2 in Octave
  • Modified the behaviour of Xn (nchoosek). Added XN (nchoosek forcing first input to be interpreted as an array)

Various changes (see description)

25 Feb 00:52
Compare
Choose a tag to compare
  • Added predefined literal ' ':'~'
  • Improved compatibility of Octave's disp function with that of Matlab: empty arrays now produce no displayed output at all
  • Extended Octave's str2func function so it works as Matlab's. This is needed for XQ (accumarray function), so that it properly works on Octave
  • Octave compatibility: chars can now be converted to logical
  • prod functions can now take char input
  • padarray now allows char and logical inputs
  • Bug corrected in Xn (nchoosek) when first input is an array and second is 1
  • YC (im2col) now allows char input in Octave. Also, in Octave it gives empty output (like Matlab, and instead of an error) if block size is too large
  • Fixed trailing decimals equal to zero that are sometimes produced by Octave with symbolic output
  • Ya (padarray) now allows the first input to be char in Matlab (as in Octave)
  • New function E that multiplies by 2
  • YS (circshift) now applies the shift along the first non-singleton dimension by default
  • The three-input version of YS didn't work in Octave. Now it does

13.0.0: Various changes; see description

13 Feb 00:38
Compare
Choose a tag to compare
  • Added function X#, which displays the current stack contents, for debugging
  • Added function XE, which replaces elements in a numeric or char array
  • Changes in initial contents of clipboard L
  • Updated documentation with 2-output mode of ), Y) and Z).
  • Removed unwanted whitespace from symbolic output in Octave
  • dec2bin and dec2base now allow char input in Octave
  • floor and ceil have been integrated with lower and upper
  • Y$ (vpa) now has two inputs by default
  • padarray function added

12.1.1: Updated help and documentation

06 Feb 00:46
Compare
Choose a tag to compare

Corrected help information for YG. Updated documentation

12.1.0: Various changes (see description)

05 Feb 23:25
Compare
Choose a tag to compare
  • Expanded functionality of sort: two-array mode, for sorting one array using the order determined from sorting the other
  • Added predefined literals
  • Expanded funcionality of ) Y) Z) to split arrays
  • Corrected run-length encoding with cell arrays and with empty input
  • The default number of outputs in ndgrid is now the number of inputs
  • The input to str2num is automatically converted to char if it's not char
  • New Xv function to remove blanks
  • YG has been extended with imshow and imwrite functionality
  • # has a new mode to specify single output

12.0.1

02 Feb 17:19
Compare
Choose a tag to compare

Correction in Yc

12.0.0: Several small changes; see description

02 Feb 17:06
Compare
Choose a tag to compare
  • Inputs to conv2 (functions Y+ and Z+) are automatically converted to double)
  • Added initial contents in clipboard L: 1440, [31 28 31 30 ... 31], [31 29 31 30 ... 31], 2*pi, gamma (Euler-Mascheroni constant), phi (golden ratio)
  • Second input of strjoin and strcat can be numeric, and in that case it's automatically converted to char
  • First and second inputs of strcmp and strncmp can be numbers, and in that case they are automatically converted to char
  • Yf with negated input avoids 1 in result
  • strfind and strrep can be used with numeric inputs
  • rot90 now has two inputs by default