martinmistere
Electrical
- Jun 1, 2007
- 1
Hi i want to know how i can create a non linear function in matlab.
I've seen in internet that someone use the
f=inline('x+2')
but when i've tried this metod i wasn't be able to make elementar operation on two functions.
For example if i
f=inline('x+2')
and
g=inline('x+3')
how can i make g+f?
Then i have another question always on this argument.
I've tried to memorize the non linear function in a excel file and it returns me 2 "matrix" the first one with all the linear elements and a NaN in the position of the non linear
the second matrix instead gives me the non linear.
is there another way more simply to memorize this information on matlab?
Tnx for replies
I've seen in internet that someone use the
f=inline('x+2')
but when i've tried this metod i wasn't be able to make elementar operation on two functions.
For example if i
f=inline('x+2')
and
g=inline('x+3')
how can i make g+f?
Then i have another question always on this argument.
I've tried to memorize the non linear function in a excel file and it returns me 2 "matrix" the first one with all the linear elements and a NaN in the position of the non linear
the second matrix instead gives me the non linear.
is there another way more simply to memorize this information on matlab?
Tnx for replies