Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Beginner MATLAB Course for Neuroscience and Psychology
Rating: 3.6 out of 5(29 ratings)
2,185 students

Beginner MATLAB Course for Neuroscience and Psychology

An introductory course to programming in MATLAB to design experiments and analyse data for natural sciences students
Created byAna Mosciuk
Last updated 3/2024
English

What you'll learn

  • You'll learn the basics of coding in MATLAB, including the set up of the work environment, terminology, indexing, basic maths, functions, scripts, data loading
  • You'll learn how to import collected data into MATLAB and how to analyse it
  • Design and run your own experiments
  • Store and visualise data in the acceptable format for your dissertation or published work

Course content

5 sections17 lectures1h 50m total length
  • Introduction2:47

    What is MATLAB and why do you need it?

    It's a popular programming language that scientists use to design and run research experiments.

    Moreover, when conducting research in psychology or neuroscience, you get huge amounts of data and with MATLAB, you can easily collect, import, analyse and visualise it.

    Most degrees in psychology and neuroscience have a programming module as a part of their curricula.

    However, the majority of students have zero coding experience when starting to study. That's what happened to us when doing MSc in Clinical, Social and Cognitive Neuroscience. We had no idea how to write code for our research project and had to start from scratch. There wasn't much information out there and learning coding from textbooks can be quite hard. We wanted to have someone explain to us the basics of programming in MATLAB so we could follow along.

    Since we couldn't find a short online course tailored for neuroscience and psychology students and researchers, we decided to make one ourselves after finishing our degrees.

    So in this course, we will try to explain the basics of getting started with MATLAB for your experiments in a way that we wish we were taught when we started studying and working on our research.

    We strongly advise starting with Mathworks video tutorials to learn about setting up MATLAB on your device and to get familiar with common terminology.

    Then, you can also get textbooks from the library or online, we recommend reading 'MATLAB for Behavioral Researchers' by C.R. Madan and 'Programming Behavioral Experiments with MATLAB and Psychtoolbox' by E. Misirlisoy.

    But don't just read them - make sure you type the commands in MATLAB and always make your own comments explaining what each line means and does.

    In this course we don't go over the installation steps so make sure you have MATLAB downloaded on your device before listening to these lessons.

    We also recommend typing all the commands that you see on the lecture slides in MATLAB and you can find the written versions of the slides in PDF in the resources.

    Each section has a quiz to help you assess how well you understood the material covered in the lessons.


  • MATLAB Basics2:21

    In our first lesson, you’ll learn what the MATLAB environment looks like. By the end of this lesson, you should know what are working directory, command window, current folder and workspace.


    • Working directory - the address bar at the top. It's the first place where MATLAB will look and save stuff by default.

    • Command window - the main window with a promt >> where you type your instructions to Matlab. When you hit return, MATLAB will run these commands.

    • Current Folder - panel where you can access your files.

    • Workspace - the location where MATLAB stores and accesses data. Whenever you run a command that returns an output, this information is found in the workspace.

  • MATLAB Terminology and Punctuation7:55

    It's important to know common terms that are used when coding in MATLAB as well as understand what certain punctuation marks do. Let's go over some of them:

    Variable - a name that we assign to a specific value to avoid repeating the same value in our code.

    Scalar - used to present numerical values that are simple numbers.

    Vector - a name for a row or column of numbers.

    [ ] - used when you want to put more than one number in a variable in MATLAB.

    ; - used when you want to make a column of numbers.

    Matrix - a two-dimensional, rectangular array of data elements arranged in rows and columns.

    Element - a single number within a matrix or vector.

    Array - a collection of elements with the same data type.

    ( ) - used to get things out of a matrix or to refer to just a part of a matrix.

    : - used when you want to extract data from a matrix; (:) used to rearrange values into a column; used to return numbers in increments.

    ' - used to transpose a matrix or a vector.

    You can also check out and download a document by Mathworks with basic functions and their definitions. Keep it handy when doing the exercises and writing your code.

  • Test your understanding!

Requirements

  • No coding experience is needed, some experience of working with Excel or SPSS would be beneficial, you need to download MATLAB software on your computer as well as Psychtoolbox

Description

This course covers the basics of programming in MATLAB. You'll get familiar with the MATLAB setup and work environment, you'll understand how to use variables, functions, logical operators and other functions to write your own scripts.

You'll also learn how to load, store, import and analyse data in MATLAB and visualise it (graphs, tables etc) so these are ready for you to use for your dissertation, posters, presentations, research papers etc.


  • You will learn fundamental computer programming concepts such as variables, flow control statements, logical operators, functions and many others.

  • You will learn about various data types and how to handle them in MATLAB.

  • You will learn how to work with matrices.

  • You will learn about uploading and saving data.

Who should take this course?

- Current neuroscience or psychology students struggling with programming classes.

- Graduate students who want to work in a brain sciences lab and have zero coding experience.

- Anyone who wants to study a degree in neuroscience or psychology at a graduate level.

- Anyone who is interested in learning the basics of coding in MATLAB.


Who are your instructors?

We’re Adriana and Ana, Master's in Neuroscience graduates from City, University of London, UK.

We successfully submitted our final-year dissertations, finished our internships in the decision-making and visual labs and currently work in mental health and digital marketing.

When we started our Master’s degree in Clinical, Social and Cognitive Neuroscience, we had no idea that programming is essential in neuroscience research.

We had zero coding experience and it was so hard to keep up with the pace of in-class coding lessons.

So after reading textbook after textbook, watching all YouTube videos out there and asking for help from experienced programmers, we finally learned how to code in MATLAB for our research projects and want you to learn to do the same!

Who this course is for:

  • Undergraduate, graduate or postgraduate Neuroscience and Psychology students or healthcare professionals interested in learning how to code in MATLAB to run experiments or to analyse data