How to save calculated values in same column but in different row?
1 次查看(过去 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270531/image.png)
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!