error using zeros in matlab
显示 更早的评论
er = zeros(1, .125*N); % eigth rest
qr = zeros(1, .25*N); % quarter rest
hr = zeros(1, .5*N); % half rest
tr = zeros(1, .75*N); % three-quarter rest
wr = zeros(1, N); % whole rest
I get the error Error using zeros Size inputs must be integers.
Error in pleasework (line 49) er = zeros(1, .125*N); % eigth rest
>>
4 个评论
Esha Bhargava
2015-11-20
When using zeros, the size should be an integer value. Please refer to the link below for more information.
Stephen23
2015-11-20
@Esha Bhargava: you could put this as an answer, and I would vote for it.
Akhil Sen Roy
2017-10-4
编辑:Akhil Sen Roy
2017-10-4
so whats the final answer ?? did you manage to solve it ?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!