Octave reads CSV into a single Row

Reading a CSV into Octave is fairly simple. You can use the following command to specify the filename, separator and the array to load the data into. Just make sure you don’t have any headers in the file otherwise Octave will create a row of zeros instead.

data = dlmread(“test.csv”, “,”);

But if you find that Octave is reading everything into a single row which is filled with gibberish, it’s probably an issue with the end of line (EOL) encoding. In my case, the CSV was encoded with a Mac EOL. Octave is comfortable only with Windows or Linux EOLs.

Converting is fairly easy. Open Notepad++ and select Edit->EOL Conversion->Windows Format or UNIX Format. That will fix the problem.


Zoundry Raven

Testing Zoundry Raven. Looks pretty decent. Also supports tags and that’s what I was looking for in a blogging tool. Here’s a test image:


Images inserted and resized with ease. Blogger interface very much like a word editor which makes it very convenient:

Not bad!

Acer 4530 Standby Hibernate problems – Solved

My friend recently bought an Acer 4530 laptop which is quite decent. But it seemed like it had some issues with Standby and Hibernate since it would just hang when we clicked on them. The only way out was to hard reboot the system. I was using WinXP+sp2.

I got an idea that the problem might be because of the drivers. So installed sp3 on the same thing and tried it out. Works like a charm now.