Optimizing Interpolation Methods in MATLAB: How to Set and Reset Defaults

  • Thread starter Thread starter myah
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
myah
Messages
1
Reaction score
0
I'm having trouble with my MATLAB program. I have some data, where I've written a program with two options
-to compare the different functions/methods of interpolations and manual choosing of the ones that appear to be closest approximations and then using those methods for interpolation to do make the final graphs
- to skip the manual comparison and use default functions for the interpolations and go straight to the final graph.

My problem comes in that I want to go through the program the first time using the the manual comparison and then be able to set the default as the manually chosen functions, so that next time I run through the mfile, I can just choose the default option and still have the best solutions for each set of data for all of the graphs.

I keep on getting circular logic that doesn't work. Please help.
 
Physics news on Phys.org
What you're saying doesn't make sense to me. Could you post the assignment instead?