Hi there, I have some simulink problem. Lets say I have a transfer function like this:
az^-1 + bz^-2 +cz^-3
The initial value of a,b,c are 0.1 0.2 0.3. I would like to change the value to 0.4 0.1 -0.5 at the nth iteration step. How to do I do it? How to I code the simulation time in simulink so that I can write "if the time > 70, a = 0.4, b =0.1, c= -0.5? Thanks.
|

Simulink Problem
Started by hoyoku, Oct 23 2008 08:01 AM
2 replies to this topic
Share this topic:
#1
Posted 23 October 2008 - 08:01 AM
#2
Posted 23 October 2008 - 08:40 AM
You need a Clock block to provide the time.
See http://www.caspur.it...lref/slref.html
or http://www.mathworks...olbox/simulink/
See http://www.caspur.it...lref/slref.html
or http://www.mathworks...olbox/simulink/
#3
Posted 23 October 2008 - 10:14 AM
But how do I quote the outputs of the clock so that I can write the following:
If clocktime < 70
a = ..
b = ..
c = ..
.
.
.
.
j = ..
else
a = ..
b = ..
c = ..
.
.
.
.
j = ..
end
Thanks
If clocktime < 70
a = ..
b = ..
c = ..
.
.
.
.
j = ..
else
a = ..
b = ..
c = ..
.
.
.
.
j = ..
end
Thanks
QUOTE (joerd @ Oct 23 2008, 09:40 PM) <{POST_SNAPBACK}>
You need a Clock block to provide the time.
See http://www.caspur.it...lref/slref.html
or http://www.mathworks...olbox/simulink/
See http://www.caspur.it...lref/slref.html
or http://www.mathworks...olbox/simulink/
Similar Topics
![]() Material Balance ProblemStarted by Guest_vinnay1999_* , 18 Oct 2024 |
|
![]() |
||
Problem With Writing Offshore Plant Design BasisStarted by Guest_Doneisbetterthenperfect_* , 01 Dec 2023 |
|
![]() |
||
Problem With Writing Offshore Plant Design PfdStarted by Guest_Doneisbetterthenperfect_* , 06 Dec 2023 |
|
![]() |
||
Crude Oil Stripping (H2S Conc. Specified In Gas Phase Problem)Started by Guest_nabeelsp1036_* , 16 Jun 2023 |
|
![]() |
||
Aspen Hysys Rankine Cycle ProblemStarted by Guest_ELLEPI_* , 17 Apr 2023 |
|
![]() |