Lowess smoothing disappears in Curve Fitting App

12 views (last 30 days)
I want to perform a demonstration to students on how the LOWESS filter works, using the Curve Fitting App. But as soon as I select any x or y data series, the Lowess option vanishes from the menu of possible fit functions ! I have tried all possible combination or sequence of commands I could think of, and tried both on my desktop version and on MATLAB online, same result. I can't figure out why I am doing wrong. Could not find any answers in MATLAB documentation, or on user forums. Any clues ?

Accepted Answer

Steven Lord
Steven Lord on 7 Dec 2020
According to this documentation page lowess is supported for surface fitting, not curve fitting. So if you specify x, y, AND z data you should be able to select lowess as the fitting method.

More Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 7 Dec 2020
I suggest you scrap the curve-fitting app, the way to go is to start from Loren's nice blogg-post on LOWESS-fitting. That way every step along the way gets properly presented to your students, in a way that are really (at least very reasonably) traceable, that the app kind of hides away.
HTH
  3 Comments
Bjorn Gustavsson
Bjorn Gustavsson on 7 Dec 2020
Fair point. Will take a look, can you share the data that you get the problem with, or should we just make up something with any size?
Christian Zdanowicz
Christian Zdanowicz on 7 Dec 2020
Does not seem to depend on data. I get this problem with any randomly-generated X and Y data.

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!