Hi, I'm using Adigator to create the derivative file of an objective function that uses a form of nimerical integration (trapz for instance). Howver, this is the error I receive: *Error using trapz (line 53) X must be a vector. *Error in adigatortempfunc1 (line 12)* *output=trapz(y); *Error in adigator (line 510) FunctionInfo = adigatortempfunc1(FunctionInfo,UserFunInputs);* *Error in Main (line 37) Outputs = adigator('Objfun',{d,gX,u},'Objfunxder',adigatorOptions('overwrite',1))** I used the following...
Hi, I'm using Adigator to create the derivative file of an objective function that uses a form of nimerical integration (trapz for instance). Howver, this is the error I receive: *Error using trapz (line 53) X must be a vector. *Error in adigatortempfunc1 (line 12)* *output=trapz(y); *Error in adigator (line 510) FunctionInfo = adigatortempfunc1(FunctionInfo,UserFunInputs);* *Error in Main (line 37) Outputs = adigator('Objfun',{d,gX,u},'Objfunxder',adigatorOptions('overwrite',1))** I used the following...