Linking Values
Linking Values
(OP)
Hello all.
Let's say I specify the value of beta to be 15 degrees
Further below, I respecify it to be 20 degrees
However, even further below, I'd like beta to be what it was specified the first time...I want to link this value to first beta that I specified. Is there a way to do this without having to input it again? Thanks!
Let's say I specify the value of beta to be 15 degrees
Further below, I respecify it to be 20 degrees
However, even further below, I'd like beta to be what it was specified the first time...I want to link this value to first beta that I specified. Is there a way to do this without having to input it again? Thanks!





RE: Linking Values
beta1=15
beta2=20
c=1
beta:=if(c=1,beta1,beta2)
.
.
.
c=2
beta:=if(c=1,beta1,beta2)
RE: Linking Values
Your thread title is a tiny step away from "Help". There a a lot of people in eng-tips.com who don't open threads without a descriptive name. You might get more traffic (and increased chance of an answer) if you red flag your post and ask management to change the title to something that is descriptive.
David
RE: Linking Values
I discriminated between then by swiching the style of one (and renamed the style to something nicer than User2) to bold.
This also allows me to use the live symbolic substitute to solve the inverse problem for my system of equations. Took me a while to realise I needed two variables, apparently named the same, but functionally different in use.
It is a good trick.
I recommend that you update your template and create useful styles in the sheet (e.g. for vectors, for matrices, for range variable (loop indexes) etc. or what ever distinctions you'd like.
Philip