Error using zeros Size inputs must be integers.
Show older comments
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?
Accepted Answer
More Answers (1)
Categories
Find more on Number Theory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!