Iterating a Solve Block
Iterating a Solve Block
(OP)
Hi
I am trying to iterate a solution from a solve block, but nothing seems to work. My block contains a simple matrix equation yielding a solution for the vector v (of two elements only), i.e.,
Solve
(v-b)'(X'X)(v-b)=G
Find(v)
Now, v consists of v0 and v1 elements. I want to use different input values for v0 (a range of values) and obtain a range of corresponding values for v1. Possible?
I am trying to iterate a solution from a solve block, but nothing seems to work. My block contains a simple matrix equation yielding a solution for the vector v (of two elements only), i.e.,
Solve
(v-b)'(X'X)(v-b)=G
Find(v)
Now, v consists of v0 and v1 elements. I want to use different input values for v0 (a range of values) and obtain a range of corresponding values for v1. Possible?





RE: Iterating a Solve Block
RE: Iterating a Solve Block
func(v0):find(v1) and make v0 a range variable.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Iterating a Solve Block
Vo=1 v1=1 (initial guesses)
Given
(v-b)'(X'X)(v-b) = F
Find(v)
Now, b is a known vector of 2 elements, X'X is a defined square symmetric matrix, F is also known, v is the unknown vector to solve for. The solution comes out right if no iterations are made. But I want to let v0 take a range of values and calculate the range of solutions for v1. So far, I've tried different function arrangements (as the one proposed by IRstuff) but to no avail. If this can help, here is attached the equation in MC notation (by the way, I'm using MC15). I'd appreciate if anyone could solve this problem.
RE: Iterating a Solve Block
ht
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Iterating a Solve Block
RE: Iterating a Solve Block
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Iterating a Solve Block