Category Archive: Matlab

Apr 29

Presenting Our Analysis Tool

Today I performed my final presentation for my senior project. My project, A Tool to Analyze Spoken Dialogue and Pupil Diameter on a Multi-Touch Surface, was the development of a piece of software to help researchers analyze post-experimentation data. This data came from a past experiment, described here. The tool loads this data into a single, …

Continue reading »

Jul 26

Extracting data from Matlab figures

Has it ever happened to you that you have a Matlab figure, but you forgot to save the corresponding data? It happened to me more than once and each time I have to remind myself how to get the data back. Finally, I decided to save the knowledge here for anyone who may run into …

Continue reading »

Apr 21

Real-Time Pupil Diameter Based Cognitive Load Estimation

cognitive task and cognitive load estimation

One of the least intrusive methods for assessing cognitive load is measuring pupil diameter change using remote eye tracking. Because of the effect of task evoked pupillary response (TEPR), the pupil will dilate when a person is faced with a challenging cognitive task. But the pupil’s  diameter will also change due to change in lighting …

Continue reading »

Feb 13

Data Over Time

To demonstrate the potential for displaying data over time, I created a sample application on top of the InfoStrat.VE(virtual Earth). This sample program allows the user to scroll through MatLab generated data over a time frame of nine years. This type of visual data display could make analyzing time series information more interesting and fun. …

Continue reading »

Jan 20

Accelerometer plotting in MATLAB

The current project I am working on concerns reading data from an accelerometer in order to move a player in an air hockey game being played on the Microsoft Surface. There is a delay in tracking fast movements on the surface which can be an issue when playing a game. The idea is to cut …

Continue reading »

Jun 03

Integrating Matlab With The .NET Framework

With data crunching applications being developed for applications such as Geographical Information Systems for Interactive Oil-Spill Surveys such as one used by Environmental Response Management Application® (ERMA) etc. the integration of the .NET framework with the Matlab environment becomes a necessity. This is a short tutorial on setting up your .NET for interaction with Matlab. …

Continue reading »

Dec 05

UNH ECE Neural Networks Course: Student Presentations

During the week of December 3, 2007 students in the ECE 774/874 course gave 10-minute presentations on a neural networks-related topic of their choice. This is the third time I’m teaching this course, but only the first time I’ve asked students to give presentations to wrap the course up. I have to say that I …

Continue reading »

Nov 20

Steering wheel sensor

Hello all, For some time now, beside other things, I have been working with pressure sensors on the steering wheel. I mounted four of them to the perimeter of the wheel. They are connected to an amplifier board. The signal is then fed to a Texas Instruments eZ430-RF2500 board, which serves as an AD converter …

Continue reading »

Oct 31

Matlab peculiarities

Hello readers! So while working on my Neural Networks homework, I stumbled across an interesting problem when using the surf command in Matlab. Try running the following commands: Xi = -2 + [0:20]*0.2; Xj = -2 + [0:20]*0.2; X = zeros(2,size(Xi,2)*size(Xj,2)); for i = 1:size(Xi,2) n = (i-1) * size(Xj,2); for j = 1:size(Xj,2) X(:,n …

Continue reading »

Oct 15

Matlab "not equal" function – be careful how you use it!

When using the Matlab “not equal” function (~= or ne) with vectors and matrices, one has to be careful. I found this out the hard way, playing with some m-code for a homework in my Introduction to Neural Networks course. The issue is that the ~= function evaluates matching pairs of vector/matrix elements one at …

Continue reading »