why do I keep getting this error message

回答(1 个)

t = 0:1/320:0.5;
x = @(t) 6*cos(4*pi*t)+2*sin(16*pi*t) -4*sin(32*pi*t);% define anonymous function
x(t)
plot(x(t))

1 个评论

You could also use syms as well to define your symbolic function

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Operators and Elementary Operations 的更多信息

评论:

2022-1-21

Community Treasure Hunt

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

Start Hunting!

Translated by