Serving the Quantitative Finance Community

Search found 24 matches

  • 1
  • 2
by hmerkinger
October 14th, 2004, 7:37 am
Forum: Programming and Software Forum
Topic: Matlab -> C++ vs. C++
Replies: 2
Views: 174187

Matlab -> C++ vs. C++

<t>The Matlab compiler produces executables from m-code. In my experience its mainbenefit is not speed improvement but solving the redistribution issue.Speed improvements are normally very modest, depending on code. You will almost always achieve better speed coding directly in C++, except for cases...
by hmerkinger
September 24th, 2004, 7:06 am
Forum: Programming and Software Forum
Topic: Real Time NYMEX Data Provider
Replies: 4
Views: 174655

Real Time NYMEX Data Provider

<r>You can get futures prices for Gas and Crude Oil for free from Interactive Brokers:<URL url="http://www.interactivebrokers.com/cgi-pub/exchange_display_web.pl?einfo=usNYMEX2&file=NYMEX.htmlHTH,Hans-Marc"><LINK_TEXT text="http://www.interactivebrokers.com/cgi-p ... ,Hans-Marc">http://www.inter...
by hmerkinger
September 16th, 2004, 6:49 pm
Forum: Programming and Software Forum
Topic: Efficient Matrix Algebar AND Inverse of a Symmetrix Matrix
Replies: 6
Views: 176374

Efficient Matrix Algebar AND Inverse of a Symmetrix Matrix

<r>Charlie,if you have an ill-conditioned matrix it is not surprising yourinverses are not symmetrical due to accuracy problems. Have you had a look at Sec. 2 of The Numerical Recipes in C:<URL url="http://www.library.cornell.edu/nr/cbookcpdf.htmlI">http://www.library.cornell.edu/nr/cbookcpdf.htmlI<...
by hmerkinger
September 12th, 2004, 6:57 pm
Forum: Programming and Software Forum
Topic: Global macro - Excel 97
Replies: 2
Views: 176002

Global macro - Excel 97

Hi,have you tried creating a new personal.xls and putting it intothe XLSTART subfolder?HTH,Hans-Marc
by hmerkinger
September 3rd, 2004, 5:00 pm
Forum: Programming and Software Forum
Topic: MATLAB code for bivariate normal cumulative distribution function
Replies: 1
Views: 179277

MATLAB code for bivariate normal cumulative distribution function

Hi,you can find code for this on comp.soft-sys.matlab. It is a posting by Raymond Kan from 1993.I do not want to post this without the author's permission,but you can easily find it by doing a search forcomp.soft-sys.matlab Raymond Kan bivariateon Google Groups.HTH,Hans-Marc
by hmerkinger
August 29th, 2004, 6:45 pm
Forum: Programming and Software Forum
Topic: Unix
Replies: 4
Views: 177484

Unix

If you have no experience in programming this should be helpful:Learning the UNIX Operating System (O'Reilly)You can later progress to heavier stuff - there are a coupleof more advanced excellent UNIX books from O'Reilly.HTH,Hans-Marc
by hmerkinger
August 1st, 2004, 10:04 pm
Forum: Programming and Software Forum
Topic: compiling in c++
Replies: 8
Views: 180498

compiling in c++

<t>daveangel is right, more specifically under VS 2003 go toTools-Options-ProjectsUnder C++ directories select "Show directories for include files" in the upper right hand corner.Then add your directory that contains the header files.I find it strange though that the compiler does not recognize your...
by hmerkinger
July 25th, 2004, 7:33 pm
Forum: Programming and Software Forum
Topic: Matlab Compiler speed
Replies: 3
Views: 181217

Matlab Compiler speed

<t>To clarify this, as I received some questions about Matlab compiler performance:The compiler makes a brute-force translation of your m-code to c-code. Ittherefore only achieves modest speed gains, in my experience 30% at best.If you really need to boost your routines significantly, the best way i...
by hmerkinger
July 13th, 2004, 7:53 am
Forum: Programming and Software Forum
Topic: Matlab
Replies: 2
Views: 182911

Matlab

<t>Hello,optimization and statistics toolbox make sense for the beginning. The stuff in theFinancial Toolboxes (Main, Deriv, Time Series, Fixed Income, GARCH) you could all implement yourself. However, if you are a beginner in Matlab, it would probablytake you long, so it might make sense to buy one...
by hmerkinger
July 5th, 2004, 9:42 pm
Forum: Programming and Software Forum
Topic: regular expressions help
Replies: 3
Views: 183871

regular expressions help

<t>Yep,in good old Perl this should do:#!perl$in = "input.txt";$out = "output.txt";open INPUT, $in or die "Cannot open $in for read.";open OUTPUT, ">$out" or die "Cannot open $out for write.";$istr = "i";$jstr = "j";while (<INPUT>) { #s/\[([a-zA-Z])\]/\($istr,$1\)/igs; s/\[($jstr)\]/\($istr,$1\)/igs...
by hmerkinger
June 28th, 2004, 6:47 pm
Forum: Programming and Software Forum
Topic: DDE link to reference another cell in Excel
Replies: 4
Views: 185335

DDE link to reference another cell in Excel

<t>HeatOilTrader,this is a question that pops up every now and then on the MS Excel newsgroupsand I cannot remember having seen a satisfying solution to your problem.Of course you can always try fixes like using macros or coding in a dll as daveangelwrote.Look athttp://msdn.microsoft.com/library/def...
by hmerkinger
June 24th, 2004, 8:21 pm
Forum: Programming and Software Forum
Topic: Display graphics from Matlab DLL
Replies: 4
Views: 186050

Display graphics from Matlab DLL

<t>fox,AFAIK the Matlab COM Builder is an extension to the Matlab Compiler.If you want to build COM objects, you need to have COM Builder.It would make no economic sense otherwise, since Matlab Compilercosts USD 5000 and COM Builder USD 3000. If it were so easy to buildCOM objects with the compiler ...
by hmerkinger
June 24th, 2004, 10:06 am
Forum: Programming and Software Forum
Topic: Display graphics from Matlab DLL
Replies: 4
Views: 186050

Display graphics from Matlab DLL

<r>fox,>Seems Matlab C/C++ graphics library is only officially supported to generate stand alone executable, not DLL. It is true that is not officially supported but it works nevertheless without any problems.>To compile into DLL, they recommend to use COM builder.You do not need it. All you need is...
by hmerkinger
June 21st, 2004, 7:00 am
Forum: Programming and Software Forum
Topic: MAtlab + Widows xp
Replies: 5
Views: 186789

MAtlab + Widows xp

<r>Sofiane,I know people who had similar problems when installing 6.0 on a P4. Ona P3 it worked without problems. This is also documented on the Mathworkswebsite. It is solved in Matlab 6.1. Mathworks normally releases a "service pack"version after every major Matlab release, in the 6.0 case it was ...
by hmerkinger
June 18th, 2004, 6:53 pm
Forum: Programming and Software Forum
Topic: Matlab percentile function?
Replies: 11
Views: 193596

Matlab percentile function?

<t>vbprogrammer,since others contacted me asking for a percentile function, I havecopied the stuff I PMed you below. They might have to play aroundwith the code to accommodate their special needs. I did not havemuch time so did not vectorize the stuff. Doing so might boost speed,but does not have to...
  • 1
  • 2