Community Profile

Last seen: 1 dag ago Active since 2018

All

#### Content Feed

View by

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...

1 dag 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...

3 maanden 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...

3 maanden 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 ...

3 maanden 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...

4 maanden 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...

5 maanden 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...

5 maanden 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...

5 maanden 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...

11 maanden 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...

12 maanden 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]

meer dan een jaar 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 } ...

meer dan een jaar 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...

meer dan een jaar 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...

bijna 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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 ×...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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>...

meer dan 2 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar 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 ...

bijna 3 jaar ago | 2 answers | 0

### 2

Question

Error using sparse Index into matrix must be positive.
Im converting a code from python to Matlab % Python Code % ksq and old_dim are dimensions e.g. 5, or 10 C = np.arange(old_di...

bijna 3 jaar ago | 1 answer | 0

### 1

Please teach me by explaining to me what this question is asking me to do!
Hello, It will be hard to find a Tutor dedicated to teach you. On here the community just helps you with your programming probl...

bijna 3 jaar ago | 1

Question

Find minimum of a 15x100 and return in a vector of 1x100. is this possible?
I have i=5 ; nu=150 ; for j =1:15 load(['output/GC/rank_', int2str(i), '/nu_',int2str(nu),'/NeNMF_GC_', int2str(j), '....

bijna 3 jaar ago | 1 answer | 0