MATLAB for Psychologists -  Mauro Borgo,  Massimo Grassi,  Alessandro Soranzo

MATLAB for Psychologists (eBook)

eBook Download: PDF
2012 | 1. Auflage
XVI, 293 Seiten
Springer New York (Verlag)
978-1-4614-2197-9 (ISBN)
Systemvoraussetzungen
48,10 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
This concise volume shows how to use MATLAB in experimental psychology research, for such tasks as programming experiments, creating sensory stimuli, running simulations, calculating statistics, or biosignal processing. Includes examples and graphics.

Mauro Borgo received his B.A. and his Ph.D. in Electronic and Telecommunication Engineer in 1999 and in 2003 respectively, both from the University of Padova, Italy.  His interests are in signal and data processing for wireless communication. He adapted his competences of signal processing to the multi-sensor/actuators cells systems. He has an international patent on 'Multi site- Single CellElectroporation'. He was a lecturer in 'Electrical communication' and in 'Matlab' at the University of Padova(Italy).

Alessandro Soranzo received his B.A. in Experimental Psychology in 1999 and his Ph.D. in Experimental Psychology in 2004, both from the University of Trieste, Italy. He also did a Post-doc in Vision Sciences at Glasgow Caledonian University (Glasgow, UK). He is senior lecturer in Cognitive Psychology at Teesside University in Middlesbrough (UK). His research interests are in colour perception and psychophysical methods.

Massimo Grassi received his B.A. in Experimental Psychology in 1997 and his Ph.D. in Experimental Psychology in 2003, both from the University of Padova (Italy). He has also been a Visiting Scientist at University of Sussex (UK). He is lecturer in Sensation and Perception at University of Padova (Italy). His research interests are in sound perception, crossmodal perception, and psychophysical methods.
The matrix laboratory interactive computing environment-MATLAB-has brought creativity to research in diverse disciplines, particularly in designing and programming experiments. More commonly used in mathematics and the sciences, it also lends itself to a variety of applications across the field of psychology. For the novice looking to use it in experimental psychology research, though, becoming familiar with MATLAB can be a daunting task.MATLAB for Psychologists expertly guides readers through the component steps, skills, and operations of the software, with plentiful graphics and examples to match the reader's comfort level. Using an extended illustration, this concise volume explains the program's usefulness at any point in an experiment, without the limits imposed by other types of software. And the authors demonstrate the responsiveness of MATLAB to the individual's research needs, whether the task is programming experiments, creating sensory stimuli, running simulations, or calculating statistics for data analysis.Key features of the coverage:Thinking in a matrix way.Handling and plotting data.Guidelines for improvedprogramming, sound, and imaging.Statistical analysis and signal detection theory indexes.The Graphical User Interface.The Psychophysics Toolbox.MATLAB for Psychologists serves a wide audience of advanced undergraduate and graduate level psychology students, professors, and researchers as well as lab technicians involved in programming psychology experiments.

Mauro Borgo received his B.A. and his Ph.D. in Electronic and Telecommunication Engineer in 1999 and in 2003 respectively, both from the University of Padova, Italy.  His interests are in signal and data processing for wireless communication. He adapted his competences of signal processing to the multi-sensor/actuators cells systems. He has an international patent on “Multi site- Single CellElectroporation”. He was a lecturer in “Electrical communication” and in “Matlab” at the University of Padova(Italy). Alessandro Soranzo received his B.A. in Experimental Psychology in 1999 and his Ph.D. in Experimental Psychology in 2004, both from the University of Trieste, Italy. He also did a Post-doc in Vision Sciences at Glasgow Caledonian University (Glasgow, UK). He is senior lecturer in Cognitive Psychology at Teesside University in Middlesbrough (UK). His research interests are in colour perception and psychophysical methods. Massimo Grassi received his B.A. in Experimental Psychology in 1997 and his Ph.D. in Experimental Psychology in 2003, both from the University of Padova (Italy). He has also been a Visiting Scientist at University of Sussex (UK). He is lecturer in Sensation and Perception at University of Padova (Italy). His research interests are in sound perception, crossmodal perception, and psychophysical methods.

MATLAB for Psychologists 3
Preface 7
Acknowledgments 9
Contents 11
Chapter 1: Basic Operations 17
Variables 21
Thinking in a Matrix Way 24
Operations 31
Summary 33
Exercises 34
A Brick for an Experiment 36
References 39
Suggested Readings 39
Chapter 2: Data Handling 40
Types of Variables (Logical Values, Strings, NaN, Structures, Cells) 40
Logical Variables 40
Strings 46
NaN 50
Structures 50
Dynamic Field Names 52
Cells 53
Import/Export 55
Summary 57
Exercises 58
A Brick for an Experiment 59
Read the Results 59
Reference 61
Suggested Readings 61
Chapter 3: Plotting Data 1 62
Plot Data 62
Control the Plot’s Objects: Labels, Legend, Title… 65
Subplot: Multiple Plots in One Figure 67
3-D Plots 71
Printing and Saving Images 73
Handle Graphics 73
Summary 76
Exercises 77
A Brick for an Experiment 79
Plot the Results 79
Reference 80
Suggested Readings 80
Chapter 4: Start Programming 81
M-Scripts and Functions 81
Control Flow Statements 84
Cycles and Conditionals: If 84
Switch Case 86
For Loops 88
Analysis 90
While 92
Analysis 93
Analysis 94
Break 95
Try–Catch 96
Loops Versus Matrices and If Versus Logicals 96
Functions 97
Scope of Variables 100
Analysis 100
Change the Number of Inputs and Outputs 101
Analysis 103
More on Data Import/Export: Script Examples 104
Analysis 109
Guidelines for a Good Programming Style 110
Writing Code 110
Debug 112
Summary 114
Exercises 115
A Brick for an Experiment 116
Analysis 118
References 120
Suggested Readings 120
Chapter 5: A Better Sound 121
Generate a Sound 121
Multiple Sounds 126
Manipulating a Sound’s Level 128
Match the Level of Sound with Different Waveforms 129
Analysis 129
Stereophonic Sounds for ITD and ILD 3 130
A Sound’s Envelope 132
Sound Filtering 134
Sound Analysis 137
Summary 139
Exercises 139
A Brick for an Experiment 140
References 141
Suggested Readings 142
Chapter 6: Create and Proccess Images 1 143
Images Basics 143
Importing and Exporting Images 146
Display Images 148
Basic Manipulation of Images 149
Point Operations 150
Intensity Transformation 150
Windowing 152
Neighborhood Processing 154
The Edges of the Image 158
Advanced Image Processing 158
Creating Images by Computation 158
Summary 163
Exercises 164
References 165
Suggested Readings 166
Chapter 7: Data Analysis 167
Descriptive Statistics 167
Measures of Central Tendency 167
Measures of Dispersion 168
Bivariate and Multivariate Descriptive Statistics 169
Covariance 170
Simple and Multiple Linear Regression 170
Generalized Linear Model 174
Inferential Statistics 176
Parametric Statistics 176
Assessing the Parametric Assumptions 176
z -Test 176
t -Test 177
One-Sample t -Test 177
Two-Sample t -Test 178
ANOVA 180
One-Way ANOVA 180
Two- and n-Way ANOVA 183
anovan() 185
Example 185
One-Way Repeated-Measure ANOVA Analysis with anova1() 187
Two-Way Repeated-Measure ANOVA 187
Three-Way Mixed-Measures ANOVA 188
Nonparametric Statistics 191
Categorical Data 191
Binomial Distribution 191
Chi2 192
Ordinal Data 193
Wilcoxon Signed Rank Test 193
Mann–Whitney U Test (or Wilcoxon Rank Sum Test) 194
Kruskal–Wallis Test 194
Friedman’s Test 195
Signal-Detection Theory (STD) Indexes 196
d' 197
b 197
c 197
A' and B? 197
Summary 198
Exercises 199
A Brick for an Experiment 200
References 201
Suggested Readings 201
Chapter 8: The Charm of Graphical User Interface 202
Introduction 202
GUIDE 202
Starting GUIDE 203
The GUI Toolbar 203
Adding UiControls to the GUI 204
Closing the GUI 206
Controlling UiControls from Other UiControls 209
The Sum-Two-Numbers Example 209
Displaying Graphs and Figures in the GUI 215
Saving User Input 217
Adding Your Own Functions 220
Summary 220
Exercises 220
Exercise 1 220
Solution 220
Exercise 2 221
Solution 222
A Brick for an Experiment 225
Appendix 228
The File Menu 229
The Edit Menu 229
The View Menu 230
The Layout Menu 230
Tools Menu 231
Help 231
Preferences for GUIDE 232
Backward Compatibility 233
Other Preferences 234
Suggested Readings 234
Chapter 9: Psychtoolbox: Video 235
The Screen Function 235
Analysis 237
How to Use Screen to Get Information 237
How to Use Screen to Draw Figures 239
Preliminary Notions: Drawing Figures in Three Steps—Opening, Drawing, and Closing 239
Opening the Window 239
Drawing: An Introduction 241
Closing 242
Drawing: Reprise 242
Analysis 243
Drawing Shapes 243
Batch Processing: Drawing Multiple Figures at Once 247
Drawing Text 248
Importing Images 250
Analysis 251
Video Clips 252
Analysis 252
Analysis 253
Drawing Things at the Right Time 253
Analysis 255
Summary 255
Exercises 256
Exercise 1 256
Solution 1 256
Exercise 2 256
Solution 2 257
A Brick for an Experiment 257
References 260
Suggested Readings 260
Chapter 10: Psychtoolbox: Sound, Keyboard and Mouse 261
Timing 261
Priority 262
Sound Functions 263
Getting Participants’ Inputs: Keyboard and Mouse Functions 265
Keyboard Response 265
“Press Any Key to Proceed” 266
“Press the Spacebar to Proceed” 266
“Press Any Key to Respond” 268
Reaction-Time Detection 268
Choice Reaction Time 270
Go/No-Go Reaction Time 271
Reaction Times Within a Video Clip 272
Mouse Input 274
Using Participants’ Input to Manipulate Shape Characteristics 275
Keyboard Manipulations 276
Analysis 277
Placing Discs with the Mouse 278
Analysis 279
Summary 279
Exercises 280
Exercise 1 280
Solution 280
Analysis 281
A Brick for an Experiment 281
References 284
Suggested Readings 285
About the Authors 286
Index 287

Erscheint lt. Verlag 24.3.2012
Sprache englisch
Themenwelt Geisteswissenschaften Psychologie
Mathematik / Informatik Mathematik Computerprogramme / Computeralgebra
Schlagworte behavioral science • biosignals • Computational Functions • computer programming • Data Analysis • data collection • Data handling • Data Types • Data Variables • Debugging • Elegant Programming • experimental psychology • Exporting Data • Graphic User Interface • GUI • Import/Export Images • Importing Data • Loops Generation • MATLAB • Matrix • Matrix Laboratory • Neural networks • Problem Solving • Program Flux • programming • Programming language • Psychological Toolboxes • Psychology • Simulation • Small Data Set • Statistics
ISBN-10 1-4614-2197-7 / 1461421977
ISBN-13 978-1-4614-2197-9 / 9781461421979
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 10,6 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich