Skip to main content

All Questions

1 vote
1 answer
112 views

MATLAB Class Efficiency

I try making it short. I got a problem involving numerical simulation of a flow withing a gas pipe. I simulate using different models for the air flow (transport equations) travelling from one ...
William D.'s user avatar
0 votes
1 answer
223 views

Am I using a wrong numerical method?

This is the code: f = dsolve('D3y+12*Dy+y = 0 ,y(2) = 1 ,Dy(2) = 1, D2y(2) = -1'); feval(symengine, 'numeric::solve',strcat(char(f),'=1'),'t=-4..16','AllRealRoots') If I remove 'AllRealRoots' option ...
user3311277's user avatar
0 votes
1 answer
100 views

Processing Time for plotting and numeric calculation in Matlab

I have a function which in total takes 34s and I want to speed this up. The 2 slowest functions are: 1) I have a very simple function file: function [x] = percentChange(startPoint, currentPoint) x = ...
user84112's user avatar
0 votes
1 answer
417 views

mex/c++ version of *by the book* level set methods?

Shot in the dark- does anyone know of a faster / mex / C / C++ version of level set methods and numerical hyperbolic PDEs? I like this package a lot: http://barissumengen.com/level_set_methods/index....
peter karasev's user avatar