Skip to content

Releases: lmendo/MATL

Small changes; see description

05 Jul 18:21
Compare
Choose a tag to compare
  • YF (exponents of prime factorization) now has a two-output version that produces the prime factors too
  • YG corrected and improved. Thanks for noticing, @suever!
  • Characters 0--7 and 14--31 are now replaced by a space before being displayed in functions D and XD, and also in ZD for char input (not in YD used as fprintf)

Various changes; see description

24 Jun 23:32
Compare
Choose a tag to compare
  • Added YF: exponents of prime factorization.
  • Changed implementation of spiral for Octave
  • Function o as "parity" was missing in the documentation table. Thanks, @DrGreenEggs
  • U for numeric input now squares it (raises it to power 2). Thanks, @DrGreenEggs!
  • h, v and Xc convert logical to numeric if some input is char, so they can be concatenated. Thanks, @suever!
  • Improved compatibility of Zc with Matlab R2014a. In char mode the first input is linearized to a row cell array, so that
    strjoin works
  • Yn with 2 or 3 numeric inputs applies flags 'linear' and 'extrap' by default

Various improvements (see description)

18 Jun 13:11
Compare
Choose a tag to compare
  • Removed 2*pi predefined constant
  • V now uses format '%.15g ' by default. Thanks, @suever!
  • Added Y- (deconv) function
  • Corrected a bug in the Zh (hypergeometric) function on Octave
  • Modified Zh (hypergeometric function) as follows: if a numerator coefficient is a nonpositive integer the series is truncated at the first index for which a zero appears in the numerator
  • axis now calls drawnow
  • Added predefined literals for consonant letters. Thanks, @suever!
  • o now behaves like mod(..., 2) for inputs that are already double
  • 1-input versions of *, +, -, <, > now use transposed first input as second input. Thanks to @suever for the suggestion!
  • Corrected a bug that affected automatic generation of input/output specs for command-line help

See description

08 Jun 00:06
Compare
Choose a tag to compare
  • With more than two inputs, the second input of X> and X< is automatically replaced by []. Thanks, @suever!
  • Added support for complex values in loop condition for while and do...while loops
  • Added optional finally statement in do...while and while loop
  • Fixed a bug in Octave's datestr function. Thanks, @david!
  • B, XB, YA can now take empty input
  • Xc (concatenate) now takes the dimension as last input, not first
  • Extended XR, ZR to build triangular or symmetric matrices
  • Avoids occurrence of '-0' in the output of V, D, XD in Octave.
  • Generalized ind2sub and sub2ind so that they allow arbitrary input values
  • Some letters are allowed as replacement for numbers in array literals. See section 4.2 of the documentation
  • YC and ZC (im2col) now allow cell array input
  • Modified the patch of unique on Octave to be less memory intensive
  • imwrite (YG) now accepts an empty filename, and in that case defaults to 'image.png'
  • Yc (strcat) with all inputs numeric now works as horzcat with singleton expansion
  • Corrected a bug in "next prime" function that caused it to fail for non-integer inputs
  • Yv with numeric input now computes eigen- or singular-value decomposition
  • Invalid regular expressions now produce empty outputs with XX (regexp) on Octave, like they do in Matlab
  • Invalid regular expressions now do nothing with YX (regexprep) on Octave, like they do in Matlab
  • YX now converts cell array contents into char, like XX does
  • matl -e not correctly produces automatic comments for break and `continue
  • e (reshape) with second input logical now works as follows: contiguous equal values indicate dimensions that will be collapsed; and a final [] is implicit

Minor correction of previous release

21 May 17:54
Compare
Choose a tag to compare

Fixed bug that removed last two characters in command-line help

Predefined literals now included in command-line help

21 May 17:45
Compare
Choose a tag to compare
18.0.1

Fixed bug that prevented predefined literals to be included in comman…

Various changes; see description

20 May 21:42
Compare
Choose a tag to compare
  • Third and fourth (optional) inputs of Ys (cumsum) can now be a single input
  • Xv (remove whitespace) unified with Xz (`nonzeros). Also, char(0) is now considered whitespace
  • X+ has been removed. Use Y+ ot Z+ instead (conv2). In addition, Y+ allows string input flag to be replaced by a number; and both Y+ and Z+ now allow sparse input in Matlab
  • Added polyfit function as 3-input version of ZQ
  • Octave compatibility: kron now automatically converts inputs to double, as happens in Matlab
  • Zg now includes function betaln in addition to gammaln
  • New Yg function, corresponding to gamma, gammainc and betainc. Note that gamma allows a wider input range than gammaln does. (That's not the case with beta and betaln).
  • Xn now computes multinomial coefficients (one input), in addition to binomial coefficients (two inputs)
  • If a logical array is used as second input to e (reshape), its size is used
  • Yn (interp1) now includes poly ( 1 input)
  • Zp now accepts char input when running on Matlab
  • XM (mode) now allows a cell array of strings in first input
  • Added function YI (col2im). Second and third input are more flexible than in the Matlab function
  • Xf with 1 input now generates all substrings

`&` meta-function and other changes; see description

08 May 17:17
Compare
Choose a tag to compare
  • Introduced & meta-function for alternative or secondary default numbers of inputs/outputs
  • Unified norm and determinant functions with absolute value function (|). Extended determinant function
  • matl -e (display with automatic comments) no longer produces trailing spaces
  • Corrected a bug in the two-input version of Y@ (perms)
  • Corrected bug in YL (gallery) with the gcdmat option
  • Changed end-based indexing semantics. Now a+j*b stands for a+end*b. Changed predefined contents of levels 1--6 of clipboard L accordingly
  • Modular indexing can now be applied to non-scalar indices too
  • Numerical non-integer indices are now automatically rounded
  • Y@ with two inputs now allows first input to be a cell array. The results are sorted in all cases.
  • u and Xu (unique) now include a fourth output with the count of occurrences
  • Bug corrected in Yo (round): it wasn't taking more than 1 input. Added support for 2 or 3 inputs on Octave
  • Bug corrected in Za (base2base) when first input didn't contain any valid digit
  • Second and third inputs of d (diff) have been interchanged
  • Extended ZQ function: with $1$ input it computes roots of a polynomial
  • G now implicitly takes one user-input if clipboard G is empty (thanks to @david for the suggestion)

Several changes; see description

20 Apr 22:57
Compare
Choose a tag to compare
  • Y@ now allows two inputs, and in that case computes variations (without repetition)
  • Improved Octave compatibility for strncmp function
  • Corrected documentation of function X#.
  • Third input of XQ (accumarray) can now be omitted
  • u and Xu (unique) are now stable by default
  • Character 0 is displayed as a space on Octave, like Matlab does
  • HTML tags removed in nodesktop mode. Thanks, @suever!

Several improvements; see description

10 Apr 22:15
Compare
Choose a tag to compare
  • Improved Xd (spdiags): now it allows vector input with two outputs (Matlab and Octave don't)
  • u in stable mode now produces up to three outputs
  • u with numeric cell array now allows sorted and stable modes
  • Corrected a bug in the pad values used by e (reshape). Thanks, @suever! Also, this function with character input now pads with character 0
  • Octave compatibility. Ym (mean) and ' Zs(std`) now allow char input
  • Some functions now allow a number instead of a string input flag. Specifically (more may be added in the future): unique, intersect, union, setdiff, setxor, conv, regexp, regexprep, sum, mean, strsplit, interp1, pdist2, accumarray, gallery, padarray.
  • Zn now also computes the determinant of a square matrix