How to Download Historical Stock Data from Google Into Matlab

Note: Please read the disclaimer. The author is not providing professional investing advice.

A while back I posted a Matlab script that downloads historical stock prices from Yahoo Finance using the java interface. Got a couple requests to write one to do the same for Google Finance so here it is.

get_hist_google_stock_data.m

Personally, I prefer Yahoo over Google as they have the extra Adjusted Close column which allows you to normalize for splits, dividends, etc.

But to each his own…