Skip to content

Instantly share code, notes, and snippets.

View echo66's full-sized avatar

echo66 echo66

  • Lisbon, Portugal
View GitHub Profile
x = -10:0.01:10;
function y = logistic(z)
y = 1 ./ (1 + e.^(-z));
end
function y = logistic_derivative(z)
y = logistic(z) .* (1 - logistic(z));
end