-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
785b887
commit afeec59
Showing
51 changed files
with
70,241 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
![banner](banner_homepage.png) | ||
|
||
### Nelson 0.7.10.0 | ||
### Nelson 0.7.11.0 | ||
|
||
This is an pre-release of Nelson. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# deal | ||
|
||
Distribute inputs to outputs. | ||
|
||
## Syntax | ||
|
||
- [R1, ... , Rn] = deal(A1, ... , An) | ||
- [R1, ... , Rn] = deal(A) | ||
|
||
## Input argument | ||
|
||
- A1, ... , An - variables | ||
|
||
## Output argument | ||
|
||
- R1, ... , Rn - variables | ||
|
||
## Description | ||
|
||
<p><b>deal</b> replicates the input parameters to the corresponding output parameters.</p> | ||
<p>If a singular input parameter is provided, its value will be duplicated across all outputs.</p> | ||
|
||
## Examples | ||
|
||
```matlab | ||
[A1, A2, A3] = deal(pi) | ||
``` | ||
|
||
```matlab | ||
S = []; | ||
S.A = []; | ||
S(2).A = []; | ||
S(3).A = []; | ||
A1 = 200; | ||
A2 = 'fifo'; | ||
A3 = 1:11; | ||
[S.A] = deal(A1, A2, A3) | ||
``` | ||
|
||
```matlab | ||
C = cell(1,3) | ||
A1 = 200; | ||
A2 = 'fifo'; | ||
A3 = 1:11; | ||
[C{:}] = deal(A1, A2, A3) | ||
``` | ||
|
||
## See also | ||
|
||
[cell](../data_structures/cell.md), [struct](struc.html). | ||
|
||
## History | ||
|
||
| Version | Description | | ||
| ------- | --------------- | | ||
| 1.0.0 | initial version | | ||
|
||
## Author | ||
|
||
Allan CORNET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# substruct | ||
|
||
Create structure argument for subsasgn or subsref | ||
|
||
## Syntax | ||
|
||
- S = substruct(type1, subs1, type2, subs2, ...) | ||
|
||
## Description | ||
|
||
<p><b>S = substruct(type1, subs1, type2, subs2, ...)</b> generates a structure containing fields necessary for an overloaded <b>subsref</b> or <b>subsasgn</b> method.</p> | ||
<p>Each type char vector is limited to '.', '()', or '{}'.</p> | ||
<p>The associated subs argument should be a field name (for the '.' type) or a cell array containing index vectors (for the '()' or '{}' types).</p> | ||
|
||
## Example | ||
|
||
```matlab | ||
S = struct('field1', 10, 'field2', 'Hello', 'field3', [1, 2, 3]); | ||
% Create a substruct for accessing the 'field2' | ||
s = substruct('.', 'field2'); | ||
% Use subsref to get the value of 'field2' | ||
value = subsref(S, s); | ||
``` | ||
|
||
## See also | ||
|
||
[subsref](../operators/subsref.md), [subsasgn](../operators/subsasgn.md). | ||
|
||
## History | ||
|
||
| Version | Description | | ||
| ------- | --------------- | | ||
| 1.0.0 | initial version | | ||
|
||
## Author | ||
|
||
Allan CORNET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.