Matlab On Ubuntu

I freaking hate that the Windows shortcuts aren’t emulated in Linux. WTF. It’s like a reflex to use them in Linux. I’m always surprised when I save a file with CTRL+S it doesn’t save. CTRL+X, CTRL+V don’t work either. WTF.

I must have wasted 10 minutes on shit like that this afternoon while I was programming some numerical integrals with the Simpson 1/3 method. This method is of the 4th [O(h^4)] order. We used a Richardson Extrapolation to gain two more magnitudes of order. Time matters when you are doing a 45 minute lab and that at the end of the lab, you have to hand in your programs.

We spent another 20-25 minutes trying to figure out what the problem was with our program. We had some syntax errors. The if statement had the semi-colon at the wrong place. Otherwise, I would have finished this lab in about 20 minutes flat.

My partner was sick, so I was stuck doing most of it myself. He was in class, but his frequent trips to the bathroom weren’t helping him do any coding.

Author: range

I'm mathematician/IT strategist/blogger from Canada living in Taipei.

5 thoughts on “Matlab On Ubuntu”

  1. yeah the shortcut thing sucks big 😦 may want to install another version of Matlab in wine just for the editor. Or alternatively you can leave out the Matlab editor and use another text editor, many of which support code highlighting for Matlab m files now.

  2. If you are more comfortable with Windows key binding (like me), you can change it in MATLAB pretty easily. 🙂
    From MATLAB start menu choose “prefrences” and choose the Keyboard menu (left panel), then choose Windows for “Command window key binding” and “Editor key binding” 🙂

  3. Dashesy, thank you so much. I was just 5 minutes away from breaking my keyboard because of this stupid key binding thing.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s