필터 지우기
필터 지우기

Problem with Repeating Sequence.

조회 수: 4 (최근 30일)
Franzi
Franzi 2017년 6월 25일
답변: Ankit Bhatnagar 2017년 6월 28일
I would like to simulate the time. So I use the Repeating Sequence to generate a Signal which goes from 0 to 24hrs (60*60*24) in the same time. So I entered for the time values: [0 60*60*24] and the same for the Output Values. It seems like that everything works fine, but when i am trying to Change my Simulation time in something greater that 6*10^6 the sequence changes... I will add some Pictures
I am not a professional user, I started working with Simulink and matlab few weeks ago... Can anyone help me?
<<
>>

답변 (1개)

Ankit Bhatnagar
Ankit Bhatnagar 2017년 6월 28일
Hi,
When you specify input sequence to Simulink you need to use a time vector and a data vector. So the vector only needs points where you want.
For example, The first column (0, 60*60, ..) corresponds to the times and the second column (T1, T2, ...) may correspond to the values at those times.
You can choose whether you want to interpolate between the values or hold them until the next reading. Thus, in the graph, there are no new values to plot, so its holding on to those.
See this for details on simulation time:

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by