필터 지우기
필터 지우기

Info

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

Vector length - comparison plot

조회 수: 1 (최근 30일)
Andreas Burheim Volden
Andreas Burheim Volden 2015년 3월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi!
I'm trying to compare two results in a system identification procedure. My total dataset consists of 17 495 samples. I've got both the validation data set and the simulated identified data set as iddata structures. My data set is divided in half, one for identification and one for validation, and they are 8972x1x1 and 8973x1x1 in dimensions. My simulation based on the identified model is also 17 495 samples. So far, so good. Here is the problem:
To illustrate actual model fit on the validation set(left figure), I use the corresponding half-part of the simulation result(right figure, top plot) and try to compare these(note that simulation itself is done for the whole timespan, 17495). Problem is that my x-axis for these variables don't match. Left figure have x-axis 0-8793 while the right figure have 8972-17495. They are equal in length and they represent the same actual time span but the internal x-vectors don't match. The comparison plot on the left is supposed to compare against the plot on top right plot and others whcih face the same problem.
As mentioned, both data sets are iddata. Are there any way to manipulate one of them to match the other?
Cheers!

답변 (0개)

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

Community Treasure Hunt

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

Start Hunting!

Translated by