Releases: lmendo/MATL
Releases · lmendo/MATL
Small changes; see description
YF
(exponents of prime factorization) now has a two-output version that produces the prime factors tooYG
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
andXD
, and also inZD
for char input (not inYD
used asfprintf
)
Various changes; see description
- 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
andXc
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)
- 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 callsdrawnow
- Added predefined literals for consonant letters. Thanks, @suever!
o
now behaves likemod(..., 2)
for inputs that are alreadydouble
- 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
- With more than two inputs, the second input of
X>
andX<
is automatically replaced by[]
. Thanks, @suever! - Added support for complex values in loop condition for
while
anddo...while
loops - Added optional
finally
statement indo...while
andwhile
loop - Fixed a bug in Octave's
datestr
function. Thanks, @david! B
,XB
,YA
can now take empty inputXc
(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 ofV
,D
,XD
in Octave. - Generalized
ind2sub
andsub2ind
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
andZC
(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 ashorzcat
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, likeXX
doesmatl -e
not correctly produces automatic comments forbreak
and `continuee
(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
Fixed bug that removed last two characters in command-line help
Predefined literals now included in command-line help
18.0.1 Fixed bug that prevented predefined literals to be included in comman…
Various changes; see description
- Third and fourth (optional) inputs of
Ys
(cumsum
) can now be a single input Xv
(remove whitespace) unified withXz
(`nonzeros). Also, char(0) is now considered whitespaceX+
has been removed. UseY+
otZ+
instead (conv2
). In addition,Y+
allows string input flag to be replaced by a number; and bothY+
andZ+
now allow sparse input in Matlab- Added
polyfit
function as 3-input version ofZQ
- Octave compatibility:
kron
now automatically converts inputs todouble
, as happens in Matlab Zg
now includes functionbetaln
in addition togammaln
- New
Yg
function, corresponding togamma
,gammainc
andbetainc
. Note thatgamma
allows a wider input range thangammaln
does. (That's not the case withbeta
andbetaln
). 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 includespoly
( 1 input)Zp
now acceptschar
input when running on MatlabXM
(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
- 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 thegcdmat
option - Changed end-based indexing semantics. Now
a+j*b
stands fora+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
andXu
(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
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
andXu
(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
- 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 outputsu
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