convert data to a function using polyfit
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta


2 comentarios
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Respuesta aceptada
1 voto
Comparte un enlace a esta respuesta



2 comentarios
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- That you don't understand it just means you don't understand the linear algebra that polyfit uses to generate a fit. That is irrelevant here, because while I could teach you to use bsxfun, you should not be using a polynomial fit at all here.
- If the fact the polynomial goes below zero is important, this essentially forces you to NOT use a polynomial, since a polynomial fit will always dip below zero in that region. Again, this is why you don't want to use a polynomial.
- That you don't know how to pass a spline into a function does not mean you should not use the tool. It just means you need to learn to use functions, and learn how to pass things around in MATLAB.
- No, you cannot extract a function "from" interp1. But I already showed you how to extract that function from pchip, for as much as you need to extract.
Más respuestas (0)
Categorías
Más información sobre Spline Postprocessing en Centro de ayuda y File Exchange.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
