Member • Oct 23, 2013

## Matlab: How to find answers repeatedly by inserting values?

"syms a b c;

a=b+c;

b=3; c=1;"

The above is the program. Now when I do b+c, I get answer as 4. But when I want to find the value of a,

the system says a=b+c.

It should say a=4. But it does not.

Another doubt is that, if I keep on changing values of b and c, can I get different values of a?

@#-Link-Snipped-# can you help me?