How to extract data and use the curve fitting toolbox to do a regression analysis?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Thashen Naidoo
el 9 de Sept. de 2019
Comentada: Thashen Naidoo
el 2 de Oct. de 2019
If I have a dataset of (50 000 events) of magnitude that range between 2 to 7. So 50 000 events that can have values between 2 to 7. I want to plot a cumulative histogram or scatter plot and then perform a regression analysis on the data. Can someone please explain as to how I can extract the frequency of events (for the Y axis) and how I can use the curve fitting toolbox to do this.
I do not understand what the "Weights" section refers to in the curve fitting toolbox.
0 comentarios
Respuesta aceptada
Dheeraj Singh
el 12 de Sept. de 2019
For finding frequency of events you can use tabulate . You can then load the data using the curve fitting toolbox and then use Regression and other methods for curve fitting.
Weights are used for weighted fitting. For more on Weights and Data Selection refer to the following link:
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!