This website works better with JavaScript.
Explore
About
FAQ
Donate
Help
Register
Sign In
mwspratling
/
LearnReciprocalWeights
Watch
1
Star
0
Fork
You've already forked LearnReciprocalWeights
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
main
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'main'
${ noResults }
LearnReciprocalWeights
/
heaviside.m
8 lines
72 B
Matlab
Raw
Permalink
Blame
History
function
xt
=
heaviside
(
x
)
xt
=
x
;
xt
(
x
==
0
)
=
0.5
;
xt
(
x
<
0
)
=
0
;
xt
(
x
>
0
)
=
1
;
Reference in New Issue
View Git Blame
Copy Permalink