Hi everyone can someone help me translate this pseudocode to python? is for a branching diagram
function R=Experimento()
yk=U();
for ex=1,200
R(ex)=yk; ykm1=FG(yk,cm,lambda);
yk = ykm1;
(Store yk, a delay z^-1)
endfor
end function
function FG(x)->y
y = exp(-(x-cm)^2/lambda)
end function

This does not look like psuedocode. It's also missing any hint of what each line does.

commented: haha if this weird, well according to it is to propose values ​​of sensitivity or bell width and of the center of mass to generate three signals +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.