diff --git a/algorithms/machine_learning/Activation Functions/ReLU.m b/algorithms/machine_learning/Activation Functions/ReLU.m new file mode 100644 index 0000000..b1e034e --- /dev/null +++ b/algorithms/machine_learning/Activation Functions/ReLU.m @@ -0,0 +1,11 @@ + +%ReLU function + +x = -10:0.01:10; +y = x; +y(x<0) = 0; +plot(x,y); +xlabel('x'); +ylabel('y'); +grid on +