Concatinate 4D Time-Signals

3 Ansichten (letzte 30 Tage)
ARN
ARN am 12 Dez. 2019
Beantwortet: Bartlomiej Mroczek am 26 Mär. 2023
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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Bartlomiej Mroczek
Bartlomiej Mroczek am 26 Mär. 2023
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?

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by