フィルターのクリア

Evaluating and plotting a kernel function

1 回表示 (過去 30 日間)
Hamza Khan
Hamza Khan 2022 年 7 月 14 日
回答済み: KSSV 2022 年 7 月 14 日
I'm trying to evalute the kernel function attached however unsure if I've input it correctly since not plot is showing.
% Evaluating kernal functions, kernal 2
n = 1:1:33600;
a = floor(n-(Fs/2));
c = (1200*pi)/Fs; % c is greek letter chi
g = pi/Fs; % g is greek symbol gamma
k2 = (sin(n*c)-10sin(9*n*c); % ./
plot(n,k2)

回答 (1 件)

KSSV
KSSV 2022 年 7 月 14 日
% Evaluating kernal functions, kernal 2
Fs = 33600 ;
n = 1:1:Fs;
a = floor(n-(Fs/2));
c = (1200*pi)/Fs; % c is greek letter chi
g = pi/Fs; % g is greek symbol gamma
k2 = sin(n*c)-10*sin(9*n*c);
plot(n,k2)

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by