Initial value in a A*x=b system equation
Show older comments
I have a linear system of equation, Ax=b and one of these parameter change in each step. I used in Simulink, a Matlab function block with three inputs: one from a constant block with value set to matrix A, another from a constant block with value set to s and a third one whit variable signal y
The function inside the block was:
function y1 = fcn(y,s,A)
b=[y ; 0 ; s ; 0]
y1 = A\b;,
Now, one of the values of y1, have an initial value; how can I put the restriction to the initial value?
Answers (1)
Azzi Abdelmalek
on 15 Apr 2013
0 votes
Pass y1 through a unit delay bloc with initial value set to your initial value
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!