How to Generate Standard Gaussian Random Variable in MATLAB?

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 13

  • @syafiq7446
    @syafiq7446 Рік тому

    you are really helpful, thank you

  • @KunwarArun
    @KunwarArun 3 роки тому +2

    Please make a video on Montecarlo simulation

  • @Hexx-Avalon
    @Hexx-Avalon 7 місяців тому

    Thank you sir

  • @KunwarArun
    @KunwarArun 3 роки тому +1

    Thanks.

  • @tawfiqullahayoubi8110
    @tawfiqullahayoubi8110 2 роки тому

    Dear, could help me on probability density function of stochastic equation with multiplicative noise in Matlab. I mean how to code in Matlab the probability distribution of stochastic equation with multiplicative noise.

  • @fatimaawan5061
    @fatimaawan5061 3 роки тому +1

    thank you sooo much sir

  • @manoranjansingh1365
    @manoranjansingh1365 Рік тому

    Can you provide this code for Malaga distribution?

  • @jaffarlone8378
    @jaffarlone8378 3 роки тому

    When will you upload the next video ?

    • @bitsonair4820
      @bitsonair4820  3 роки тому +1

      In the next couple of days.

    • @malikinam8224
      @malikinam8224 3 роки тому

      what if we want to plot cdf,pdf and Gaussian distribution of uniform random variables

    • @bitsonair4820
      @bitsonair4820  3 роки тому

      Hello Malik, your question is not clear to me. Uniform random variable has uniform distribution, and Gaussian/normal random variable has Gaussian distribution. Gaussian distribution of uniform random variable is not making any sense to me.

  • @furkantopbasoglu6014
    @furkantopbasoglu6014 2 роки тому +5

    N=1e6
    x=3:0.01:7;
    FONSTSIZE_LABEL=14;
    FONTSIZE_LEGEND=12;
    % Pdf dağılımı
    f=@(x) 1/sqrt(2*pi)*exp(-x.^2/2);
    %Cdf dağılımı
    F=@(x) 1- qfunc(x);
    X=randn(1,N);
    figure(1);subplot(1,2,1);
    histogram(X,200,'Normalization','pdf');
    hold on;
    %pdf grafiği
    plot(x, f(x),'r-','Linewidth',3);
    legend('simulated','Theoretical','Fontsize','Location','northeast');
    xlabel('x','FontSize',FONTSIZE_LABEL);
    ylabel('F_x(X)','FontSize',FONTSIZE_LABEL);
    title('cdf of gaussian variable');