# Questions tagged [fitting]

Questions on the use of Mathematica to construct models for approximating empirical data.

1,360 questions
Filter by
Sorted by
Tagged with
23 views

### FindFit;;nrlnum problem

I am trying to fit my experiment data to the equation but I have a problem as below. Could somebody can help me with this? I would really appreciate it! ...
25 views

### Error while using MultiNonlinearModelFit

I am trying to fit real and imaginary part of the Lorentzian function with shared variables for which I am using the MultiNonlinearModelFit, I am not able to get the fitted model and fitting ...
78 views

### Fitting a two-dimensional Gaussian to the image

I have a image which I want to fit 2d Gaussian function with that. I used the below codes but the output figure doesn't look alright. I extracted the mean and covariance values in x and y direction.I ...
46 views

106 views

### How to perform fitting with convolution of two functions in Mathematica?

I have an experimental data as shown bellow. ...
2k views

### Bad linear fit for simple data

I have some data : ...
65 views

### Fitted equation with Predict

Is there a way to know the fitted curved from the function Predict when choosing the linear regression method. I am using this data: ...
69 views

### How can I plot this one-dimensional Self Organizing (Kohonen) Map?

Mathematica used to have a package called NeuralNetworks that is not currently working. With that package, you could create a Kohonen or Self Organizing Map (https://en.wikipedia.org/wiki/Self-...
124 views

### Fitting Lorentzian function

I'm trying to fit a Lorentzian function to my data, but i can't find the best fit. The model used is ...
72 views

### Detecting Lines in Data

I have some data representing a vaguely periodic signal, here is a sample ...
391 views

### Fitting a very simple dataset

I am a beginner in Wolfram Mathematica. I am trying to fit the data from a CSV file using FindFit. In doing so, I am getting the following error message ...
102 views

### Non linear model fit with trigonometric model

I tried to fit the curve of the dataset. I used 'Nonlinearmodelfit' function to get the specific fitted equation. Yes, I can get the result, but I am wondering there is a way to improve the result. ...
76 views

### FindFit with a Sin function

I'm trying to find the fit of Sin-shaped weather data that is provided by Wolfram. My code is as follows: ...
138 views

### FindFit problem, some models work — and some do not

I asked this question. Answers and comments were appreciated. But (some) of the comments did not make satisfied. [Maybe due to my bad English I did not describe my problem very well]. Let me try ...
123 views

### FindFit, FindFormula, Fit, NonlinearModelFit - Which one to use? (I got no good curves & plots)

See this code, what mistake I did? (I got no plot) ...
308 views

### How to drop points that don't lie in a line

I have some data like: ...
39 views

### Fitting an integral function given data points

I have a set of measures of the resistivity of a given material at different thicknesses and I'm trying to fit them using the Fuchs-Sondheimer model. My code is: ...
138 views

### Problem with FindFormula for experimental dataset [closed]

I have a dataset whose mathematical model is unknown. There is my code. ...
131 views

### Calculate combined standard deviation

If I have a data that I fit with NonlinearModelfit that fits a data based on two fitting parameters, c1 and ...
65 views

### Restrict gaussian multi-peak fitting by area

I am trying to implement the code developed by @MarcoB here: Multi-peak fitting and area of the fitting but trying to restrict the fitting of the peaks by the area, height, the width and the position, ...
53 views

### Fitting an integral function given a set of data points

I have a set of measures of the resistivity of a given material at different thicknesses and I'm trying to fit them using the Fuchs-Sondheimer model. My code is: ...