Effacer les filtres
Effacer les filtres

BEST FIT plot of output

1 vue (au cours des 30 derniers jours)
sonu
sonu le 25 Avr 2013
hi i have a output after the loop pp=[33, 34,30,56,67,34,30,37,99,31,27]
if i want to choose the nearest value in to these can any one tell me what is the command to reject the greater value like 99,67,56 ..and plot them.. thnx
  5 commentaires
Daniel Shub
Daniel Shub le 25 Avr 2013
You need to edit the question and use the code markup to explain what the inputs to the function are and what the expected outputs are. Ideally you would provide some minimum code that demonstrates the problem you are having. As it stands now, it is not clear what you want.
sonu
sonu le 26 Avr 2013
if this is matrix as an input can u tell me plz how to select value that vary between 0-25 and reject value greater then 25,,,, is there any best curve fit command work on it....

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 26 Avr 2013
Do you mean how to extract those values from pp that are in the range 0-25?
indexesInRange = pp>0 & pp<25
valuesInRange = pp(indexesInRange)
Then you can perform curve fitting on valuesInRange instead of pp.

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by