Skip to content

Commit

Permalink
feat: complete rewrite of initial section
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfullerton committed Sep 5, 2023
1 parent 63fbeb7 commit 5a01416
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions episodes/06-func.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ exercises: 20

::::::::::::::::::::::::::::::::::::::: objectives

- "Compare and contrast MATLAB function files with MATLAB scripts."
- "Learn the how to write a function"
- "Define a function that takes arguments."
- "Compare and contrast MATLAB function files with MATLAB scripts."
- "Recognize why we should divide programs into small, single-purpose functions."

::::::::::::::::::::::::::::::::::::::::::::::::::

:::::::::::::::::::::::::::::::::::::::: questions

- "How can I teach MATLAB how to do new things?"
- "How can I make programs I write more reliable and re-usable?"

::::::::::::::::::::::::::::::::::::::::::::::::::

Expand Down Expand Up @@ -113,7 +115,7 @@ the base workspace if it passes them back as output.

## Writing your own conversion function

For completeness, we'd like a function that the reverses the conversion of AIU to IIU. Re-arrange the conversion
We'd like a function that reverses the conversion of AIU to IIU. Re-arrange the conversion
formula and write a function called `inflammation_IIU_to_AIU` that converts inflammation measued in IIU to inflammation
measured in AIU.

Expand All @@ -132,9 +134,11 @@ function inflammation_in_AIU = inflammation_IIU_to_AIU(inflammation_in_IIU)
inflammation_in_AIU = inflammation_in_IIU/A - B;
end
```

:::::::::::::::::::::::::

```
::::::::::::::::::::::::::::::::::::::::::::::::::


In the `patient_analysis` script we created,
Expand Down

0 comments on commit 5a01416

Please sign in to comment.