Identifying a variable in Matlab

8 ビュー (過去 30 日間)
Ayat Mohammad
Ayat Mohammad 2020 年 12 月 27 日
回答済み: Walter Roberson 2020 年 12 月 27 日
%characteristic function; w=2*pi/t j=sqrt(-1) syms x Phaiz=int(exp(j*w*x)*y, a, b)
How do I identify t as time, and can some one correct the code please

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 12 月 27 日
%characteristic function;
syms t
w = 2*pi/t;
j = sqrt(-1);
syms a b x y
assume(a>=0 & b>=a)
Phaiz = int(exp(j*w*x)*y, t, a, b)
Phaiz = 

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by