• Normal Gaussian model

    From Rugira Arnold@21:1/5 to All on Wed Jun 29 09:43:16 2022
    Hello Sir,

    I am trying to solve a problem with Normal Gaussina Error. I have the data in Excel file and the codes in Matlab. In the codes they said that the Normal distribution of the data is generated with error 5% added. How can I find the standard deviation for
    the error 10%, 15% and 20%?

    this the lines that I have
    clear;
    t=48;



    PV_now= xlsread( 'Data.xlsx','sheet1','C1:C49');



    N = 10000;
    std1 = 0.063; % 5%


    PVreal1=zeros(1,t);


    for n=1:N
    for j=1:t
    PVreal1(j)=PV_now(j)+normrnd(0,PV_now(j)*std1);

    end


    end



    figure
    plot(PV_now)
    hold on
    plot(PVreal1)

    and the data are as follows

    PV
    0
    0
    0
    0
    0
    2.79
    11.85
    18.75
    34.62
    41.94
    51.84
    51.84
    35.28
    53.28
    64.08
    84.96
    76.68
    62.64
    67.32
    70.35
    66.6
    107.16
    118.48
    125.36
    112.65
    114.265
    108.265
    95.26
    89.365
    78.589
    80.265
    78.65
    69.69
    62.15
    50.25
    45.26
    35.26
    18.65
    12.36
    9.6
    8.15
    3.15
    2.48
    0
    0
    0
    0
    0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)