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
Error using zeros
Size inputs must be integers.
Error in pleasework (line 49)
er = zeros(1, .125*N); % eigth rest
>>
답변 (1개)
Image Analyst
2015년 12월 11일
0 개 추천
.125*N is not an exact integer. Try round(0.125 * N) instead.
카테고리
도움말 센터 및 File Exchange에서 Numeric Solvers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!