Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
L Membership function
Shailrshah
Feb 5th, 2016
80
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
⭐️ EARN $500 INSTANTLY J6
JavaScript | 4 sec ago | 0.17 KB
⭐ FREE giftcards method 0M
JavaScript | 5 sec ago | 0.17 KB
⭐ Binance Account hack AO
JavaScript | 7 sec ago | 0.17 KB
⭐ get any gift card for FREE⭐ 9N
JavaScript | 14 sec ago | 0.17 KB
⭐ Binance Account hack OY
JavaScript | 15 sec ago | 0.17 KB
⭐ get any gift card for GD
JavaScript | 18 sec ago | 0.17 KB
⭐ FREE giftcards method 0M
JavaScript | 30 sec ago | 0.17 KB
⭐️ EARN $500 INSTANTLY 56
JavaScript | 32 sec ago | 0.17 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!