Skip to content
Snippets Groups Projects
Commit b20e50a3 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'syarra' into 'develop'

add homework instructions.

See merge request !16
parents 466337fe 75f3360e
No related branches found
No related tags found
2 merge requests!18merge all,!16add homework instructions.
......@@ -159,6 +159,16 @@
<section data-separator="^\n\n\n"
data-vertical="^\n\n"
data-background="../img/whiteBG.jpg" data-markdown="slides/homework.md"></section>
</div>
</div>
......
......@@ -44,7 +44,10 @@ Modify and rename `addTwoNumbers.m` in the folder `firstCommit`
Open the file `addTwoNumbers.m` in the folder `firstCommit` using the `Atom` editor (or any other editor).
<br>
Then, uncomment the line
Then, rename the function by adding your name (`addTwoNumbers_myName`)
<br>
Uncomment the line
```Matlab
% c = a + b
```
......
## 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 explained in the training slides.*
During the training, you committed to the `https://git-r3lab.uni.lu/git-training/practice` repository.
Your task 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 `your_name`
- 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 (@laurent.heirendt) or Sylvain (@sylvain.arreckx) depending on your group and your merge-request will be reviewed by one of us.
That's it!
......@@ -70,5 +70,11 @@
"attr": {
"data-background": "../img/whiteBG.jpg"
}
},
{
"filename": "homework.md",
"attr": {
"data-background": "../img/whiteBG.jpg"
}
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment