Error using zeros Size inputs must be integers.
이전 댓글 표시
Hi all, I have a very bizarre problem with zeros. When typing
T=0.1;
fs=1000000;
sig2=zeros(10,(T+0.02)*fs);
I get the following error:
Error using zeros
Size inputs must be integers.
However,the Ordinate values are indeed integers.
I change 0.02 to 0.03,doesn't cause any problem. WHY? How to solve this problem?
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Number Theory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!