why do I keep getting this error message

回答 (1 件)

VBBV
VBBV 2022 年 1 月 21 日

0 投票

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 件のコメント

VBBV
VBBV 2022 年 1 月 21 日
You could also use syms as well to define your symbolic function

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeOperators and Elementary Operations についてさらに検索

質問済み:

2022 年 1 月 21 日

コメント済み:

2022 年 1 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by