Community Profile

photo

Gonzalo


Last seen: plus d'un an il y a Actif depuis 2022

Statistiques

Content Feed

Afficher par

Question


How do I concatenate properly?
for kk = 1:length(amps) nStart = round(fs .* tStart(kk))+1; %-- add one to avoid zero index xNew = shortSinus(amps(kk)...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Why am I receiving this error "Unrecognized function or variable '"plotspec" Error in lab2q2 (line 20) plotspec(xx,fs,256); grid on ?
amps = [100, 120]; freqs = [800,2000]; phases = [0.6*pi, -0.1*pi]; fs = 8000; tStart = [0.1, 0.1]; durs = [0.4,0.4]; maxTi...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


I have the code for a decaying sinusoid and I want to figure out how to reverse it
function xs = myDecayingSinusoid(A, b, omega, phi, fs, tStart, tEnd) A = 6; b = .9; omega = 60 .* 2 .* pi; phi = pi ./ 3; f...

plus d'un an il y a | 1 réponse | 0

1

réponse