Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
3D matrix copy
celestialgod
Jan 4th, 2016
208
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
MatLab
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
HSV
=
randn
(
10
,
10
,
3
)
;
light
=
zeros
(
size
(
HSV
)
)
;
copyIndex =
repmat
(
HSV
(
:, :,
1
)
>
0
,
1
,
1
,
size
(
HSV
,
3
)
)
;
light
(
copyIndex
)
=
HSV
(
copyIndex
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
t1
Bash | 12 min ago | 1.11 KB
matplotlib
Python | 29 min ago | 1.77 KB
Assignment
Java | 34 min ago | 7.92 KB
maximum average
C++ | 43 min ago | 1.35 KB
Grapple and Climb TRY 3 (if ts ain't eno...
Lua | 49 min ago | 13.43 KB
hardware-configuration.nix
C++ | 1 hour ago | 1.48 KB
queue
C++ | 1 hour ago | 0.91 KB
Implementacao iMendes
HTML | 1 hour ago | 3.86 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!