Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function do_pagerank_shit()
- % here goes the code to do some shit
- A = make_matrix();
- do_some_shit();
- if is_matrix_binary(A)
- do_some_shit();
- else
- fprintf('Matrix is not binary');
- end
- function status = is_matrix_binary(A)
- status = any(X ~= 1 & X ~=0);
Add Comment
Please, Sign In to add comment