Mercurial > octave-libtiff
diff NEWS @ 28171:a23da76e0693
Matlab compatibility fixes for coordinate transform functions (bug #57794).
* cart2pol.m, cart2sph.m, pol2cart.m, sph2cart.m: Modified to allow row or
column vector inputs, remove full matrix single output argument option, and
clarified coordinate definitions in help text.
* lightangle.m, surfl.m: Fix existing instances where single output was used
and a matrix was expected.
* NEWS: Added coordinate transform changes to Matlab compatibility section.
author | Nicholas R. Jankowski <jankowskin@asme.org> |
---|---|
date | Sun, 16 Feb 2020 20:19:05 -0500 |
parents | 37ee7c5cc6b2 |
children | bb929d5a34cb |
line wrap: on
line diff
--- a/NEWS Sun Mar 22 19:23:03 2020 +0100 +++ b/NEWS Sun Feb 16 20:19:05 2020 -0500 @@ -44,6 +44,15 @@ - The function `griddata` now accepts 3-D inputs by passing data directly to `griddata3`. +- Coordinate transformation functions `cart2sph`, `sph2cart`, +`cart2pol`, and `pol2cart` can now accept either row or column vectors +for coordinate inputs. A single coordinate matrix with one variable per +column can still be used as function input, but a single output variable +will now contain just the first output coordinate, and will no longer +return the full output coordinate matrix. Output size matches the +size of input vectors, or in the case of an input matrix will be column +vectors with rows corresponding to the input coordinate matrix. + ### Alphabetical list of new functions added in Octave 7 * `rng`