what is the "count" mean?
Afficher commentaires plus anciens
hi
What do these commands do? please
what is "count"?
[v1,count]=fscanf(fid,'%f',[2,numpt]);
fclose(fid);
v1=v1';
code=v1(:,2);
code_count=zeros(1,2^numbit);
Réponses (1)
[v1,count]=fscanf(fid,'%f',[2,numpt]); % reading data from the file into 2 rows and numpt coulmns; count gives you total numbers read into v1
fclose(fid); % closing the file
v1=v1'; % transpose
code=v1(:,2); % pick second column
code_count=zeros(1,2^numbit);
Check numel(v1) and count, they should be equal.
1 commentaire
ati fayazan
le 18 Nov 2021
Catégories
En savoir plus sur Functions 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!