Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 18th February 2004, 12:31 PM   (permalink)
New Member
scout_54 is on a distinguished road
Default Help

Hi guys, I got errors at this point of running the codes. Can anyone help?
M=3
Y=[126;126;126;127;128;133;126;126;126;126;126;126;12 6;126;126;125;124;124;130;130]


function [h, mu, sigmas, P] = em(M, Y);

[T,D] = size(Y); % T=20, D=1
Tmu=1.0e-03; % Tmu=0.0010
h = ones(T,M)/M;
P = ones(M,1)/M;

for j=1:M,
k = round(rand(1)*T);
mu(j,1) = Y(k,1);
sigmas(j,1) = ones(1,D);
end
scout_54 is offline   Reply With Quote
Old 18th February 2004, 05:14 PM   (permalink)
Super Moderator
 
kinjalgp is on a distinguished road
Default

Which language is that. Doesn't seem to be like C or BASIC.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 10:05 PM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.