Commit fff2dfe9 authored by Sylvain Arreckx's avatar Sylvain Arreckx
Browse files

add homework instructions.

parent 8b7afcdd
## Homework
*This exercise has to be done on your lab computer on which `Matlab` **is** installed. Don't forget to properly configure git with your username and email, as we did this morning.*
This morning, during the training, you played with the `https://git-r3lab.uni.lu/git-training/practice` repository.
This afternoon, your job is to create a fork of this repository, commit some code and create a merge request on `GitLab`.
## Instructions
- First, fork the `https://git-r3lab.uni.lu/git-training/practice` repository.
- Create the new branch `yourName`
- Implement a new function called `sqrt_myName` that computes the square root of a number.
- Copy the `test.m` file to `test_myName.m` and change the names of the functions accordingly.
- Before submitting the merge request, verify locally that your code is running properly.
Simply execute it
```sh
$ matlab -nodesktop -nosplash < test_myName.m
```
and verify that no error is reported.
- Create a merge-request.
- Assign either Laurent or Sylvain depending on your group and your merge-request will be reviewed by one of us.
That's it!
You are done for today.
See you tomorrow for the debriefing of the git training.
......@@ -70,5 +70,11 @@
"attr": {
"data-background": "../img/whiteBG.jpg"
}
},
{
"filename": "homework.md",
"attr": {
"data-background": "../img/whiteBG.jpg"
}
}
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment