From: trung trinh on 13 Apr 2010 09:49 i try to test dsolve command. >> syms t >> f = t; >>x = dsolve('D2x= -x+f') but i want f in dsolve is function of variable t. how to do with manner use syms command
From: Wayne King on 13 Apr 2010 10:06 "trung trinh" <trungkstn(a)gmail.com> wrote in message <hq1sok$gsq$1(a)fred.mathworks.com>... > i try to test dsolve command. > >> syms t > >> f = t; > >>x = dsolve('D2x= -x+f') > but i want f in dsolve is function of variable t. how to do with manner use syms command Hi, I'm not sure exactly what you are asking since f=t do you just mean? syms t f = t; x = dsolve('D2x= -x+f','f'); Wayne
From: trung trinh on 13 Apr 2010 10:38 No, x and f is function of t
|
Pages: 1 Prev: 'bwareaopen' Next: transfering variables main program (laptop) to function.m (cluster) |