Identifying a variable in Matlab
Show older comments
%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
Answers (1)
%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)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!