Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help Page of "not" is Wrong/Incomplete, i.e. Really Poor #592

Open
rdbyk opened this issue Jun 11, 2018 · 0 comments
Open

Help Page of "not" is Wrong/Incomplete, i.e. Really Poor #592

rdbyk opened this issue Jun 11, 2018 · 0 comments

Comments

@rdbyk
Copy link
Owner

rdbyk commented Jun 11, 2018

It just says

~A gives the element-wise negation of the elements of the boolean matrix A.

But what about the following

--> ~int8(ones(2,2))
 ans  =
 -2 -2
 -2 -2

--> ~ones(2,2)
 ans  =
  F F
  F F
 
--> ~zeros(2,2)
 ans  =
  T T
  T T

--> ~(-ones(2,2))
 ans  =
  F F
  F F

IOHO, such a basic operation should have a decent help page, after all these years ... 👎 👎 👎

@rdbyk rdbyk changed the title Help Page of "not" is Wrong/Incomplete Help Page of "not" is Wrong/Incomplete, i.e. Really Poor Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant