回答済み How to use bar() to plot
I suspect the arguments to your plot() functions are reversed, When you type plot(a,b), Matlab puts 'a' on the x-axis ahd 'b' o...
5年以上 前 | 0
| 採用済み
回答済み Matlab question, very stuck
Your program seems to be a little uncertain about whether v is a number or a vector, and it also doesn't assign the values corre...
回答済み 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年以上 前 | 1
回答済み 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...