Foundations of MATLAB Programming for Behavioral Sciences
This textbook introduces the fundamentals of MATLAB for behavioral sciences in a concise and accessible way. Written for those with or without computer programming experience, it works progressively from fundamentals to applied topics, culminating in in-depth projects. Part I covers programming basics, ensuring a firm foundation of knowledge moving forward. Difficult topics, such as data structures and program flow, are then explained with examples from the behavioral sciences. Part II introduces projects for students to apply their learning directly to real-world problems in computational modelling, data analysis, and experiment design, with an exploration of Psychtoolbox. Accompanied by online code and datasets, extension materials, and additional projects, with test banks, lecture slides, and a manual for instructors, this textbook represents a complete toolbox for both students and instructors.
- Written specifically for students in the behavioral sciences, using discipline-specific examples
- Provides a crash course on the fundamentals of computer programming, making the text accessible to students without prior coding experience
- Exercises in each chapter emphasize hands-on, applied learning, culminating in in-depth projects at the end of the book
- Accompanied online by code and datasets, extension materials, and additional projects, with test banks, lecture slides, and a manual for instructors
- Pedagogical tools support reading and study, including learning objectives, explainer boxes, and exercises based on real-world examples
Reviews & endorsements
‘This is exactly the book I’ve been waiting for. It is perfectly designed for the audience it is aimed at: social science students with a broad range of previous programming experience (including none). It includes lots of practical exercises, which is vital, and is written in a clear and engaging style.’ Charles Collin, University of Ottawa
‘Mansolf commendably introduces programming through MATLAB to undergraduate behavioral science students from diverse backgrounds. The accessible two-part treatment covers various programming features including problem-based learning through progressively engaging exercises, culminating in a gentle introduction to Psychtoolbox. In my opinion, Mansolf’s overarching approach is well suited to the intended audience.’ Shukla Pancham, Imperial College London
‘In this very useful book, Professor Mansolf explains a wide range of MATLAB applications: from basic syntax to data structures; from graphing to computational modeling. A recommended text for anyone in the psychological sciences who wants to build a strong foundation in programming.’ Alicia Izquierdo, University of California
Product details
August 2025Paperback
9781009350297
253 pages
253 × 203 mm
Not yet published - available from July 2025
Table of Contents
- Preface
- To the Student
- Part I. MATLAB Programming:
- 1. Basic MATLAB
- 2. Data Structures and Indexing
- 3. Functions
- 4. Logical Values
- 5. Conditionals and Loops
- 6. Problem Solving with Conditionals and Loops
- 7. Text
- 8. Other Data Structures
- 9. Loading and Saving Data
- 10. User-Defined Functions
- 11. Graphing in MATLAB
- Part II. Applications of MATLAB Programming in Behavioral Sciences:
- 12. Computational Modeling
- 13. Data Analysis
- 14. Computerized Experiments
- Glossary
- Index.