Fitting line to a curve
Afficher commentaires plus anciens
I have a plot of attenuation V frequency and I am wondering if there is a way I can fit a straight line the follows the upper trajectory of the graph, so that you would see the line increase and then level off. I have tried a few methods but getting lines through the middle etc. Many Thanks

3 commentaires
Matt J
le 21 Avr 2022
Please explain "upper trajectory". Do you mean the subset of points formed by the oscillation peaks?
Also, I recommend attaching your data in a .mat file so that we can demonstrate solutions.
David Harra
le 21 Avr 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Interpolation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
