title: Matlab Vs. Maple for curve fitting to data, finding eq'n of curve then integrating through code
body: <p>Im sure there are a thousand different posts on Maple vs Matlab, but i have a bit of a unique set of requirements and before i go off to learn one of the two i would like to know which one will do it best. </p>
  
  <p>I have a set of data from an accelerometer recording an impact. I need to do the following:</p>
  
  <ol>
  <li>fit a curve to the data</li>
  <li>Find the equation for that curve</li>
  <li>solve the equation listed at the link 
  <a href="http://upload.wikimedia.org/wikipedia/en/math/2/d/3/2d39556df1dbbd467dc914253e93cdb0.png" rel="nofollow">http://upload.wikimedia.org/wikipedia/en/math/2/d/3/2d39556df1dbbd467dc914253e93cdb0.png</a>
  which solves for a family of curves,i.e the MAX under the interval.</li>
  </ol>
  
  <p>I would like to do this as seamlessly with visual studio as possible. The GUI and all the other elements of the app are built in VB and I would like to keep it there. I know maple has a code generating part to it that will convert to VB, would it be able to handle something like this? Does Matlab integrate with Visual Studio well? I would be thrilled if there was an object i could place on the VB form which would facilitate the communication to and from the matlab or maple framework. Currently i have it working with R, however to do so i need to write the data to a file, launch the R script, wait for it to finish, return control to my VB app and take it from there. This process takes too long and since i do not have experience with multi threaded programming the GUI freezes up when control is passed to the script. </p>
  
  <p>Any help or suggestions would be very much appreciated!</p>