필터 지우기
필터 지우기

Matlab 2012a subs() BUG?

조회 수: 2 (최근 30일)
ha9981
ha9981 2013년 3월 15일
I have function that is a sum of multiple sinusoidal functions. It is x(t).
I try to first do time shift, no problem:
syms x;
syms t;
%define x, some long sinusoidal function
r1 = subs(x,t,t-1)
Everything up to here runs fine. Next I want to evaluate the shifted function.
subs(r1, t, 0)
Now after this step above the result is NaN Result should be 1, by plotting...
  댓글 수: 3
ha9981
ha9981 2013년 3월 15일
NaN shows up for r1 and r2 when evaluating at any integer value! Figure below.
Walter Roberson
Walter Roberson 2013년 3월 15일
Okay, but you have not indicated what r1 or r2 are

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Formula Manipulation and Simplification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by