storing test file here

just storing a file here

댓글 수: 4

KSSV
KSSV 2022년 2월 25일
What is your question?
Allen Borrow
Allen Borrow 2022년 2월 25일
data data dat a data
Allen Borrow
Allen Borrow 2022년 2월 25일
data data data data
Jan
Jan 2022년 2월 25일
@Allen Borrow: Please stop this immediately.
If all members use the forum to store anything, you will find only junk here soon.

답변 (1개)

Arif Hoq
Arif Hoq 2022년 2월 25일

0 개 추천

if you are following this question you can try this code
A=readtable('Bookk.xlsx', 'ReadVariableNames', false);
B=table2cell(A)
% names = split(B,'delimiter',':')
r = strtok(B, ':')
R=[r B];
N=size(A,1);
C=cell(N,1);
for i=1:N
if isequal(R(i,1),{'1 x'})
C{i}=[R(i,2);R(i+1,2);R(i+2,2)];
if i==18
break
end
end
end
matrix=[C{:}]' % if you want with x, y , z value
[token remain]=strtok(matrix,':')
output=strrep(remain,': ','') % if you want without x, y , z value

댓글 수: 1

if you want to visibility also just concatenate here
C{i}=[R(i,2);R(i+1,2);R(i+2,2);R(i+3,2)];

이 질문은 마감되었습니다.

태그

질문:

2022년 2월 25일

마감:

Jan
2022년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by