Concatinate 4D Time-Signals

조회 수: 2 (최근 30일)
ARN
ARN 2019년 12월 12일
답변: Bartlomiej Mroczek 2023년 3월 26일
Hi,
How can i concatinate 20 , 4D signals
I1 = rand(32,32,1,13) ;
I2 = rand(40,32,1,13) ;
...
I20 = rand(47,32,1,13) ;
Catq1=cat(4,I1,I2);
The above give me error? What can i do?

채택된 답변

Ridwan Alam
Ridwan Alam 2019년 12월 12일
편집: Ridwan Alam 2019년 12월 12일
You want to concatenate on the dim which is not same for both, right?
Catq1 = cat(1,I1,I2);
% OR
Catq1 = [I1;I2];
  댓글 수: 4
ARN
ARN 2019년 12월 13일
No, reshape is not there.. i wrote it wrong. Thanks for the reply
Ridwan Alam
Ridwan Alam 2019년 12월 13일
Sure. Glad to help!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Bartlomiej Mroczek
Bartlomiej Mroczek 2023년 3월 26일
And how to provide the CNN: predict DL block to the ready machine.
1. I have data built in 4D format, my CNN machine only use this format for learning and prediction in matlab.
2. I have built a model in SIMULINK but there is a problem with entering data to the Predict block, error message:
Available formats are double non-complex matrix, a structure with or without time, or a structure with MATLAB timeseries as leaf nodes. All formats require the data to be finite (not Inf or NaN).
How to solve it?

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by