como resolver este en matlab
30 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
Walter Roberson
2024-11-21,20:26
exp(x.^2 + y.^2)
3 个评论
Walter Roberson
2024-11-21,21:17
-(pi*(erfi(6) + erfi(8))*(erfi(1) - erfi(6)))/4 is the result of the double integration. It is the exact result.
If you want a numeric approximation to the result, then use
double(I_dxdy)
or else use
sympref('FloatingPointOutput', true)
but I do not recommend doing that.
Image Analyst
2024-11-21,21:06
What do you want to do? Plot it? Integrate it over some area?
¿Qué quieres hacer? ¿Graficarlo? ¿Integrarlo en alguna zona?
fontSize = 16;
X = linspace(0, 2, 100);
Y = linspace(0, 2, 100);
[x, y] = meshgrid(X, Y);
z = exp(x.^2 + y.^2);
surf(x, y, z, 'EdgeColor','none');
colormap('turbo')
colorbar
title('z = exp(x.^2 + y.^2)', 'FontSize',fontSize)
xlabel('x', 'FontSize',fontSize);
ylabel('y', 'FontSize',fontSize);
zlabel('z', 'FontSize',fontSize);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!