how to save the output of For loop in a matrix form!
조회 수: 1 (최근 30일)
이전 댓글 표시
hello I have a sample size of 191X6. I wrote a for loop for the sample as "s = sample(:,1:6)", applied few functions in the loop like
anom = abs(s - mean(s));
[~,idx] = max(anom);
lambdaHa = lambda(idx);
z = lambdaHa/656.28 - 1;
speed = z*300000;
I want to save the output of each iteration of the loop and save the value of the speed, which should be 6X1 matrix. thanks in advance.
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!