Skip to content

Instantly share code, notes, and snippets.

@BinRoot
Created December 3, 2012 18:58
Show Gist options
  • Select an option

  • Save BinRoot/4197112 to your computer and use it in GitHub Desktop.

Select an option

Save BinRoot/4197112 to your computer and use it in GitHub Desktop.
Transpose all the things!
for k=1:size(cmat,2),
cmat(:,k)=toggleToZero(cmat(:,k)', 0.2)';
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment