Created
May 26, 2019 05:40
-
-
Save Jojozzc/a874235cefdc52a28765ed3c81315e52 to your computer and use it in GitHub Desktop.
move axis center
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clc, clear, close all; | |
x = -10:0.1:10; | |
y = 1 ./ (1 + exp(-x)); %sigmoid | |
plot(x, y); | |
set(gca,'XAxisLocation','origin','YAxisLocation','origin'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment