BtM2018, Week 5

Week 5 will be different from weeks 1-4. We’re taking a small break from programming and taking a wider look at the environment in which we write code and organize our files. The big topic is version control and project organization.

  • Download slides as PDF.
  • Make sure to review at the videos posted in week 3!
  • BEFORE STARTING THE LAB: You need to make sure you can log into the UA Enterprise GitHub and have GitHub Desktop installed. Instructions are in the slides You can do this before starting the lab. If you can’t log in, see your instructor or TA right away.
  • The lab instructions are on the UA Enterprise GitHub here: https://github.alaska.edu/Fall2018-BtM/Lab05/

Extra reading:

BtM 2018, Week 3

Week three will be largely dedicated to getting a lot of practice with what we’ve learned so far:

  1. Practice with vectors and other variables
  2. Practice writing functions
  3. Practice reading code and making small changes
  4. … and a main topic: conditional statements (if-elseif-else-end and switch-case-otherwise-end)

Things to do:

In addition  we’ll also be preparing to look at how code files are organized. One key tool to help programmers organize and manage their code is a  version control system (VCS).  VCSs also help share code and collaborate via web-based  repositories.  A popular VCS is called git, and a popular online repository site is Github. UAF has its own internal enterprise installation of Github, which we can use just like the public free Github site, but without having to share our code with the rest of the world.

To prepare, here are two things you can do:

  • Try to log in at the UA Github  with your UAlaska credentials.
  • Watch the following 5 min video:

 

Confused? Never heard of such a thing before? Want a more gentle intro? I like this one too (14 min).

 

BtM 2018, Week 2

Good to see you back for week 2!

Our goals this week are:

  1. Review / clean up for week 1
  2. More on data types
  3. Matrices, vectors and cell arrays (and a sneak peek preview of structs)
  4. Relational operators

Things to do:

  1. Download the  extended slides with notes.
  2. Download the lab file.
  3. Do the readings

During lab this week, I will meet with the grad students to discuss their projects. Projects will require: A problem description; a dataset; data processing; data visualization; an online report / web page (several options for that!); and a 10 min presentation in class. It would be a good idea to start thinking about your interests.