Estadística
2 Preguntas
0 Respuestas
CLASIFICACIÓN
287.559
of 302.060
REPUTACIÓN
0
CONTRIBUCIONES
2 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.526
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 178.572
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
Function outputs NaN for a cell which is assigned a separate value?
I created the following function: function [x] = f(y) x = (y==0).*1+(y~=0).*(1./y); With the following input, it returns th...
casi 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Symbolic expression behaves differently when referenced in a for-loop
I defined a function f.m: function [x] = f(y) x = 0; for n = 1:4 x = x + y; end When I enter the command x = f((n==1...
casi 6 años hace | 1 respuesta | 0

