Recent content by vikky_manit

  1. V

    MATLAB How to write this code in matlab?

    temp(i,j) is an matrix containing pixel values of an image.
  2. V

    MATLAB How to write this code in matlab?

    M0=100; var0=100; i=1:478 j=1:448 if(temp(i,j)>M) G(i,j)=M0+sqrt(double((var0*power((temp(i,j)-M),2))/V)); else G(i,j)=M0-sqrt(double((var0*power((temp(i,j)-M),2))/V)); Where temp(i,j) is an matrix. This code is not working. I am...
  3. V

    MATLAB How to write this equation within Matlab?

    How to write this code in Matlab? M0=100; var0=100; for i=1:478 for j=1:448 if(temp(i,j)>M) G(i,j)=M0+sqrt(double((var0*power((temp(i,j)-M),2))/V)); else G(i,j)=M0-sqrt(double((var0*power((temp(i,j)-M),2))/V)); Where temp(i,j) is...
Back
Top