Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to MATLAB materials #19

Open
shwina opened this issue Feb 19, 2015 · 3 comments
Open

Improvements to MATLAB materials #19

shwina opened this issue Feb 19, 2015 · 3 comments
Assignees

Comments

@shwina
Copy link
Member

@shwina shwina commented Feb 19, 2015

In a discussion with Ken Deeley and Jos Martin from Mathworks, and @gvwilson, the following improvements to the SWC MATLAB material have been suggested:

  1. MATLAB environment - the lessons don't have, for instance, screenshots of the MATLAB environment. While this reduces maintenance costs, it might also make learning more difficult for beginners. Greg's suggestion: short GIFs/videos of the MATLAB environment
  2. Vectorization - effective use of MATLAB entails familiarity with the idea of vectorization. We should introduce this in some depth in our lesson.
@IsaKiko
Copy link
Contributor

@IsaKiko IsaKiko commented Feb 20, 2015

Where do you thing vectorization should go? Before or after loops?
Are we including logical indexing?
I'm hoping this is not too confusing since we're already teaching loops.

@gvwilson
Copy link
Member

@gvwilson gvwilson commented Feb 20, 2015

The MATLAB folks think vectorization should come first, and loops later

  • this is part of why we start with whole-array operations, then show
    loops over all input files (because that doesn't vectorize).
@shwina
Copy link
Member Author

@shwina shwina commented Feb 20, 2015

I think it's worth having learners use both approaches to accomplish the same task, have them understand why vectorization is generally a better idea, and also when it becomes necessary to use a for loop. The challenge will be making sure all of this doesn't stick out awkwardly in the lessons :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.