Community Profile

Last seen: 13 jours il y a Actif depuis 2018

All

#### Content Feed

Afficher par

A répondu
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...

30 jours il y a | 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...

30 jours il y a | 4 réponses | 0

### 4

réponses

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

environ un mois il y a | 1 réponse | 0

### 0

réponse

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

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

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

3 mois il y a | 1 réponse | 0

### 0

réponse

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

3 mois il y a | 1 réponse | 0

### 1

réponse

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

3 mois il y a | 1 réponse | 0

### 0

réponse

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

9 mois il y a | 1 réponse | 0

### 0

réponse

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

10 mois il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 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 } ...

plus d'un an il y a | 2 réponses | 0

### 2

réponses

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 0

réponse

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

presque 2 ans il y a | 1 réponse | 0

### 1

réponse

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

environ 2 ans il y a | 1 réponse | 0

### 0

réponse

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

environ 2 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 2 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 2 ans il y a | 2 réponses | 0

### 2

réponses

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

presque 3 ans il y a | 1 réponse | 0

### 1

réponse

A répondu
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...

presque 3 ans il y a | 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), '....

presque 3 ans il y a | 1 réponse | 0

### 1

réponse

Question

Write several 1x101 vectors to table for Latex
I have 2 variable each of which are 1x101 size A = AS_V ; % AS_V is 1x101 B = NeNMF_V; % NeNMF_V is 1x101 T = table(A,B)...

presque 3 ans il y a | 1 réponse | 0

réponse