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!