Serving the Quantitative Finance Community

 
User avatar
zzytds
Topic Author
Posts: 0
Joined: August 17th, 2011, 10:41 am

A book suggestion on using Excel & Matlab together

August 31st, 2011, 6:18 pm

Hi there,As my internship requires me to prepare some excel files in order to make complex calculations, I need to deploy some Matlab concepts into Excel. Is there any good tutorial on how to use both together?
Last edited by zzytds on August 30th, 2011, 10:00 pm, edited 1 time in total.
 
User avatar
Hansi
Posts: 41
Joined: January 25th, 2010, 11:47 am

A book suggestion on using Excel & Matlab together

August 31st, 2011, 7:08 pm

What do you need from Matlab? Books are pointless for this, check examples on mathworks instead.What does the code look like? Is it toolbox heavy? If not rewrite it in VBA or an add-in language.
 
User avatar
piterdias
Posts: 0
Joined: July 14th, 2002, 3:00 am

A book suggestion on using Excel & Matlab together

September 1st, 2011, 12:03 pm

QuoteI need to deploy some Matlab concepts into Excel.A life ago (long, long time) someone told that although Matlab is pretty fast, moving data from Excel to Matlab and vice-versa was a performance killer for pratical purposes. Is it true yet?
 
User avatar
Hansi
Posts: 41
Joined: January 25th, 2010, 11:47 am

A book suggestion on using Excel & Matlab together

September 1st, 2011, 12:14 pm

Depends on when it was, csv and xls(x) import/export is faster then it used to be in both but still slow for data in spreadsheet range to Matlab and back.. Excel Add-in data in C++ -> Matlab obj or binary data is okay but that's not really dependent on Excel for anything other than control.
 
User avatar
eh
Posts: 3
Joined: March 2nd, 2010, 9:26 am

A book suggestion on using Excel & Matlab together

September 1st, 2011, 2:04 pm

QuoteOriginally posted by: HansiDepends on when it was, csv and xls(x) import/export is faster then it used to be in both but still slow for data in spreadsheet range to Matlab and back.. Excel Add-in data in C++ -> Matlab obj or binary data is okay but that's not really dependent on Excel for anything other than control.CSV->Matlab using the low-level text-scanning functions can be fast, but reading directly from Excel sheets is slow.
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

A book suggestion on using Excel & Matlab together

September 1st, 2011, 4:47 pm

What would be the business or technical rationale to even want to Excel+Matlab?
 
User avatar
Hansi
Posts: 41
Joined: January 25th, 2010, 11:47 am

A book suggestion on using Excel & Matlab together

September 1st, 2011, 5:14 pm

QuoteOriginally posted by: CuchulainnWhat would be the business or technical rationale to even want to Excel+Matlab?Excel - Viewer, data input, data explorerExcel AddIn - Data sourceMatlab + Tool boxes - ModelExcel [User input + Data from Data Source] -> Matlab [Run model] -> Excel [View/check results]Pretty common setup that I've seen. There are multiple additional variation with more or fewer components.