Skip to content

Instantly share code, notes, and snippets.

@dakk
Created October 1, 2016 10:55
Show Gist options
  • Save dakk/5364f43b753d30d6b143143ff50639ae to your computer and use it in GitHub Desktop.
Save dakk/5364f43b753d30d6b143143ff50639ae to your computer and use it in GitHub Desktop.
x = -1.01:.001:1.01;
y = 4/5*(sqrt(1-x.^2) + sqrt(abs(x)));
z = 4/5*(-sqrt(1-x.^2) + sqrt(abs(x)));
plot(x,y,'r');
plot(x,z,'r');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment