Data structure for system identification toolbox for multiple input multiple output data

조회 수: 1 (최근 30일)
Hello,
I'm trying to analyze data in the system identification toolbox.
The imput variables are time, pressure, angle and distance and the outputs are temperature values from T1 to T6, like in the attached data sheet.
I'm struggeling to get the data into the toolbox.
Can I load the whole data set into the toolbox?
This is what I tryied so far:
clc, close all, clear all
data = xlsread('MiMO.xlsx');
save MiMO.mat data;
load MiMO.mat
time=data(:,1);
pressure=data(:,2);
angle=data(:,3);
distance=data(:,4);
T1=data(:,5);
T2=data(:,6);
T3=data(:,7);
T4=data(:,8);
T5=data(:,9);
ST=1; % Sampling time in seconds
MiMO_Data=iddata(['time';'pressure';'angle','distance'],['T1','T2','T3','T4','T5'],ST);
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
MiMO_Data.ImputName={'time';'pressure';'angle','distance'};
MiMO_Data.OutputName={'T1','T2','T3','T4','T5'};
systemIdentification;
I used iddata structure to get the whole data into the system identification toolbox,
but the structure seems not right.
  댓글 수: 5
Steffen B.
Steffen B. 2025년 2월 17일
Hello Mathieu,
thanks for your support.
Now it's working just fine.
Have a nice day.

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

답변 (0개)

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by