33问答网
所有问题
当前搜索:
matlab中trapz函数用法
谁能帮我求一下积分 用
matlab
和fortran都可以
答:
u=@(t)(sin(2*pi*sqrt(t))).*exp((-1)*pi*44.1994^2./(4*88.3988^2*t));加点运算 而且quad(u,0,3600);改为非0开始 quad(u,0.01,3600);>> ans ans = -19.1477
matlab
请教
答:
怎么我运行没有出现你说
的
warning?只有下面的显示优化完成的提示 Local minimum found that satisfies the constraints.Optimization completed because the objective function is non-decreasing in feasible directions, to within the default value of the function tolerance,and constraints were satisfied ...
Matlab
数值积分语句哪里不对》
答:
问题出在这句上,f=1/(67*(1+z)*sqrt((1+z)^2*(1+0.317*z)-z*(2+z)*0.683)),在这句中缺点运算符。即“.*”点乘和“./”点除及“.^“点乘方 将上句改成如下,就ok了。function [f] = fun(z)f=1./(67*(1+z).*sqrt((1+z).^2.*(1+0.317*z)-z.*(2+z)*...
matlab
编程求助!!!数值积分!
答:
这。。不是直接积分就行了???难道还有其他
的
什么???clc clear all x=linspace(-100,100,1000);y=exp((-x.^2)/2)*1/sqrt(2*pi);
trapz
(x,y)
matlab里
循环求积分作图的问题。。。求大神!~可追加!~
视频时间 001:34
matlab
画响应曲面程序求助
答:
d=
trapz
(s0,y0);y1=(eps+1/d).*y0.*s0.^2;Rg(k,m)=sqrt(trapz(s0,y1));if Rg(k,m)==inf Rg(k,m)=1.0e-01;end end end [a,s]=meshgrid(a,s);mesh(a,s,Rg);xlim([0.29 0.39]),ylim([2.5*10^-29 3.5*10^-29]),zlim([1.0847e-09 1.0e+08])hold ...
运行
matlab
出现Undefined function 'quad1' for input arguments of...
答:
>> clear >> z3=quad('x./(x.^2+4)',0,1)z3 = 0.1116 >> z4=quadl('x./(x.^2+4)',0,1)z4 = 0.1116
棣栭〉
<涓婁竴椤
9
10
11
12
13
14
15
16
17
76
其他人还搜