photo

Roberto Santana


Last seen: etwa 2 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How can I create a 3kHz brickwall filter to filter "movieaudio.wav" (human voice audio) that has a corrupting 8kHz tone. Comments on the code explain what I am trying to do.
clear all; %Read in the wav file and the sample rate [x, Fs] = audioread('movieaudio.wav'); %Display the sample rate on t...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How could I do a summation of (y) so I can create a signal that goes from 0 to 30 sec repeating (y) every 3 seconds in a graph.
A = 1.15; t = linspace(-2, 1, 1000); a = exp(-0.5*t); y = A*a.*(sin(2*pi*3*t)) .* (ustep(t+2)-ustep(t)); figure plot(t, y, ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How could I find the power of the periodic signal on my code assuming it is either a voltage or a current waveform with a normalized load resistance of 1 Ohm and plot it.
A = 1.15; t = linspace(-2, 1, 1000); a = exp(-0.5*t); y = A*a.*(sin(2*pi*3*t)) .* (ustep(t+2)-ustep(t)); figure plot(t,...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I have created a code to graph a function, but I want to repeat 10 times that signal every 3 sec in time in the graph, so it looks like a periodic signal, any ideas how?
This is the code I have so far A = 2 t = linspace(-2, 2, 1000); a = exp(-0.5*t) y = A*a.*(sin(2*pi*3*t)) .* (ustep(t+1)-uste...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to create a sin wave pulse function y(t) that has exponential damping, but I get this error "Array indices must be positive integers"
This is the code I have, Any ideas why I'm getting this error? I am a college student and just started working with matlab A=...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort