Just nu i M3-nätverket
Jump to content

Matlabproblem


jpew

Recommended Posts

Vad är det för fel med nedanstående?

 

function z = integrand2(x,y)

 

z = exp(-x.^2-y.^2);

 

dIntegral = dblquad(@integrand2,0,2,2,4)

 

[X,Y] = meshgrid(0:.1:2,2:.3:4); Z = integrand2(X,Y);

mesh(X,Y,Z); view(45,40);

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...