# All Questions

9,662 questions
Filter by
Sorted by
Tagged with
40 views

### Solving chain of ODE in Julia

I am solving two different ODE whose solutions need to be matched. I am currently doing this by hand, which works great, but I would like to automatise this process. The second ODE takes one of its ...
21 views

### scipy.optimize.minimize(method=“SLSQP”) does not give the minimal value along its own search path

I would like to enquire about a situation I encountered while using the scipy function scipy.optimize.minimize(method="SLSQP"). It seems to loose track of the global minimum in the path of ...
17 views

### TIMESAT Error: Wrong number of sensordata imagefiles in Fortran command window

I am a first-time user of TIMESAT, and am attempting to follow along with this tutorial. http://rstudio-pubs-static.s3.amazonaws.com/452032_a5df2d3f782444fc830d43548a304ec5.html#PartA However, I am ...
88 views

### Scientific computing code development hands on introduction

I have a background in Computational Mechanics but my knowledge remains very user-oriented. What I mean by that is that I have a fairely good knowledge about how to use a commercial engineering ...
71 views

### How to find the optimum finite difference method for derivatives?

Related to: What are the negatives of using higher order finite diference schemes? Problem: I have some discrete data of a trajectory $x_t$ with errors $\delta x_t$ of a physical system sampled at ...
19 views

### Is there any theoretical analysis why data augmentation usually works? Does it contradict with data processing inequality?

According to data processing inequality, no data processing technique, neither deterministic nor stochastic, can add new information to the original input. Many experiments, however, show improvements ...
36 views

...
67 views

### Changing randomly a unit vector

For studying a spin model on a lattice, I have to generate a random unit vector starting from a pre-exstisting one. There are multiple ways to do it, but the book I use suggests generating a random ...
29 views

### Damping vs. Weighting in large sparse linear inverse problems

In large sparse inverse problems, there are two terms that I don’t have a clear perception of them; Weighting and damping. I know damping relates to the regularization process and weighting is a ...
43 views

### Solving this ODE on MATLAB

I have the following ODE - $\frac{dn}{dt} = \frac{1-n}{A} - \frac{u(t)}{B}n , -30\leq t\leq30, n(-30)=1$ where $A,B$ are constants and $n = n(t)$. I can solve this ODE analytically and get an ...
25 views

### Is there any way to develop MultiStart method in c++? [closed]

I have to convert some Matlab code into C++ code. These functions are used in this code. createOptimProblem(....) MultiStart(....) run() I have only basic ...
70 views

### Computing the residual in a Dual Weighted Residual (DWR) method

I am in the process if computing the Dual-Weighted Residual (DWR) for a linear PDE with a linear functional but I am struggling with the residual part of the calculation. For example suppose we want ...
45 views

50 views

### Operator Splitting and RK4 method

I’m trying to implement the method of Balanced and Rebalanced Splitting in the following problem which is enclosed in Speth’s and Macknamara’s paper ‘’BALANCED SPLITTING AND REBALANCED SPLITTING’’. ...
77 views

95 views

### How to interpolate stress at unknown points from the stress values available based on geometrical position for constant load?

I am working on a combined contact, bending, and torsion problem. I have data on geometrical points and their instantaneous stress components. However, based on the available data, I have to ...