Community Profile

Last seen: 4 days ago Active since 2018

All

#### Content Feed

View by

Question

Keep pairs of corresponding elements in 2 vectors based on conditions
I have the problem here: Using this image below: I want to check for several conditions the orange and green marks are annotati...

6 days ago | 1 answer | 0

### 1

Question

How do I plot horizontal time intervals and ignore others to produce a non continous dashed line plot?
I have this code that produces this code below tTime =[0.0547083333333333 0.0553541666666667 0.0587500000000000 0.0599375000000...

2 months ago | 2 answers | 0

### 2

Question

How do i plot many short horizontal lines when a value is available?
So I have a signal X of length N. Now I have 2 vectores A and B which are time instants on the signal X. i calculate some quotie...

2 months ago | 1 answer | 0

### 1

Index an array using specific indices
Ah i got it. In my original code I was doing something to s before the indexing, which was chanching its values. My code also wo...

5 months ago | 0

Question

Index an array using specific indices
I have a vector x = [0,1,1,0,1,...,N] % x is vector containing either 1s or 0s of size N = 107199. then I have another vector...

5 months ago | 4 answers | 0

### 4

Question

Time shift a signal and save the new signal
I have two signals. one is a clean speech signal and the other is an egg signal. The speech signal is a bit late. So I want to ...

5 months ago | 0 answers | 0

### 0

Question

how do I annote a vector on a signal plot
Hello guys, So i have a signal plot. and then I have a vector that are indexes to some particular events in this signal. So I...

5 months ago | 1 answer | 0

### 1

Question

Use eval to dynamically save matrices
Im trying to name my matrices in a loop according to a list of algorithms I would like to have example GC_1 which contains so...

6 months ago | 0 answers | 0

### 0

Question

When reading a spectrogram, why is a power of 20 considered higher than 120
Looking at the spectrogram below, it appears the higher power in the cyan color. but its power value is around 20. why is this...

6 months ago | 1 answer | 0

### 1

Question

How to plot the NMF factorized matrices of a spectrogram as spectrograms too?
I apply non-negative matrix factorization to my spectrogram and obtain the 2 matrices W and H [W, H] = nmf(mySTFT,rank) % r...

7 months ago | 0 answers | 0

### 0

Question

My imagesc plot seems to be inverted
Below is my code. and the attached plot . Mloops = [1,10:10:90]; Missing=10:10:90; for e = 1:length(Mloops) eta =Mloo...

1 year ago | 0 answers | 0

### 0

Question

What is the name of this plot?
does anyone know the name of this type of plot? and how can i do this if I have 3 variables Missing Value prop =0.1:0.2:0...

1 year ago | 1 answer | 0

### 1

How do i combine multiple cells into one
ok never mind figured it out final_cell=[cel_1; cell_2; cell_3]

1 year ago | 0

Question

How do i combine multiple cells into one
I have 3 cells each containting three 20x60 matrices cell_1 = { 20x60, 20x60 , 20x60 } ... cell_3= { 20x60, 20x60 , 20x60 } ...

1 year ago | 2 answers | 0

### 2

Question

RMSE of 1 row of a matrix?
Hello Matlabers, I have this code i used to find the RMSE sensor=3 ; RMSE = zeros(sensor,30); RMSE(:,i) = vecnorm(F(:,1:se...

1 year ago | 1 answer | 0

### 1

Question

make an r by m permutation matrix
I have the following code : A = eye(r); L = []; for i = 1:10 A = A(randperm(r),:); L = [L A]; % 10 x 100 matrix wit...

2 years ago | 0 answers | 0

### 0

Question

How to verify SNR of a signal after using the awgn function
I just added 60db noise to my signal and i wish to verify if the added noise is correct. How do i check this? pw=60; Wthe...

2 years ago | 1 answer | 0

### 1

Question

How can I use the MovieLens Dataset in matlab
I want to use the MovieLens dataset for my NMF algorithm for matrix completion. I have a function which i use to sample data in...

2 years ago | 0 answers | 0

### 0

Question

how can i reshape an indexed vector
Hello, I have the following problem: Q % e.g. 300 x 300 matrix M % e.g. 300 x 300 matrix omega=find(Q); % omega becomes a 86...

2 years ago | 2 answers | 0

### 2

Question

How can I add a 0db noise to my randomly generated data?
I simulated some random data and wish to add different db levels of noise to the data below n = 5000; m = 5000; r =5; Wt...

2 years ago | 1 answer | 0

### 1

Question

dynamically name function output
I would like to to dynamically name fuction output based on some inputs Like: As my variable para.algo will be changing, is i...

2 years ago | 0 answers | 0

### 0

Question

How can I randomly sample 10% and 20% pixels of an image
Hello guys I have an image of size 2,048×2,048 pixels, I would like to stack the 3 channels to get a matrix of size 6,144 ×...

2 years ago | 0 answers | 0

### 0

Question

Randomly samplying a matrix
Im currently modifying an algorithm which randomly samples a given matrix by % Omega - set of observed entries. Should be li...

2 years ago | 0 answers | 0

### 0

Question

Does running multiple instances of Matlab slow down algorithm?
I have 4 algorithms that i want to benchmark. and it takes time to run, and i dont want to run each of them seperatly, so i sta...

3 years ago | 0 answers | 0

### 0

Question

What is this Matlab symbol '' | ''
Guys, could someone explain what this expression does. Ive never seen this expression before. Thank you. pGrad=gradX(gradX<0|X>...

3 years ago | 1 answer | 0

### 1

Question

save all columns into a new variable in a loop
I have the following setup. Every time k changes i get new values of T. T is of size 1x1000, so i want to end the end have a 3...

3 years ago | 1 answer | 0

### 1

Question

reconstruction Error of 2 colored images
I have an original image of dimension 300x300x3 (RGB) after removing some entries, I apply an algorithm to reconstuct the ori...

3 years ago | 0 answers | 0

### 0

Question

Re-extract final images after vectorizing a set of images
I have 20 images each of which is 175 x 200. then i create a matrix X and unfold each image into it. so that X becomes a (175*20...

3 years ago | 0 answers | 0

### 0

Question

Given a matrix A^n. Comparing normal multiplication versus Diagonalization. I expect the former to be faster but its not in my case
I have been learning diagonalization and SVD. I tried to show by code that doing A^n = A* A* A*......* n is slower than when we ...

3 years ago | 2 answers | 0