% a MATLAB function function x = some_func() fs = 1000; d = 1; t = 0:1 / fs:d; x = sin(t); ex = 0.1 * randn(size(x)) + x; end
class Point(object):""""""def __init__(self, x, y):"""__init__Arguments:- `x`:- `y`:"""self._x = xself._y = y@propertydef x(self):return self._x@x.setterdef x(self, value):self._x = value@x.deleterdef x(self):del self._x
No comments:
Post a Comment