Home - VMinhoto/workshop-matlab GitHub Wiki

Welcome to the IEEE UP SB Matlab Workshop!

Playgrounds

This is where you will find some examples. With this examples you will be able to learn faster and good programming practices. The available playgrounds are:

  1. Primitive Variables - How variables work in Matlab.
  2. Matrixes Stuff - Using Matrixes in Matlab.
  3. Control Flow - if, for and while
  4. Functions - Functions, input/output parameters and error tests.
  5. IO - Input/output from console and files.
  6. Plotting - Plot data in Matlab

Exercises

In this section you will find some exercises for you to follow at your own pace. Feel free to jump basic stuff if you already feel comfortable with that category. Also if you have some questions ask the monitores! If you are working at home just send them by e-mail!

Challenges

In this section you will find a set of problems from the real world that you can solve using Matlab. They are a bit harder then the exercises, but also more rewarding. Have fun!

Useful links

Here you have some useful links that might be useful when you are developing Matlab programs.

Setup

Unfortunately Matlab is a payed software. You can access it for free at almost any FEUP computer. If you are planning to get a licence Matlab is compatible with Linux, macOS and Windows.

Also you can get Octave. Octave is a free software that is used to edit and run .m files (Matlab files). Basically is a free Matlab XD. You can get it here: Download Octave. It is compatible with Linus, macOS and Windows.

The diference between both of them is that Octave is a bit more 'permissive' in terms of syntax. For example, Octave allows using " " and ' ' for strings and Matlab only allows for ' '.

Aknowledgements

This Workshop was adapted from an existing one developed by :octocat: Miguel Sozinho Ramalho and :octocat: João Bernardo Mota