How to find error/uncertainty value on MatLab
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
Please can anyone tell me how I am able to find the error/uncertainty value on MatLab of plotted data (linear fitting model).
Many thanks
0 comentarios
Respuestas (1)
Star Strider
el 17 de Feb. de 2017
I am not certain what uncertainty values you want, but the File Exchange contributions polyparci (link) and polypredci (link) should provide them. They run in MATLAB and do not require any Toolboxes.
2 comentarios
Rik
el 17 de Feb. de 2017
If you are using the polyfit function, you can get the error with this syntax: [p,S] = polyfit(x,y,n)
Star Strider
el 17 de Feb. de 2017
I never have.
What’s the error? How are you calling it to get the error?
That syntax is even quoted in the documentation for polyfit:
- [p,S] = polyfit(x,y,n) also returns a structure S that can be used as an input to polyval to obtain error estimates.
Ver también
Categorías
Más información sobre Descriptive Statistics en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!