MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 151 of 208 Ask a Question
matlab code for generating triangular wave
Gracesmith9 · Mar 1, 2021 · matlab , signal , signal processing

I have to generate a matlab code  for generating triangular wave with monotonically increasing and monotonically decreasing amplitude. That means the triangle should go on reduce …

How to fill a gap in a single width image?
Madalynn · Mar 1, 2021 · matlab , signal , signal processing

Dear all, I have an 15X1 logical image for example like this:   0 0 0 1 1 0 0 0 1 1 1 1 0 0 0   As we see, the one's are not connected. I want to make a program that connect the …

How to reduce the length of a vector?
Benjamin · Mar 1, 2021 · matlab , signal , signal processing

I have A which is 8x2 vector   A = [185 194; 155 208; 152 244; 174 258; 214 257; 223 236; 220 211; 215 198];   I want to generate B which is 50% of A by selecting every other pai…

How to add a number to the negative values in a vector?
Samantha · Mar 1, 2021 · matlab , signal , signal processing , change the negativ...

I have a vector [A] which includes positive and negative values A = [1 4 5 2 -3 4 5 7 -6 -6]. I want to change those negative values by adding -180 to them, so my new vector will b…

getpeaks too many input argument
Christian · Feb 26, 2021 · matlab , signal , signal processing

hi i have this code     >> [x1, Fs] = wavread('chordA1.wav'); >> FFT1 = fft(x1); >> sq1 = abs(FFT1); >> sq1 = abs(FFT1); >> pks1 = getpeaks(sq1,'NPEAKS',20) when i run the the pr…

How to know if a radio button is selected or not?
Alexander · Feb 26, 2021 · matlab , signal , signal processing

I have one GUI with 4 Radio Buttons and one Push Putton. All of them are in one Button Group.   I want, if the user didn't select any radio button, then the Push Button will do co…

Finding peaks in EEG data
Travis · Feb 26, 2021 · matlab , signal , signal processing

I know this question has been asked a number of times, but a thorough search did not help me find an answer and as I am very new to matlab I need some help. I need to count the num…

Get a Free Consultation or a Sample Assignment Review!