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!