convert data to a function using polyfit
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda


2 Commenti
Condividi un link a questo commento
Condividi un link a questo commento
Risposta accettata
1 voto
Condividi un link a questa risposta



2 Commenti
Condividi un link a questo commento
Condividi un link a questo commento
- 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.
Più risposte (0)
Categorie
Scopri di più su Spline Postprocessing in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- 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)
