Identifying a variable in Matlab

8 vues (au cours des 30 derniers jours)
Ayat Mohammad
Ayat Mohammad le 27 Déc 2020
%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

Réponses (1)

Walter Roberson
Walter Roberson le 27 Déc 2020
%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 = 

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by