Error using zeros Size inputs must be integers.
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!