Feeds
提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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); ...
8 years 前 | 1 个回答 | 0

