# Find the bandwidth of a signal

12 vues (au cours des 30 derniers jours)
Tu Nguyen le 4 Mar 2022
Réponse apportée : Tushar le 29 Sep 2023
How can I find the bandwidth of the signal in the attached picture?
##### 1 commentaireAfficher -1 commentaires plus anciensMasquer -1 commentaires plus anciens
KSSV le 4 Mar 2022
HAve you tried powerbw ?

Connectez-vous pour commenter.

### Réponses (1)

Tushar le 29 Sep 2023
Hi,
I understand that you want to find the bandwidth of the signal attached above.
To find the bandwidth of a signal in MATLAB, the 'powerbw' function can be used. 'powerbw(x)' returns the 3-dB (half-power) bandwidth 'bw' of the input signal 'x'. Here is an example:
% Generate a test signal
Fs = 1000; % Sample rate
t = 0:1/Fs:1; % Time vector
f = 10; % Signal frequency
x = sin(2*pi*f*t); % Sinusoidal signal
% Calculate the bandwidth using powerbw
bw = powerbw(x, Fs);
% Display the results
disp(['Bandwidth: ', num2str(bw), ' Hz']);
Bandwidth: 0.15027 Hz
Hope this helps!
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Spectral Measurements dans Help Center et File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by