Skip to content

Instantly share code, notes, and snippets.

@ecomaikgolf
Created April 1, 2019 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecomaikgolf/21be88af391508c94dd8620296007aa5 to your computer and use it in GitHub Desktop.
Save ecomaikgolf/21be88af391508c94dd8620296007aa5 to your computer and use it in GitHub Desktop.
Edu me has ofendido
>> syms x
>> f = x^2
f =
x^2
>> int(f,0,2)
ans =
8/3
>> whos ans
Name Size Bytes Class Attributes
ans 1x1 8 sym
>> a = double(ans)
a =
2.6667
>> whos a
Name Size Bytes Class Attributes
a 1x1 8 double
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment