How do I get a numeric integral from a function that uses Excel file input data?
Hi, How do I get a numeric integral from a function that uses Excel file input data? I have been able to import the excel file but am having trouble continuing the code,please guide me, thank you
4 Comments
Time DescendingHi, is your equation implemented in SimBiology or are you trying to do this in base MATLAB?
What would you like to use the numerical integral for? If you'd like to do non-compartmental analysis, you can open the dataset in SimBiology, navigate to the "Define Plot" tab, click Open --> NCA. In MATLAB, you could use the function trapz with input arguments time and data.
On a logistical note, do you mind posting any further questions you might have to the Answers section of our community website rather than the Discussion section? Thanks!
