Community Profile

photo

Faisal Alrafaei


Last seen: mehr als 2 Jahre vor Aktiv seit 2021

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


when I run this code it gives me an error message but I can not figure out what is the problem?
clc clear all % Record your voice for 5 seconds. radiorec = audiorecorder; disp('Start speaking.') recordblocking(radiorec,...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I plot the magnitude spectrum for these three filters?
%Low-pass Filter B_lp = designfilt('lowpassfir', 'FilterOrder', 64, 'CutoffFrequency', 3e3, 'SampleRate', fs); [b, a] = tf(B_l...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I get the transfer function for the three filters in this code? and how to plot the magnitude spectrum for the filters transfer function?
%Part 1 - (a, b, c) [x, fs] = audioread('audio.wav') x = x(:, 1); n = length(x) t = (0:n-1)/fs n/fs %Figure 1 - Time domai...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to edit this code to plot a time domain graph for the LPF, HPF, BPF filtered audio signal, how can I do it?
%Part 1 - (a, b, c) [x, fs] = audioread('audio.wav') x = x(:, 1); n = length(x) t = (0:n-1)/fs n/fs %Figure 1 - Time domai...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


i have a code for a .wav file which then outputs 3 graphs, but now i want to edit the code and apply three filters (LPF,HPF,BPF) how can i do that and also output the TF?
TF is the transfer function LPF is low pass filter HPF is high pass filter BPF is band pass filter this my code now: [x, ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


i am trying to write a MATLAB code to process two different .wav files the first one include a recording for the word “audio” in an approximately 5 seconds length .wav file?
recObj = audiorecorder; disp('Start speaking.') recordblocking(recObj, 5); disp('End of Recording.'); y = getaudiodata(recOb...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort