Azzera filtri
Azzera filtri

e함수와 삼각함수의 곱을 그래프로 나타나려고 하는데 자꾸 오류만 뜹니다.

4 visualizzazioni (ultimi 30 giorni)
동규
동규 il 7 Apr 2024
Risposto: Angelo Yeo il 7 Apr 2024

Risposte (1)

Angelo Yeo
Angelo Yeo il 7 Apr 2024
" * " 대신에 " .* "을 수행해보세요. " * "은 행렬곱이고 " .* "은 원소별곱입니다. 자세한 사항은 아래 문서에서 확인할 수 있습니다.
t = 0:0.1:10;
y = exp(-2.5*t).*[0.1*cos(3.12*t)+ 0.721*sin(3.12*t)]; % Use ".*" instead of "*"
plot(t, y)

Categorie

Scopri di più su 그래프와 네트워크 알고리즘 in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!