Skip to main content

New answers tagged

1 vote

How to plot this data set, ignoring the initial oscillation?

We may change the duplicated points by the mean of their neighbors. This gets complicated because the duplicated points are not exactly equal. Therefore, we must first determine the positions of the ...
Daniel Huber's user avatar
  • 53.5k
1 vote

How to plot this data set, ignoring the initial oscillation?

I'd suggest using an Interpolation instead of computing finite differences. First, augment your data list with corresponding abscissa values: ...
Roman's user avatar
  • 48.7k
2 votes
Accepted

How to plot this data set, ignoring the initial oscillation?

What you are looking for is to find the data envelope. One possible way ...
Nasser's user avatar
  • 147k
1 vote

All composite numbers are crossed by the lines

I made some adjustments to the coordinates. ...
Rubens Vilhena Fonseca's user avatar
0 votes

All composite numbers are crossed by the lines

It looks like you are trying to visualize a plot involving the square root function and points on a parabola. The Manipulate function in Mathematica can be used to ...
zeraoulia rafik's user avatar
0 votes

All composite numbers are crossed by the lines

Not sure this is what you are after, but you can just rotate the graph: ...
Lexington1776's user avatar
1 vote

How to exclude singularities for `NMinimize`

If we take objective from @user64494 answer, we first check the region where objective \[Element] Reals ...
Ulrich Neumann's user avatar
0 votes

How to exclude singularities for `NMinimize`

The following works without any errors and warnings in 14.0 on Windows 10. We use exact numbers to avoid problems with the evaluation. ...
user64494's user avatar
  • 27.3k
3 votes

Find a parameter to return minimum of the function of several variables

The problem is unbounded (it's always important to check boundaries in optimization) so a global minimum exists in the limit as $x \rightarrow -\infty$: ...
ydd's user avatar
  • 4,562
3 votes

Find a parameter to return minimum of the function of several variables

...
zeraoulia rafik's user avatar
3 votes

Fitting Eigenvalues of a 8*8 matrix to experimental data

Here is an artificial example, where we have a given set of eigenvalues and want to fit the matrix parameters to obtain eigenvalues as close to the set as possible. ...
Daniel Lichtblau's user avatar
4 votes

Fitting Eigenvalues of a 8*8 matrix to experimental data

You may fit the eigenvalues of an 8x8 parameterized matrix to your experimental data by defining a function that computes the eigenvalues based on given parameter values. Then, define a cost function ...
zeraoulia rafik's user avatar
1 vote
Accepted

Fitting a time domain function to frequency domain experimental data

I agree with @A. Kato in the comments that there is no good fit under your assumptions about the function. I wrote some code to perform the fitting, where the loss used is the relative error of the ...
houzw's user avatar
  • 781
1 vote

Using mathematica to find the equation of curves, by providing images, providing constraints, or both

I will show a simple method to generate a function based on constraints. Let us start with a polynomial form of low order: ...
yarchik's user avatar
  • 19.2k

Top 50 recent answers are included