Estadística
2 Preguntas
0 Respuestas
CLASIFICACIÓN
170.667
of 302.038
REPUTACIÓN
0
CONTRIBUCIONES
2 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.510
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 178.349
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
for loop does not iterate and store data
Please, how do I fix a for loop to store some counters obtained from a while loop. close all;clear;clc; NumberofSimulation = 1...
más de 7 años hace | 2 respuestas | 0
2
respuestasPregunta
Every iteration gives me a column vector of non zero elements. How do I store them, all the columns, in either a single vector or an array? Attached is my sample code.
close all; clear; clc; STORE = nan(30,2); for k = 1:2 rows = 4; columns = 3; x = randi([0 3],rows,columns); ...
casi 8 años hace | 1 respuesta | 0

