![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8814545_1522129593835_DEF.jpg)
Kapil Dhanwani
Followers: 0 Following: 0
Estadística
1 Pregunta
0 Respuestas
CLASIFICACIÓN
81.358
of 297.016
REPUTACIÓN
0
CONTRIBUCIONES
1 Pregunta
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 20.419
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 157.725
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
Write a function called digit_counter that takes the name of a text file as input and returns the number of digits (i.e., any of the characters, 0-to-9) that the file contains. If there is a problem opening the file, the function returns -1
function[c]=digit_counter(filename) fid=fopen(filename,'rt'); if fid<0 error('error opening file %s', filename); ...
más de 8 años hace | 2 respuestas | 0