3D Plot in probability

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 Comments

darova
darova on 20 Apr 2020
Do you have formulas or equations?
Rithwik Goud Salloori
Rithwik Goud Salloori on 20 Apr 2020
Edited: Rithwik Goud Salloori on 20 Apr 2020
Yes. my Gu function is (0.15384*(p*l^3))/(e*b*t^3). So, I've to consider any 2 varibles with the highest sensitivity to form their pdf functions with limits upto 4 or 5 sigma and plot a figure with respect to my Gu function. And the variables have different type of distributions. i.e p=normal, l=uniform, e=lognormal,b,t=beta.
darova
darova on 20 Apr 2020
DO you have any attempts? The code?
So, I've tried the code on Monte Carlo Simulation, you can see the code at the end.

Sign in to comment.

Answers (1)

Aditya Mittal
Aditya Mittal on 22 Apr 2020

0 votes

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);

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Asked:

on 19 Apr 2020

Answered:

on 22 Apr 2020

Community Treasure Hunt

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

Start Hunting!