Re-export all org mode files

This commit is contained in:
2020-08-17 21:59:26 +02:00
parent bc8c757e21
commit 3816e389e9
37 changed files with 403 additions and 266 deletions

View File

@@ -5,18 +5,18 @@ draft = false
+++
Tags
:
: [Simulink]({{< relref "simulink" >}})
## Resources on Matlab {#resources-on-matlab}
Books:
- ([Higham 2017](#org311950e))
- ([Attaway 2018](#org2d4cbee))
- ([OverFlow 2018](#org84f4050))
- ([Johnson 2010](#orgd1edf93))
- ([Hahn and Valentine 2016](#org07606c6))
- ([Higham 2017](#org8ba8e47))
- ([Attaway 2018](#org4c6aa3b))
- ([OverFlow 2018](#orgad9dce4))
- ([Johnson 2010](#org1aa5652))
- ([Hahn and Valentine 2016](#orgc9b02db))
## Useful Commands {#useful-commands}
@@ -46,12 +46,12 @@ Books:
### Do not show legend for one plot {#do-not-show-legend-for-one-plot}
```matlab
figure;
hold on;
plot(x, y1, 'DisplayName, 'lengendname');
plot(x, y2, 'HandleVisibility', 'off');
hold off;
legend('Location', 'northeast');
figure;
hold on;
plot(x, y1, 'DisplayName, 'lengendname');
plot(x, y2, 'HandleVisibility', 'off');
hold off;
legend('Location', 'northeast');
```
@@ -60,7 +60,7 @@ legend('Location', 'northeast');
If a single user is using the Matlab installation on the machine:
```bash
sudo chown -R $LOGNAME: /usr/local/MATLAB/R2017b
sudo chown -R $LOGNAME: /usr/local/MATLAB/R2017b
```
Then, Toolboxes can be installed by the user without any problem.
@@ -70,17 +70,43 @@ To install Toolboxes, the best is to Download the Matlab installer from mathwork
## Used Toolboxes {#used-toolboxes}
Nice functions:
- <https://github.com/jmrplens/SetFigPaper>
- <https://github.com/altmany/export%5Ffig>
- Matlab's `exportgraphics`
- `vfit3` ([link](https://www.sintef.no/projectweb/vectorfitting/)): used to identify transfer functions
## Debug Scripts {#debug-scripts}
<https://fr.mathworks.com/help/matlab/debugging-code.html>
<https://stackoverflow.com/questions/22853116/how-to-debug-matlab-code-without-gui>
| Command | Effect |
|------------|--------------------------------------------------------------|
| `dbclear` | Remove breakpoints |
| `dbcont` | Resume execution |
| `dbdown` | Reverse dbup workspace shift |
| `dbquit` | Quit debug mode |
| `dbstack` | Function call stack |
| `dbstatus` | List all breakpoints |
| `dbstep` | Execute next executable line from current breakpoint |
| `dbstop` | Set breakpoints for debugging |
| `dbtype` | Display file with line numbers |
| `dbup` | Shift current workspace to workspace of caller in debug mode |
| `keyboard` | Give control to keyboard |
| `echo` | Display statements during function execution |
## Bibliography {#bibliography}
<a id="org2d4cbee"></a>Attaway, Stormy. 2018. _MATLAB : a Practical Introduction to Programming and Problem Solving_. Amsterdam: Butterworth-Heinemann.
<a id="org4c6aa3b"></a>Attaway, Stormy. 2018. _MATLAB : a Practical Introduction to Programming and Problem Solving_. Amsterdam: Butterworth-Heinemann.
<a id="org07606c6"></a>Hahn, Brian, and Daniel T Valentine. 2016. _Essential MATLAB for Engineers and Scientists_. Academic Press.
<a id="orgc9b02db"></a>Hahn, Brian, and Daniel T Valentine. 2016. _Essential MATLAB for Engineers and Scientists_. Academic Press.
<a id="org311950e"></a>Higham, Desmond. 2017. _MATLAB Guide_. Philadelphia: Society for Industrial and Applied Mathematics.
<a id="org8ba8e47"></a>Higham, Desmond. 2017. _MATLAB Guide_. Philadelphia: Society for Industrial and Applied Mathematics.
<a id="orgd1edf93"></a>Johnson, Richard K. 2010. _The Elements of MATLAB Style_. Cambridge University Press.
<a id="org1aa5652"></a>Johnson, Richard K. 2010. _The Elements of MATLAB Style_. Cambridge University Press.
<a id="org84f4050"></a>OverFlow, Stack. 2018. _MATLAB Notes for Professionals_. GoalKicker.com.
<a id="orgad9dce4"></a>OverFlow, Stack. 2018. _MATLAB Notes for Professionals_. GoalKicker.com.