why do I keep getting this error message

1 vue (au cours des 30 derniers jours)
Faith Maera
Faith Maera le 21 Jan 2022
Commenté : VBBV le 21 Jan 2022

Réponses (1)

VBBV
VBBV le 21 Jan 2022
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 commentaire
VBBV
VBBV le 21 Jan 2022
You could also use syms as well to define your symbolic function

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by