Share Your Experience: Take the 2024 Developer Survey

# Tag Info

• 2,546
Accepted

### Prof Lawrence Shampine's hpde matlab code

There is a zip archive on the Wayback Machine from Shampine’s homepage in 2010: https://web.archive.org/web/20100624204352/http://faculty.smu.edu/shampine/hpde.zip
• 376

### ode23, 45, 15s, 15i in matlab for conservative ODEs

None of those ODE solvers are conservative*. For a conservative integrator you typically need a symplectic integrator. There are implementations of various symplectic integrators on Matlab file ...
• 2,794

### How to remove triangles in a hollow hemisphere shape?

I agree with Mikael's suggestion to use a structured mesh if you can get away with it. But there is a more fundamental reason why the Delaunay function from matlab isn't doing what you want and I ...
• 10.3k
1 vote

### How to plot the power spectrum

I pick a column, the sixth, take the FFT, then take the absolute-value squared I guess this is not one PROPER method to estimate power spectrum. The code ...
• 153
1 vote

### Multivariable Newton's method for-loop

It's not entirely clear from the way the question is worder but I guess the idea is given 3 circle equations to find the intersection point of the 3 circles (if it exists). That is: \begin{cases} \|...
• 2,162
1 vote

Given your differential equation is nonlinear, it is not clear that using the bisection method to find the desired value for $\theta_q$ so that $\theta|_{s = l} = \pi/2$ is reasonable. Let $f(\theta_q)... • 4,248 1 vote ### 'Integral2' error in MATLAB for invalid integrand If you wish to evaluate this numerically there is no need to involve symbolic math, and we can just write functions; ... • 1,008 1 vote ### Is there a Python version of the ODE tool pplane? I would like to provide with my codes with a result resembling that of matlab, although not 100% the same. Codes are maintained and extended to more general cases via pplane for python. ... • 111 1 vote ### How to curve-fit the lower envelope of random sequence? Well, let our data be$(x_i, y_i)_{i=1}^{n}$and suppose you have a parametric model$f(x|\beta)$with parameters$\beta$, that you want to fit to your data. A simple formulation that will help give ... • 4,248 1 vote ### How to curve-fit the lower envelope of random sequence? Assuming you have a model$M(x)$that you can evaluate at$x$and compare to your data at each point$Y(x)$. Try minimizing$\sum D^2$where$D = Y(x) – M(x)$if$Y(x) > M(x)$and$D = P$if$Y(x) &...
• 11

Only top scored, non community-wiki answers of a minimum length are eligible