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


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

Isigma = var(double(f(:)), 1);

thank u sir...

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!