3D Plot in probability

12 次查看(过去 30 天)
Rithwik Goud Salloori
I'm working on a probability and reliability function using HL RF method (Hasofer-Lind and Rackwitz-Fiessler) where I've to plot a 3D graph with a Gu function, any 2 variables and the sigma values. How can i plot it?
  4 个评论
darova
darova 2020-4-20
DO you have any attempts? The code?
Rithwik Goud Salloori
So, I've tried the code on Monte Carlo Simulation, you can see the code at the end.

请先登录,再进行评论。

回答(1 个)

Aditya Mittal
Aditya Mittal 2020-4-22
Hi,
You can easily create 3-D plots using different 3-D plot functions available in MATLAB. You can consider the link below.
You can use meshgridfunction of MATLAB to create matrices for your variables. Further, create the equation for Gu function and then plot the graph.
Pseudo code-
[var1, var2] = meshgrid(v1, v2);
% use var1 , var2 instead of v1, v2 for the calculation of the function.
Gu = (0.15384*(p*l^3))/(e*b*t^3);
Surf(v1, v2 , Gu);

类别

Help CenterFile Exchange 中查找有关 Discrete Data Plots 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by