photo

Matthew


Active since 2014

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


I'm trying to make a function to create a chirp signal with a clip distortion, when I run the function, It won't play and just displays columns, where is the problem?
function Signal = SignalGen(StartFrequency, EndFrequency, Duration, Amplitude, ClipThreshold, Fs) Ts = 1/Fs; Time = 0:Ts:Durat...

10 years ago | 1 answer | 0

1

answer

Question


I'm trying to produce a sampled piano note and I keep getting the error "Index exceeds matrix dimensions." I'm not sure where i've gone wrong :/
%% Part 1: Preparing the signal [pianosig,Fs]=wavread('piano_A.wav'); %% Imports the piano signal Length=length(pianosig...

11 years ago | 1 answer | 0

1

answer