Hi, I'm writing a bit of code that will perform a nlinfit nine times. The code uses a function which is called each time I want to fit and the variable I need to pass in changes each time. How can I pass it in without defining it as global?
MATLAB: How to pass a variable into a function without defining it as global or in the arguement
MATLAB
Best Answer