How to save calculated values in same column but in different row?
조회 수: 2 (최근 30일)
이전 댓글 표시
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.

댓글 수: 0
채택된 답변
KSSV
2020년 2월 8일
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
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!