Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
L Membership function
Shailrshah
Feb 5th, 2016
140
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
Untitled
C++ | 12 min ago | 3.12 KB
PZ-B41-ModsAutomaticInstaller
PowerShell | 1 hour ago | 6.64 KB
JAVA Q
Java | 1 hour ago | 1.08 KB
TEST E22
Lua | 1 hour ago | 1.13 KB
2D StickPool Game C++ D2D VectorGFX (O3 AI...
C++ | 1 hour ago | 213.36 KB
wcfm_country_shipping_only_local_pickup
PHP | 2 hours ago | 0.82 KB
thumbnail-prioritize display none
CSS | 2 hours ago | 0.07 KB
SQL_EXAM
MySQL | 2 hours ago | 3.45 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!