求在MATLAB中定积分的数值解和符号解.

2025-04-13 06:13:25
推荐回答(1个)
回答1:

>>f='sin(s+2*x)';
>>int(f) %符号解
ans =
-cos(s + 2*x)/2
>>int(f,pi/2,pi) %数值解
ans =
-cos(s)