This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1 Introduction 1 CSE 1570 Introduction to Computing for Psychology Instructor: Aijun An Department of Computer Science and Engineering York University firstname.lastname@example.org http://www.cse.yorku.ca/course/1570 Introduction 2 Outline Course Information Course content Why study the materials? Course objective Textbooks Prerequisite Class format and Marking scheme Course web site and policies How to access MATLAB Brief introduction to computer and programming language Introduction 3 Course Content MATLAB Powerful computer programming language User-friendly programming environment Good at Math computation Data analysis and modeling Visualization and graphics Simulation Psychtoolbox ( if time and tech support allow ) A collection of programs that facilitate the use of MATLAB for psychological experiments Introduction 4 MATLAB Short for MATrix LABoratory Commercial product of The MathWorks Originally designed for solving linear algebra problems using matrices Has since been expanded and now has built-in functions for data analysis, signal processing, optimization, and other types of scientific computations. data visualization Contains functions for 2-D and 3-D graphics and animation. Introduction 5 Why Study MATLAB? Easy to use, and powerful No need to declare the data type of a variable before using it (unlike Java, C, C++, Visual Basic) A very rich set of powerful built-in functions makes complex problems easy to solve High-level commands can realize things that would take many lines of program to realize in other languages User interface is friendly Comprehensive help facility Use interactively or as programming language Introduction 6 Built-in Function Example Task: find the roots of a polynomial Polynomial: f(x)=4x 2 +10x-8 A root of f(x) is a value of x for which f(x)=0 Code of MATLAB: roots([4 10 -8]) which will generate: ans =-3.1375 0.6375 2 Introduction 7 Why Study MATLAB? Useful for designing psychology experiments. Allows: Data analysis Data plotting Stimulus generation Response collection A more general programming language Specialized software, such as ePrime and Psyscope , may not allow you to implement unconventional experiment designs Has become popular among experimental psychologists Introduction 8 Course Objective By the end of the course, you are expected to Use the MATLAB environment for fast calculation, data generation, data plotting and analysis....
View Full Document
This note was uploaded on 02/13/2012 for the course CSE 1540 taught by Professor Hofbauer during the Winter '12 term at York University.
- Winter '12
- Computer Science