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 …
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
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 …
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 …
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…
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…
Good day. Below I have a piece of code written. %% Peak detection Part % In this part, we have defined a threshold value. So, all peaks above % threshold value will be dete…
Hi i am getting an error in this MATLAB code and im not sure whats wrong with it. %define verialbe lm=0.01; Rm=0.05; Kt=1.2; Kb=4.0; B=0.25; J=10.0; %coeff of denominator a0=((R…
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…
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…
Distorted time domain signal for high pass butterworth filter designed using 'butter' command and filtered using 'filter' command Why does the filtered samples of my high pass filt…
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…