Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
L Membership function
Shailrshah
Feb 5th, 2016
93
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
⭐ [NOOB] Make $800-$2400 DAY⭐ 4D
JavaScript | 41 sec ago | 0.30 KB
⭐ FREE giftcards method
JavaScript | 50 sec ago | 0.05 KB
⭐ [NOOB] Make $800-$2400 DAY⭐ DP
JavaScript | 54 sec ago | 0.30 KB
⭐️ EASY to Make $800 in 10 Minutes 3H
JavaScript | 2 min ago | 0.30 KB
⭐ GET 5OO$ GIFT CARD PN
JavaScript | 2 min ago | 0.30 KB
⭐ giftcards for free
JavaScript | 3 min ago | 0.05 KB
⭐ GET 5OO$ GIFT CARD 8H
JavaScript | 3 min ago | 0.30 KB
⭐ [NOOB] Make $800-$2400 DAY⭐ DP
JavaScript | 3 min ago | 0.30 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!