MATLAB Answers

how to write equation in matlab

Asked by Elysi Cochin on 24 Jan 2013

please can some help me write the equations below in matlab.... in the following link....

please do reply.....



No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 24 Jan 2013
 Accepted answer

If I read the equation correctly, then Imu and Isigma do not depend on the x and y parameters and are instead the same for all rows and columns.

Imu = mean2(f)
Isigma = std(f(:), 1);   %the biased standard deviation


Elysi Cochin on 6 Feb 2013

sir like mean2 function is there any function to calculate "variance"..... is variance and standard deviation the same??? please do reply sir.....

Walter Roberson
on 6 Feb 2013
Isigma = var(double(f(:)), 1);
Elysi Cochin on 6 Feb 2013

thank u sir...

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today