A problem of a Matlab programme

  • Context: MATLAB 
  • Thread starter Thread starter neptunecs
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary

Discussion Overview

The discussion revolves around a problem related to calculating the derivative of an expression in Matlab, specifically when the expression includes abstract functions. Participants explore the capabilities of Matlab and the Symbolic Math Toolbox in addressing this issue.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes a need to calculate the derivative of the expression f=R(t)*cos(t) in Matlab, expressing uncertainty about handling the abstract function R(t).
  • Another participant notes that Matlab requires the Symbolic Math Toolbox for symbolic calculations and questions whether the original poster has it installed.
  • A later reply confirms that the original poster has the Symbolic Math Toolbox installed and expresses intent to try it out.
  • However, another participant expresses doubt about both the installation of the Symbolic Math Toolbox and its ability to solve the problem at hand.

Areas of Agreement / Disagreement

There is no consensus on the effectiveness of the Symbolic Math Toolbox for solving the original problem, with some participants expressing doubt about its capabilities.

Contextual Notes

The discussion highlights uncertainty regarding the installation status of the Symbolic Math Toolbox and its potential limitations in addressing the specific derivative calculation involving abstract functions.

neptunecs
Messages
14
Reaction score
0
Hi,I have a problem in Matlab programme,I want to calculate the derivative of a expression by matlab,but there are some abstract functions in that expression.
for example:f=R(t)*cos(t),I want calculate d=diff(f,t),but I don't know how to deal with the abstract function R(t),I hope I can get this kind of result:d=dRt*cos(t)-R*sin(t),but how should I design the programme?
thank you for your help.
neptunecs.
 
Last edited:
Physics news on Phys.org
Matlab does not do symbolic calculations, without the Symbolic Math Toolbox installed. Do you have that?

- Warren
 
chroot said:
Matlab does not do symbolic calculations, without the Symbolic Math Toolbox installed. Do you have that?

- Warren
Thank you.
I find that I have the Symbolic Math Toolbox installed,I will have a try soon.
 
I doubt that the Symbolic Math Toolbox is installed,and I doubt that Toolbox can solve my problem
 

Attachments

  • 2.JPG
    2.JPG
    13.1 KB · Views: 683

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K