Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
L Membership function
Shailrshah
Feb 5th, 2016
79
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⭐ UE
JavaScript | 4 sec ago | 0.17 KB
⭐ FREE giftcards method⭐ AN
JavaScript | 5 sec ago | 0.17 KB
⭐ Binance Account hack I7
JavaScript | 18 sec ago | 0.17 KB
⭐ get any gift card for FREE⭐ VY
JavaScript | 26 sec ago | 0.17 KB
⭐ Binance Account hack NK
JavaScript | 38 sec ago | 0.17 KB
⭐️ EARN $500 INSTANTLY FW
JavaScript | 40 sec ago | 0.17 KB
⭐ get any gift card for 5M
JavaScript | 46 sec ago | 0.17 KB
⭐ FREE giftcards method⭐ AN
JavaScript | 51 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!