How can I plot elliptical pressure distribution
5 次查看(过去 30 天)
显示 更早的评论
Hi, how can I plot elliptical pressure distribution. The equation is given below.
pn = Pmax*sqrt(1-(x/a)^2-(y/b)^2)
where, Pmax = (3*N)/(2*pi*a*b) is the maximum pressure. N is the load, a and b are the semi-major and semi-minor axes. Thanks.
0 个评论
采纳的回答
darova
2019-5-30
You mean surface or pcolor?
[x,y] = meshgrid(-5:0.5:5);
Pmax = (3*N)/(2*pi*a*b);
pn = Pmax*sqrt(1-(x/a)^2-(y/b)^2);
surf(x,y,pn)
% or
pcolor(x,y,pn)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!