Skip to content

Commit deea15e

Browse files
help files 0.5.7
1 parent b79196d commit deea15e

16 files changed

Lines changed: 283 additions & 2 deletions

File tree

en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![banner](banner_homepage.png)
22

3-
### Nelson 0.5.6.0
3+
### Nelson 0.5.7.0
44

55
This is an pre-release of Nelson.
66

en/SUMMARY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
* [feval](./functions_manager/feval.md)
6363
* [isbuiltin](./functions_manager/isbuiltin.md)
6464
* [ismacro](./functions_manager/ismacro.md)
65+
* [ismex](./functions_manager/ismex.md)
6566
* [macroargs](./functions_manager/macroargs.md)
6667
* [path](./functions_manager/path.md)
6768
* [rehash](./functions_manager/rehash.md)
@@ -225,6 +226,8 @@
225226

226227

227228
* [data_analysis](./data_analysis/README.md)
229+
* [conv](./data_analysis/conv.md)
230+
* [conv2](./data_analysis/conv2.md)
228231
* [ismissing](./data_analysis/ismissing.md)
229232
* [max](./data_analysis/max.md)
230233
* [min](./data_analysis/min.md)
@@ -836,6 +839,7 @@
836839
* [mexAtExit](./mex/mexAtExit.md)
837840
* [mexCallMATLAB](./mex/mexCallMATLAB.md)
838841
* [mexCallMATLABWithTrap](./mex/mexCallMATLABWithTrap.md)
842+
* [mexext](./mex/mexext.md)
839843

840844

841845
* [graphics](./graphics/README.md)

en/changelogs/CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
# 0.5.7 (2021-07-24)
2+
3+
## Features:
4+
5+
- macros in memory reworked to support also MEX.
6+
7+
- C MEX compatibility, load and build fully compatible with other softwares.
8+
9+
- `inmem` builtin returns names of functions, MEX-files in memory.
10+
11+
- `mexext` builtin returns binary MEX file-name extension.
12+
13+
- main function in .m no more require to be the first in file.
14+
15+
- checks in the .m function that other local function names are not duplicated.
16+
17+
- .m timestamp checked if `addpath(...,'-frozen')` is not enabled.
18+
19+
- function_handle reworked to have an compatible behavior.
20+
21+
- `struct` behavior with `function_handle`.
22+
23+
- `clear` reworked to support mex in memory.
24+
25+
- `nargin`, `nargout` behavior with mex updated.
26+
27+
- [#474](http://github.com/Nelson-numerical-software/nelson/issues/474): `exist`: extended to manage mex function.
28+
29+
- [#449](http://github.com/Nelson-numerical-software/nelson/issues/449): `conv2`: 2-D convolution and `conv`: Convolution and polynomial multiplication.
30+
31+
## Bug Fixes:
32+
33+
- [#468](http://github.com/Nelson-numerical-software/nelson/issues/468): A(':') = [] was not managed.
34+
135
# 0.5.6 (2021-06-27)
236

337
BREAKING CHANGE:

en/core/exist.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Check for the existence.
2626
<p><b>0</b> does not exist</p>
2727
<p><b>1</b> is an variable</p>
2828
<p><b>2</b> is a file</p>
29+
<p><b>3</b> is a mex function</p>
2930
<p><b>5</b> is a builtin or function</p>
3031
<p><b>7</b> is a directory</p>
3132

en/data_analysis/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ data analysis
88
data analysis
99

1010

11+
* [conv](conv.md) - Convolution and polynomial multiplication.
12+
* [conv2](conv2.md) - 2-D convolution.
1113
* [ismissing](ismissing.md) - Check for missing values.
1214
* [max](max.md) - Maximum elements of an array.
1315
* [min](min.md) - Minimum elements of an array.

en/data_analysis/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
* [data_analysis](README.md)
2+
* [conv](conv.md)
3+
* [conv2](conv2.md)
24
* [ismissing](ismissing.md)
35
* [max](max.md)
46
* [min](min.md)

en/data_analysis/conv.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
3+
# conv
4+
5+
Convolution and polynomial multiplication.
6+
7+
## Syntax
8+
9+
- C = conv(u, v)
10+
- C = conv(u, v, shape)
11+
12+
## Input argument
13+
14+
- u - input vectors, specified as either row or column vectors.
15+
- v - input vectors, specified as either row or column vectors.
16+
- shape - subsection of convolution: 'full' (default: full 2-D convolution), 'same' (central part of the convolution) or 'valid' (parts of the convolution that are computed without zero-padded edges).
17+
18+
## Output argument
19+
20+
- C - convolution, returned as a vector or matrix.
21+
22+
## Description
23+
24+
25+
<p><b>conv</b> returns the convolution of vectors <b>u</b> and <b>v</b>.</p>
26+
27+
28+
## Example
29+
30+
```matlab
31+
U = [-1 2 3 -2 0 1 2];
32+
V = [2 4 -1 1];
33+
R = conv(U, V, 'same')
34+
```
35+
36+
## See also
37+
38+
[conv](conv.md).
39+
## History
40+
41+
|Version|Description|
42+
|------|------|
43+
|1.0.0|initial version|
44+
45+
46+
## Author
47+
48+
Allan CORNET
49+
50+
51+

en/data_analysis/conv2.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
2+
3+
# conv2
4+
5+
2-D convolution.
6+
7+
## Syntax
8+
9+
- C = conv2(A, B)
10+
- C = conv2(u, v, A)
11+
- C = conv2(A, B, shape)
12+
- C = conv2(u, v, A, shape)
13+
14+
## Input argument
15+
16+
- A - vector or matrix.
17+
- B - vector or matrix.
18+
- u - row or column vector.
19+
- v - row or column vector.
20+
- shape - subsection of convolution: 'full' (default: full 2-D convolution), 'same' (central part of the convolution) or 'valid' (parts of the convolution that are computed without zero-padded edges).
21+
22+
## Output argument
23+
24+
- C - 2-D convolution, returned as a vector or matrix.
25+
26+
## Description
27+
28+
29+
<p><b>conv2</b> returns the two-dimensional convolution.</p>
30+
31+
32+
## Example
33+
34+
```matlab
35+
A = magic(3);
36+
B = magic(4);
37+
R = conv2(A, B, 'same')
38+
```
39+
40+
## See also
41+
42+
[conv](conv.md).
43+
## History
44+
45+
|Version|Description|
46+
|------|------|
47+
|1.0.0|initial version|
48+
49+
50+
## Author
51+
52+
Allan CORNET
53+
54+
55+

en/functions_manager/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ functions manager
1414
* [feval](feval.md) - Evaluates function.
1515
* [isbuiltin](isbuiltin.md) - Check for the existence of a builtin.
1616
* [ismacro](ismacro.md) - Check for the existence of a macro (function).
17+
* [ismex](ismex.md) - Check for the existence of a mex function.
1718
* [macroargs](macroargs.md) - Returns variables names of a function.
1819
* [path](path.md) - Modify or display Nelson’s load path.
1920
* [rehash](rehash.md) - Reinitialize Nelson’s search path directory cache.

en/functions_manager/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* [feval](feval.md)
66
* [isbuiltin](isbuiltin.md)
77
* [ismacro](ismacro.md)
8+
* [ismex](ismex.md)
89
* [macroargs](macroargs.md)
910
* [path](path.md)
1011
* [rehash](rehash.md)

0 commit comments

Comments
 (0)