Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Scilab, tridiag function
SilLAwNeD
Nov 15th, 2018
2,016
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Scilab
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
[
x
,
k
]
=
tridiag
(
n
)
v1
=
ones
(
n
-
1
,
1
)
;
v2
=
3
*
ones
(
n
,
1
)
;
A
=
diag
(
v1
,-
1
)
+
diag
(
v2
,
0
)
+
diag
(
v1
,
1
)
;
b
=
ones
(
n
,
1
)
;
[
x
,
k
]
=
gausseidel
(
A
,
b
,
1e
-
12
,
10
,
ones
(
n
,
1
)
)
;
endfunction
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Crypto admin access
13 min ago | 0.43 KB
Documents
13 min ago | 0.43 KB
+12,000$ in 2 days
CSS | 13 min ago | 0.72 KB
Free Crypto Method
CSS | 13 min ago | 0.72 KB
Free $$$ Mehtod
CSS | 29 min ago | 0.71 KB
2 Day in +12.000$
CSS | 29 min ago | 0.71 KB
Crypto admin access
30 min ago | 0.43 KB
Documents
30 min ago | 0.43 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!