답변 (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 Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

질문:

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