Register to reply

Matlab Sysmolic maths differential equation

by SpartanG345
Tags: differential, equation, maths, matlab, sysmolic
Share this thread:
SpartanG345
#1
Mar13-12, 11:13 PM
P: 72
Hi

is it possible to represent unknown functions eg x(t) in matlab equations ?

eg have f = x''
diff(f) = x'

or have a derivative represented via differential eg dx/dt
Phys.Org News Partner Mathematics news on Phys.org
'Moral victories' might spare you from losing again
Fair cake cutting gets its own algorithm
Effort to model Facebook yields key to famous math problem (and a prize)
SpartanG345
#2
Mar24-12, 10:54 PM
P: 72
finally found it out for those who want to know

>> y = sym('y(t)')

y =

y(t)


>> f = diff(y,2) + diff(y,1) + y

f =

diff(y(t),$(t,2))+diff(y(t),t)+y(t)


>> pretty(f)

/ 2 \
|d | /d \
|--- y(t)| + |-- y(t)| + y(t)
| 2 | \dt /
\dt /
>>


Register to reply

Related Discussions
Differential equation problem with Matlab Calculus & Beyond Homework 5
Matlab problem for implicit differential equation Calculus 0
Solving a Differential Equation with Matlab - No solutions Math & Science Software 0
Differential equation MATLAB Math & Science Software 0
Differential equation MATLAB Math & Science Software 0