Answered Plotting square wave in matlab
Yes, the function square(x) returns a unique value, either +1 or -1, for each vallue of x. There is no value of x for which it ...
5 years ago | 1
Answered How to do integral for data
I have two comments:
A more correct statement about the integral is that the integral of sin(x) is equal to C-cos(x), where C i...
Optimum Egyptian Fractions
Following problem was inspired by <http://www.mathworks.com/matlabcentral/cody/problems/2126-split-bread-like-the-pharaohs-egypt...
Answered How to remove numbers from a vector?
You could use something like:
while z_force(1)==0
z_force(1) = [];
end
while z_force(end)==0
z_force(end) = [];
en...