×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Matlab Symbolic tool: Integration

Matlab Symbolic tool: Integration

Matlab Symbolic tool: Integration

(OP)
hi guys,

I'm trying to calculate a complex integral of a function V(x,y,z) but the integral is wrt time. The symbolic variables x, y and z are also time dependent. I started with a simple case to try to learn how to do it. Let's say V = sin(x) and I want to calculate the integral wrt time. Do I need to create another symbolic variable Xdot that symbolize dx/dt or something like this. If so How would I do that.
Any wisdom out there to help me out, please!!

Munir

RE: Matlab Symbolic tool: Integration

What extra symbol? 'diff' works fine....
And yes, I also suggest you read the help files.

reading
 

Fe

RE: Matlab Symbolic tool: Integration

» syms v x b t
» x=exp(-b*t)
 
x = exp(-b*t)
 
» v=sin(x)
 
v = sin(exp(-b*t))
 
» int(v,t)
 
ans = -sinint(exp(-b*t))/b

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Matlab Symbolic tool: Integration

Whoops.  What the heck is sinint? Should've been cos.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Matlab Symbolic tool: Integration

I see sinint was defined in the help. Maybe the answer is correct.  

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Matlab Symbolic tool: Integration

At first glance it looked like an easy integral.  It would be easy to find derivative of v(x(t)) with chain rule, but not so easy to find the integral.  Matlab is probably right.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close