필터 지우기
필터 지우기

Why the last row is wrong?

조회 수: 1 (최근 30일)
zhenyu zeng
zhenyu zeng 2019년 5월 6일
답변: zhenyu zeng 2019년 5월 6일
t=sym('t','positive')
ut=str2sym('Heaviside(t)-Heaviside(t-1)')
ht=t*exp(-t)
yt=int(subs(ut,t,tao)*subs(ht,t,t-tao),tao,0,t)
yt=collect(yt,'Heaviside(t-1)')
What can I do to correct the last row?
My product is Matlab R2018
Thanks.
  댓글 수: 1
Jan
Jan 2019년 5월 6일
If you mention, that there is an error in the last line, please post the error message. It is useful to provide as much information as possible.

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

답변 (1개)

zhenyu zeng
zhenyu zeng 2019년 5월 6일
Wrong: sym.charToFunction (line 26)
Invalid variable name.
Wrong: sym/collect (line 40)
x = sym.charToFunction(x);

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by