Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
L Membership function
Shailrshah
Feb 5th, 2016
136
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
MatLab
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
alpha=
30
;
beta
=
50
;
for
i
=
1
:
10
x
(
i
)
=
i
*
5
if
x
(
i
)
<=alpha
y
(
i
)
=
1
;
elseif
x
(
i
)
<=
beta
y
(
i
)
=
(
beta-x
(
i
)
)
/
(
beta-alpha
)
;
else
y
(
i
)
=
0
end
end
plot
(
x,y
)
x
y
Add Comment
Please,
Sign In
to add comment
Public Pastes
Make 3500$ in 20 MIN [Method] X
JavaScript | 1 sec ago | 0.21 KB
Make 3500$ in 20 MIN [Method] R
JavaScript | 24 sec ago | 0.21 KB
Method Leaked? 1Y
JavaScript | 31 sec ago | 0.15 KB
Make 3500$ in 20 MIN [Method] N
JavaScript | 59 sec ago | 0.21 KB
FREE BTC GUIDE Z
JavaScript | 1 min ago | 0.21 KB
Make $2200 in 15 minutes 4
JavaScript | 1 min ago | 0.21 KB
FREE BTC GUIDE B
JavaScript | 2 min ago | 0.21 KB
Make $2200 in 15 minutes 9
JavaScript | 2 min ago | 0.21 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!