I have this propostion:

clear all, clc

X=[0 1], Y=[0 1], Z=[0 1];

A=allcomb(X, Y,Z);

for p=1:10

R=[p.*A(:,1) A(:,2) A(:,3)];

R

end

I want that results of each iteration will be stored in matrice

Skip to content# MATLAB: How to store results from loops and put them in matrice

###### Related Question

MATLABstoring in matrice

I have this propostion:

clear all, clc

X=[0 1], Y=[0 1], Z=[0 1];

A=allcomb(X, Y,Z);

for p=1:10

R=[p.*A(:,1) A(:,2) A(:,3)];

R

end

I want that results of each iteration will be stored in matrice

- How to connect the multi scatter
- Filling results from for loop into an array/matrix
- Sorting cell array by date
- How to store equation values in array or matrix
- Replace arrays of a matrix with a vector
- How to store output of a for loop in a matrix
- Need help with storing live data from sensors into array
- Adding Matrices Diagonally for FEM

## Best Answer