Skip to content

Instantly share code, notes, and snippets.

@michaelsilverstein
Created October 1, 2017 01:05
Show Gist options
  • Save michaelsilverstein/e1f9365f0a7b78e79fa027ab78d082e4 to your computer and use it in GitHub Desktop.
Save michaelsilverstein/e1f9365f0a7b78e79fa027ab78d082e4 to your computer and use it in GitHub Desktop.
b =
1.0e+03 *
5.6000 2.5200 2.2400 1.9600 1.6800 1.4000 1.1200
2.8000 0 0 0 0 0 0
2.8000 0 0 0 0 0 0
2.8000 0 0 0 0 0 0
2.8000 0 0 0 0 0 0
2.8000 0 0 0 0 0 0
2.8000 0 0 0 0 0 0
%To make vector (n=7)
b = reshape(b',n,n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment