annotate NEWS-5.1.md @ 170:0bcf9964773c

* NEWS-5.1.md: Enable ToC display inside a div-block element.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 04 Mar 2019 11:24:41 +0100
parents 0b3d9f76c7cd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 ---
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
2 layout: page
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
3 title: Summary of important user-visible changes for version 5
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
4 menu: false
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 ---
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
7 February 23, 2019
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
8
170
0bcf9964773c * NEWS-5.1.md: Enable ToC display inside a div-block element.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 169
diff changeset
9 {::options parse_block_html="true" /}
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
10 <div class="panel callout">
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
11 * TOC
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
12 {:toc}
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
13 </div>
170
0bcf9964773c * NEWS-5.1.md: Enable ToC display inside a div-block element.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 169
diff changeset
14 {::options parse_block_html="false" /}
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
16 ### General improvements
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
18 - The Octave plotting system now supports high resolution screens,
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
19 i.e., those with greater than 96 DPI which are referred to as
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
20 HiDPI/Retina monitors.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
21
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
22 - Unicode character support for files and folders in Windows.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
24 - A new core function `movfun` will apply a function to a sliding
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
25 window of arbitrary size on a dataset and accumulate the results.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
26 Many common cases have been implemented using the naming
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
27 scheme `movXXX` where `XXX` is the function that will be applied.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
28 For example, the moving average over a dataset is `movmean`.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
29 New moving window functions:
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
30
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
31 `movfun` `movslice`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
32 `movmad` `movmax` `movmean` `movmedian` `movmin` `movprod`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
33 `movstd` `movsum` `movvar`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
35 - The `fsolve` function has been tweaked to use larger step sizes when
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
36 calculating the Jacobian of a function with finite differences.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
37 This leads to faster convergence.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
39 - The `ranks` function has been recoded for performance and is now 25X
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
40 faster. In addition, it now supports a third argument that specifies
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
41 how to resolve the ranking of tie values.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
43 - The function `randi` has been recoded to produce an unbiased (all
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
44 results are equally likely) sample of integers. This may produce
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
45 different results in existing code. If it is necessary to reproduce
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
46 the exact random integer sequence as in previous versions use
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
48 `ri = imin + floor ((imax - imin + 1) * rand ());`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
50 - The function `isdefinite` now returns `true` or `false` rather than
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
51 `-1`, `0`, or `1`. To test for a positive semi-definite matrix (old
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
52 output of `0`) check whether the following two conditions hold:
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
53
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
54 `isdefinite (A) => 0` and `isdefinite (A + 5*TOL, TOL) => 1`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
56 - The `intmax`, `intmin`, and `flintmax` functions now accept a variable
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
57 as input. Existing code to query the range of an existing variable can
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
58 be simplified by removing the call to `class` that was previously
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
59 required. For example defining the variable `x = int8 (3)` in the
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
60 workspace, calls like
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
62 `range = [ intmin(class(x)), intmax(class(x)) ]`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
64 can in Octave 5 be simplified to `range = [ intmin(x), intmax(x) ]`.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
66 - The path handling functions no longer perform variable or brace
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
67 expansion on path elements and Octave's load-path is no longer
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
68 subject to these expansions.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
70 - A new printing device is available, `"-ddumb"`, which produces ASCII
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
71 art for plots. This device is only available with the gnuplot toolkit.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
72
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
73
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
74 ### Dependencies
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
76 - The GUI requires Qt libraries. The minimum Qt4 version supported is
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
77 Qt4.8. Qt5 of any version is preferred.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
79 - The OSMesa library is no longer used. To print invisible figures
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
80 when using OpenGL graphics, the Qt `QOFFSCREENSURFACE` feature must be
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
81 available and you must use the qt graphics toolkit.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
82
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
83 - The FFTW library is now required to perform FFT calculations.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
84 The FFTPACK sources have been removed from Octave.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
85
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
86
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
87 ### Matlab compatibility
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
89 - The determination of an object's dimensions, size, and shape by the
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
90 functions `ndims`, `rows`, `columns`, `isscalar`, `isvector`,
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
91 `isrow`, `iscolumn`, `ismatrix`, and `issquare` now fully depends
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
92 on the function size. Thus, any user-defined object can ensure correct
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
93 treatment by the aforementioned functions by properly overloading the
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
94 `size` function.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
96 - The functions `issymmetric` and `ishermitian` accept an option
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
97 `"nonskew"` or `"skew"` to calculate the symmetric or skew-symmetric
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
98 property of a matrix. Performance has also been increased.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
100 - The `issorted` function now uses a direction option of `"ascend"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
101 or `"descend"`. Change all uses of `"ascending"` and `"descending"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
102 in existing code to the new options.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
103
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
104 - The `strncmp` and `strncmpi` functions now return `true` if the two
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
105 input strings match, even though the number of characters specified
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
106 by `n` exceeds the string length. For Example:
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
108 `strncmp ("abc", "abc", 100)`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
109
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
110 returns `true` in Octave 5 and `false` in older versions of Octave.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
111
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
112 - The `str2func` function no longer accepts a second `"global"` argument.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
113 This argument was typically used to allow functions that accept
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
114 function names as arguments to avoid conflicts with subfunctions or
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
115 nested functions. Instead, it's best to avoid this situation
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
116 entirely and require users to pass function handles rather than
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
117 function names.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
118
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
119 - Using `clear` with no arguments now removes only local variables
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
120 from the current workspace. Global variables will no longer be
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
121 visible, but they continue to exist in the global workspace and
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
122 possibly other workspaces such as the base workspace.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
124
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
125 #### Nonlinear Equations
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
126
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
127 Several default solver options have been changed to be Matlab compatible.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
128 This *may* result in existing code producing different results.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
130 - `fsolve`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
132 Option | New Default | Old Default
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
133 ---------------|------------------|-------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
134 `FinDiffType` | `"forward"` | `"central"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
135 `MaxFunEvals` | `100*length(x0)` | `Inf`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
136 `TolFun` | `1e-6` | `1e-7`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
137 `TolX` | `1e-6` | `1e-7`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
138 `Updating` | `"off"` | `"on"`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
140 - `fminsearch`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
142 Option | New Default | Old Default
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
143 ---------|-------------|------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
144 `TolFun` | `1e-7` | `1e-4`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
145
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
146 - `fminbnd`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
148 Option | New Default | Old Default
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
149 ---------------|-------------|------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
150 `MaxFunEvals` | `500` | `Inf`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
151 `MaxIter` | `500` | `Inf`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
152 `TolX` | `1e-4` | `1e-8`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
154 - `fminunc`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
156 Option | New Default | Old Default
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
157 ---------------|------------------|------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
158 `FinDiffType` | `"forward"` | `"central"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
159 `MaxFunEvals` | `100*length(x0)` | `Inf`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
160 `TolX` | `1e-6` | `1e-7`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
161 `TolFun` | `1e-6` | `1e-7`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
163
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
164 #### Graphic objects
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
165
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
166 - Figure graphic objects have a new property `"Number"` which is
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
167 read-only and will return the handle (number) of the figure.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
168 However, if the property `"IntegerHandle"` has been set to `"off"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
169 then the property will return an empty matrix `[]`.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
171 - Patch and surface graphic objects now use the `"FaceNormals"` property
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
172 for flat lighting.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
174 - `"FaceNormals"` and `"VertexNormals"` for patch and surface graphic
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
175 objects are now calculated only when necessary to improve graphics
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
176 performance. In order for any normals to be calculated the
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
177 `"FaceLighting"` property must be set to `"flat"` (FaceNormals) or
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
178 `"gouraud"` (VertexNormals), **and** a light object must be present
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
179 in the axes.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
181 - The `"Margin"` property of `text`-objects has a new default of `3`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
182 rather than `2`.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
184 - Printing to raster formats (bitmaps like PNG or JPEG) now uses an
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
185 OpenGL-based method by default. The print options `"-opengl"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
186 (raster) and `"-painters"` (vector) have been added ("qt" toolkit
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
187 only). The figure property `"renderer"` specifies which renderer to
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
188 use. When the property `"renderermode"` is `"auto"` Octave will select
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
189 `"-opengl"` for a raster output format and `"-painters"` for a vector
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
190 output format.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
192 - A new print option `"-RGBImage"` has been added which captures the
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
193 pixels of a figure as an image. This is similar to screen capture
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
194 tools, except that print formatting options can be used to, for
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
195 example, change the resolution or display the image in black and
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
196 white.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
198 - Two new print options for page-based formats (PDF, PostScript) have
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
199 been added. The `"-fillpage"` option will stretch the plot to occupy
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
200 the entire page with 0.25 inch margins all around. The `"-bestfit"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
201 option will expand the plot to take up as much room as possible on
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
202 the page without distorting the original aspect ratio of the plot.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
204 - Printing using the `"-dtiff"` output device will now create compressed
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
205 images using LZW compression. To produce uncompressed images use the
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
206 `"-dtiffn"` device.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
207
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
208
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
209 ### Legacy functions
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
211 The following functions have been declared legacy functions which
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
212 means they are obsolete and should not be used in any new code.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
213 Unlike deprecated functions, however, their removal from Octave has
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
214 not yet been scheduled.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
216 Function | Replacement
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
217 -----------------------|------------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
218 `findstr` | `strfind`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
219 `flipdim` | `flip`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
220 `isdir` | `isfolder` or `dir_in_loadpath`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
221 `isequalwithequalnans` | `isequaln`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
222 `isstr` | `ischar`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
223 `setstr` | `char`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
224 `strmatch` | `strncmp` or `strcmp`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
225 `strread` | `textscan`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
226 `textread` | `textscan`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
227
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
228
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
229 ### Deprecated functions and properties
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
231 The following functions and graphics properties have been deprecated
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
232 in Octave 5 and will be removed from Octave 7 (or whatever version
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
233 is the second major release after 5):
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
234
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
235 - Functions
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
237 Function | Replacement
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
238 -------------------------|-------------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
239 `output_max_field_width` | `output_precision`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
240 `is_keyword` | `iskeyword`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
241
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
242 - Graphics properties
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
243
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
244 Object | Property | Value
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
245 -----------------|---------------|------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
246 `text` | `fontangle` | `"oblique"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
247 `uibuttongroup` | `fontangle` | `"oblique"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
248 `uicontrol` | `fontangle` | `"oblique"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
249 `uipanel` | `fontangle` | `"oblique"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
250 `uitable` | `fontangle` | `"oblique"`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
252 - Specifying `legend` position with a numeric argument is deprecated.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
253 Use a string argument instead.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
254
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
255 - The environment variable used by `mkoctfile` for linker flags is now
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
256 `LDFLAGS` rather than `LFLAGS`. `LFLAGS` is deprecated, and a warning
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
257 is emitted if is used, but it will continue to work.
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
258
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
259
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
260 ### Removed functions and properties
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
261
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
262 The following functions and properties were deprecated in Octave 4.2
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
263 and have been removed from Octave 5.
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
265 - Functions
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
266
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
267 Function | Replacement
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
268 -----------------------|------------------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
269 `bitmax` | `flintmax`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
270 `mahalanobis` | `mahal` in Octave Forge statistics pkg
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
271 `md5sum` | `hash`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
272 `octave_config_info` | `__octave_config_info__`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
273 `onenormest` | `normest1`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
274 `sleep` | `pause`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
275 `usleep` | `pause`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
276 `wavread` | `audioread`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
277 `wavwrite` | `audiowrite`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
279 - Properties
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
281 Object | Property | Value
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
282 ------------|-------------------|---------
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
283 `axes` | `xaxislocation` | `"zero"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
284 | `yaxislocation` | `"zero"`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
285 `hggroup` | `erasemode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
286 `image` | `erasemode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
287 `line` | `erasemode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
288 `patch` | `erasemode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
289 `patch` | `normalmode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
290 `surface` | `erasemode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
291 `surface` | `normalmode` |
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
292 `text` | `erasemode` |
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
295 ### Alphabetical list of new functions added in 5
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
297 - `clearvars`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
298 - `isfile`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
299 - `isfolder`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
300 - `matlab.lang.makeUniqueStrings`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
301 - `matlab.lang.makeValidName`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
302 - `movegui`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
303 - `movfun`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
304 - `movie`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
305 - `movmad`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
306 - `movmax`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
307 - `movmean`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
308 - `movmedian`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
309 - `movmin`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
310 - `movprod`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
311 - `movslice`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
312 - `movstd`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
313 - `movsum`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
314 - `movvar`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
315 - `openfig`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
316 - `ordeig`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
317 - `savefig`
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
318 - `uitable`
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
320
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
321 ### Old release news
166
afa95c42b86b new files for 5.1 release
John W. Eaton <jwe@octave.org>
parents:
diff changeset
322
169
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
323 - [Octave 4.4.x](NEWS-4.4.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
324 - [Octave 4.2.x](NEWS-4.2.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
325 - [Octave 4.0.x](NEWS-4.0.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
326 - [Octave 3.8.x](NEWS-3.8.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
327 - [Octave 3.6.x](NEWS-3.6.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
328 - [Octave 3.4.x](NEWS-3.4.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
329 - [Octave 3.2.x](NEWS-3.2.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
330 - [Octave 3.0.x](NEWS-3.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
331 - [Octave 2.x](NEWS-2.html)
0b3d9f76c7cd * NEWS-5.1.md: Markdownify.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 166
diff changeset
332 - [Octave 1.x](NEWS-1.html)