필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i have dbhole.mat file. This contains 1x1 with 334 fields having name starts with 'd' then 'numeric' then 'h'then 'numeric. each field contains data of [2x n], n is not same for all. i have to sort out d followed by different numeric and h2 fixed.

조회 수: 1 (최근 30일)
s = load('dbhole.mat'); selectedvariables = sprintfc('d%dh2', 1:14); [~, location] = ismember(selectedvariables, fieldnames(s)); c = struct2cell(s); c = c(location); now i have to merge all the datas into a single cell.example- From above code c contains [2x189], [2x201] and so on (in column), but i want the data contain in [2X201]cell and rest should be merge in [2x189] cell. how to do this, please help.

답변 (0개)

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by