Error when calling a previously made function in a separate script. Any ideas?
Show older comments
I keep getting an Error when calling a previously made function that was made in a separate script, even when it is on my path. This piece of code performs a multiple regression iterative search task with 3 parameters.
Here is the original function that gets called later(Both original function script and the other Script it is being called in are attached) I created the function that is being called myself.
Open each attachment separately and run iterative search script to see error.
5 Comments
Walter Roberson
on 25 Apr 2018
The opening comments say
% Function for fitting a multiple regression model to a set of data. Data should % be in the form of a matrix, with column 1 as params1, column 2 as params2 and column 3 % as params 3.
But the code expects Data to be a table() object, not an array.
Reece Nasse
on 25 Apr 2018
Reece Nasse
on 25 Apr 2018
Edited: Reece Nasse
on 25 Apr 2018
Walter Roberson
on 25 Apr 2018
The function needs White blood cell count as well as red blood cell count. It ignores all other table properties.
Reece Nasse
on 25 Apr 2018
Accepted Answer
More Answers (0)
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!