Re: How to define variables in the symbolic toolbox



On Mar 31, 3:58 pm, meikle <michael.boe...@xxxxxxxxx> wrote:
Hi there,

I'm curious about the possibilities of defining variables in the matlab symbolic toolbox. I would like to restrict the range of a variable to being smaller than 2, say, but so far I only know to tell matlab whether the variable is "real" or "rational" (i.e. var = sym('var','real'))... Does anybody know if and how I can do that?

Thanks,
Michael

syms a b c d ;
a='z*x+b=0';
a=sym('z*x+b=0);

.