Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
MatLab
lalkaed
Apr 18th, 2018
101
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
MatLab
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
x =
[
1
2
3
4
5
6
7
8
9
10
]
;
x1 = x;
n =
4
;
k =
length
(
x
)
;
for
i
=
1
:k
for
j
=
1
:n-
1
x
(
i
)
= x
(
i
)
*x1
(
i
)
;
end
end
S =
sum
(
x
)
;
fprintf
(
'Sum = %d\n'
, S
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Changelly.com Exploit
CSS | 8 min ago | 0.99 KB
Reproducible rate discrepancy
CSS | 18 min ago | 0.99 KB
I got $12,000 from this bug
CSS | 28 min ago | 0.99 KB
This month smells like money
CSS | 38 min ago | 0.99 KB
NWZ – einspaltig: rechte Spalte weg, volle Br...
3 hours ago | 2.56 KB
NWZonline – Volltext im Original-Style
5 hours ago | 8.55 KB
Bought a $40 MacBook Air
1 day ago | 0.55 KB
My Amazon Shoppe
1 day ago | 0.40 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!