Category Archive: Matlab

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 »