Error using zeros Size inputs must be integers.
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (1)
Categorías
Más información sobre Number Theory en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!