Thursday, February 24, 2011

Running command line programs in Mac

Type in textwrangler

#!/bin/bash
cd /applications/IDV
./runIDV

Saved it as runIDV.command in home

Right click on the item and then create alias. Move the alias to the Applications folder on the dock.

Bingo!

Wednesday, February 23, 2011

Map of the Earth on Matlab topo.mat

It is nice and handy to know that the map of the earth  is available on Matlab.

load topo
contour(topo,[0,0],'k')


Topo contour plot in matlab.

The Blue marble!

The cool 3D map is obtained after running the code from:
with cdata on to sphere.

 Remote Sensing and Image InterpretationRemote Sensing of Vegetation: Principles, Techniques, and ApplicationsAn Introduction to Ocean Remote Sensing

Sunday, February 20, 2011

Matlab Answers Central

Matlab has opened up with answers. This is awesome as this can serve as a place for users to interact and post the problems, and possibly the solutions.
They have some system of having points as in yahoo answers, but other than feeling better that the poster helped to solve the problem, I am not sure what does that score mean.

http://www.mathworks.com/matlabcentral/answers/