Skip to content

Instantly share code, notes, and snippets.

@ashrewdmint
Created February 5, 2014 07:14
Show Gist options
  • Save ashrewdmint/8818690 to your computer and use it in GitHub Desktop.
Save ashrewdmint/8818690 to your computer and use it in GitHub Desktop.
>> [0.1178 0.2012 0.3277 0.0] ./ [0.2366 0.2012 0.1641 0.0]
ans =
0.4979 1.0000 1.9970 NaN
>> p1
p1 =
0.1178 0.2012 0.3277 0.0000
>> p2
p2 =
0.2366 0.2012 0.1641 0.0000
>> p1 ./ p2
ans =
0.4978 0.9998 1.9973 0.5011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment