Need help with 3-D plotting
古いコメントを表示
y < (.01.*x.^(2).*exp(x.^(-2))./(8.*Z.*10.^10)).^(1./4);
I need to plot the inequality above in a 3-D mesh plot. Plot y and z along the x-axis and y-axis respectively, and x along the z direction. (this is really weird, I know :). For y variable choose a range between 10^−6 to 10^−2, while for z variable plot between 10^−8 and 1. I will need to do a loglog plot for sure.
I have been trying to use the meshgrid commands such as:
y = linspace(.000001,.01); z = linspace(.00000001,1); [z,y] = meshgrid(z,y); y = (10.^(-10).*x.^(2).*exp((x.^2).^(-1)/4).*y.^(-1)/2).^(1/4); mesh(x,y,z);
but I know this is wrong this is just what I've been playing around with. Any help or advice on the coding would be much appreciated.
2 件のコメント
Sean de Wolski
2011 年 6 月 28 日
What is x in the above expression? You don't seem to be far off!
William Duhe
2011 年 6 月 28 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!