필터 지우기
필터 지우기

How to vertically concatenate a 2x1 table output in a loop, to form a 2x(i) table of outputs.

조회 수: 1 (최근 30일)
Hello all, I have a for loop that matches Unixtime data from many thousands of data points and matches it against a smaller set of Unixtimes for photos from experiments so that i can match crack length against the appropriate Force/displacement data. I am trying to extract the necessary DCBdatapoints in a table but cant vertically concatenate the outputs into a new table. I am quiet new to MATLAB, any help will be greatly appreciated.
for i=1:length(ID)
isMatch = abs(rawdatarray(:,3)- IDnanarrary(i,2)) <= 0.02;
DCBdatapoints = rawdata(isMatch,1:2)
plot (DCBdatapoints,"Displacementmm","ForceMpa","LineJoin","round","Marker","+","LineStyleMode","auto")
hold on
end
hold off
These are my outputs (Only two shown)
I can plot them no bother, i just want to extract the full set of data points in a new table.
DCBdatapoints = 1×2 table
DCBdatapoints = 2×2 table

답변 (1개)

Alan Stevens
Alan Stevens 2022년 11월 23일

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by