Hi everybody, I have a question that if I have a function f=sin(t-D), I want to calculate the integral from t=0 to 1 with D=0:0.01:0.1 (10 values of D) So I want to get 10 result for this integral (D=0 to 0.1) How can I do that? I see some example on trap(), but I am not sure how can I apply it to my question. Many thanks. Jianyang
MATLAB: How to calculate a integral of f=sin(t-D)
integral calculationMATLAB
Best Answer