필터 지우기
필터 지우기

Program sum in matlab

조회 수: 2 (최근 30일)
Mohamed Musni
Mohamed Musni 2018년 1월 22일
댓글: Mohamed Musni 2018년 1월 22일
Any help for write this program will be great. Thank
you

채택된 답변

Birdman
Birdman 2018년 1월 22일
Here is a starting point for you. Use symsum function from Symbolic Toolbox. See the example:
m=5;
P=sym('P',[1 m]);
t=sym('t',[1 m]);
q=sym('q',[1 m]);
syms k h
fun=sum(symsum((P+(t.*q/2).*h)./(t),k,1,m))
The rest is yours to do.
  댓글 수: 3
Birdman
Birdman 2018년 1월 22일
You are welcome. If it is helpful, can you accept it?
Mohamed Musni
Mohamed Musni 2018년 1월 22일
sure. it helped me. again thank you for your valuable time :D

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by