why do I keep getting this error message

Antworten (1)

VBBV
VBBV am 21 Jan. 2022

0 Stimmen

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 Kommentar

VBBV
VBBV am 21 Jan. 2022
You could also use syms as well to define your symbolic function

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Operators and Elementary Operations finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Jan. 2022

Kommentiert:

am 21 Jan. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by