derivative in Matlab-Symbolic Toolbox
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
Hello,
How can I get such a derivative in Matlab-Symbolic Toolbox ?
Well as the derived member x '.
y = sin(x)
y´=x´*cos(x)
Thank you for any help.
댓글 수: 0
답변 (2개)
  Wayne King
    
      
 2013년 2월 18일
        
      편집: Wayne King
    
      
 2013년 2월 18일
  
       syms x
 y = sin(2*pi*x);
 diff(y)
 % returns
 % 2*pi*cos(2*pi*x)
In your example, the derivative of sin(x) with respect to x is not
x*cos(x), it's just cos(x)
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

