Skip to content

Commit

Permalink
Consistently removed quotes from objectives, questions and keypoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
fherreazcue committed Nov 11, 2023
1 parent b1e47bd commit 37a2153
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 50 deletions.
28 changes: 14 additions & 14 deletions episodes/01-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ exercises: 20

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

- "Navigate among important sections of the MATLAB environment."
- "Assign values to variables."
- "Identify what type of data is stored in a variable."
- "Creating simple arrays."
- "Be able to explore the values of saved variables."
- "Learn how to delete variables and keep things tidy."
- Navigate among important sections of the MATLAB environment.
- Assign values to variables.
- Identify what type of data is stored in a variable.
- Creating simple arrays.
- Be able to explore the values of saved variables.
- Learn how to delete variables and keep things tidy.

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

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

- "How can I store values and do simple calculations with them?"
- "Which type of operations can I do?"
- How can I store values and do simple calculations with them?
- Which type of operations can I do?

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

Expand Down Expand Up @@ -463,12 +463,12 @@ Again, be careful usig this command, there is no way back!

:::::::::::::::::::::::::::::::::::::::: keypoints

- "Variables store data for future use. Their names must start with a letter, and can have underscores and numbers."
- "We can add, substract, multiply, divide and potentiate numbers."
- "We can also compare variables with `<`, `>`, `==`, `>=`, `<=`, `~=`, and use `~` to negate the result."
- "MATLAB stores data in arrays. The data in an array has to be of the same type."
- "You can supress output with `;`, and print a variable with `disp`."
- "Use `clear` to delete variables, and `clc` to clear the console."
- Variables store data for future use. Their names must start with a letter, and can have underscores and numbers.
- We can add, substract, multiply, divide and potentiate numbers.
- We can also compare variables with `<`, `>`, `==`, `>=`, `<=`, `~=`, and use `~` to negate the result.
- MATLAB stores data in arrays. The data in an array has to be of the same type.
- You can supress output with `;`, and print a variable with `disp`.
- Use `clear` to delete variables, and `clc` to clear the console.

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

Expand Down
18 changes: 9 additions & 9 deletions episodes/02-arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ exercises: 20

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

- "Learn how to create multidimensional arrays"
- "Select individual values and subsections of an array."
- Learn how to create multidimensional arrays
- Select individual values and subsections of an array.

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

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

- "How can I access the information in an array?"
- How can I access the information in an array?

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

Expand Down Expand Up @@ -459,14 +459,14 @@ last three characters: gen

:::::::::::::::::::::::::::::::::::::::: keypoints

- "Some functions to initialize matrices include `zeros`, `ones`, and `rand`.
- Some functions to initialize matrices include `zeros`, `ones`, and `rand`.
They all produce a square matrix if only one argument is given,
but you can specify the dimensions you want separated by a comma, as in `zeros(rows,columns)`."
- "To select data points we use round brackets and provide the row and column indices of the elements we want.
but you can specify the dimensions you want separated by a comma, as in `zeros(rows,columns)`.
- To select data points we use round brackets and provide the row and column indices of the elements we want.
They can be just numbers or arrays of numbers. E.g. `M(5,[3,4,5])`"
- "We can use the colon operator `:` to generate ordered arrays as `start:end` or `start:increment:end`."
- "We can use the keyword `end` to get the index of the last element."
- "The colon operator by itself `:` selects all the elements."
- We can use the colon operator `:` to generate ordered arrays as `start:end` or `start:increment:end`.
- We can use the keyword `end` to get the index of the last element.
- The colon operator by itself `:` selects all the elements.

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

Expand Down
14 changes: 7 additions & 7 deletions episodes/03-loading_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ exercises: 10

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

- "Read data from a csv to be able to work with it in matlab."
- "Familiarize ourselves with our sample data."
- Read data from a csv to be able to work with it in matlab.
- Familiarize ourselves with our sample data.

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

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

- "How can I load data to an array?"
- How can I load data to an array?

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

Expand Down Expand Up @@ -451,9 +451,9 @@ so we'll learn to make some plots.

:::::::::::::::::::::::::::::::::::::::: keypoints

- "Use `readmatrix` to read tabular CSV data into a program."
- "Use `mean`, `min`, `max`, and `std` on vectors to get the mean, minimum, maximum and standard deviation."
- "Use `mean(array,DIM)` to specify the dimension of your array in which to compute the mean."
- "For `min`, `max`, and `std`, the arguments need to be `(array,[],DIM)` instead."
- Use `readmatrix` to read tabular CSV data into a program.
- Use `mean`, `min`, `max`, and `std` on vectors to get the mean, minimum, maximum and standard deviation.
- Use `mean(array,DIM)` to specify the dimension of your array in which to compute the mean.
- For `min`, `max`, and `std`, the arguments need to be `(array,[],DIM)` instead.

::::::::::::::::::::::::::::::::::::::::::::::::::
20 changes: 10 additions & 10 deletions episodes/04-plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ exercises: 10

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

- "Display simple graphs with appropriate titles and labels."
- "Get familiar with the functions `plot`, `heatmap` and `imagesc`."
- "Learn how to show images side by side."
- Display simple graphs with appropriate titles and labels.
- Get familiar with the functions `plot`, `heatmap` and `imagesc`.
- Learn how to show images side by side.

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

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

- "How can I visualize my data?"
- How can I visualize my data?

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

Expand Down Expand Up @@ -274,11 +274,11 @@ subjects of the next two lessons.

:::::::::::::::::::::::::::::::::::::::: keypoints

- "Use `plot(vector)` to visualize data in the y axis with an index number in the x axis."
- "Use `plot(X,Y)` to specify values in both axes."
- "Document your plots with `title('My title')`, `xlabel('My horizontal label')` and `ylabel('My vertical label')`."
- "Use `hold on` and `hold off` to plot multiple lines at the same time."
- "Use `legend` and add `,DisplayName="legend name here"` inside the plot function to add a legend."
- "Use `tiledlayout(m,n)` to create a grid of `m` x `n` plots, and use `nexttile` to change the position of the next plot."
- Use `plot(vector)` to visualize data in the y axis with an index number in the x axis.
- Use `plot(X,Y)` to specify values in both axes.
- Document your plots with `title('My title')`, `xlabel('My horizontal label')` and `ylabel('My vertical label')`.
- Use `hold on` and `hold off` to plot multiple lines at the same time.
- Use `legend` and add `,DisplayName="legend name here"` inside the plot function to add a legend.
- Use `tiledlayout(m,n)` to create a grid of `m` x `n` plots, and use `nexttile` to change the position of the next plot.

::::::::::::::::::::::::::::::::::::::::::::::::::
8 changes: 4 additions & 4 deletions episodes/05-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ exercises: 0

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

- "Write and save MATLAB scripts."
- "Save MATLAB plots to disk."
- Write and save MATLAB scripts.
- Save MATLAB plots to disk.

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

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

- "How can I save and re-use my programs?"
- How can I save and re-use my programs?

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

Expand Down Expand Up @@ -383,7 +383,7 @@ which are then used to do something. So, can we create our own *functions*?

:::::::::::::::::::::::::::::::::::::::: keypoints

- "Save MATLAB code in files with a `.m` suffix."
- Save MATLAB code in files with a `.m` suffix.
- The set of commands in a script get executed by calling the script by its name,
and all variables are saved to the workspace.
Be careful, this potentially **replaces** variables.
Expand Down
12 changes: 6 additions & 6 deletions episodes/06-func.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ exercises: 20

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

- "Learn 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."
- Learn 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 to do new things?"
- "How can I make programs I write more reliable and re-usable?"
- How can I teach MATLAB to do new things?
- How can I make programs I write more reliable and re-usable?

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

Expand Down

0 comments on commit 37a2153

Please sign in to comment.