i get the message - The value of the "OutputData" property must be a double matrix or a cell array of such matrices. How can i fix this issue?
조회 수: 16 (최근 30일)
이전 댓글 표시
Am conducting system identification in Matlab model i have of a PV UPQC and trying to identify the output of the DC capacitor voltage
댓글 수: 0
답변 (1개)
Shantanu
2025년 9월 10일
Hi Alan,
You can use curly brace {} indexing to extract the raw data. This pulls the numerical values directly into a matrix. Here is an example snippet explaining the same
% Let's assume your data is in a table 'T'.
% Columns 2 and 3 are inputs, and columns 4 and 5 are outputs.
Ts = 0.01; % Your sampling time
% Directly create the iddata object using curly brace indexing
dataSet = iddata( T{:, 4:5}, T{:, 2:3}, Ts );
For more information on indexing in MATLAB check
You can refer to the following
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Represent Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!