Clarifications on using dsolve
조회 수: 4 (최근 30일)
이전 댓글 표시

In this we see that the answer contains a constant namely C22. If I want to extract just the function part ie 'sin(x)' without adding any condition how do I do that ?? Please help.
댓글 수: 0
채택된 답변
Mischa Kim
2015년 3월 5일
편집: Mischa Kim
2015년 3월 5일
Hirak, one simple way would be to add another initial condition (first derivative)
f = dsolve('D2y + y = 0','Dy(0) = 1','y(0) = 0',x)
f =
sin(x)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!