How to save calculated values in same column but in different row?

1 vue (au cours des 30 derniers jours)
Awais Khan
Awais Khan le 8 Fév 2020
Réponse apportée : KSSV le 8 Fév 2020
Actually i want to save extracted features in one column but in different rows which is obtained obtain from different techniques. how can i save it, below is the code of it.

Réponse acceptée

KSSV
KSSV le 8 Fév 2020
You should save something like this:
N = 10 ;
A = zeros(N,1) ; % initialize the array to store required values
% loop
for i = 1:N
% do calculation get value
myval = rand ;
% save the result
A(i) = myval ;
end

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by