질문

Index a cell and use as input to a function
I have 2 cells W0=1x4 cell and H0=1x4 cell in these cells i have 2x100, 4x100, 6x100, 8x100 double % matrices How can i ...

1년 이상 전 | 답변 수: 0 | 0

0

답변

질문

Save into cell or ND array
Hello Matlabers I have the following code. m = 2; n = 3; r = 5; V = 2:2:20; for ii = 1:5 W = rand(m,r); H = rand...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

How to save inner loop data with outer loop data in one matfile
Hello Matlabers! So basically i have this code for i=1:5 r=5; W = rand(m,r); H = rand(r,n); ...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

Plot3 with different length of vectors
I have 3 parameter. Error, SNR, Weights 1. Error is a 3x9 data 2. SNR = [15,30,50] 3. Weights = 0.1:0.1:0.9 S...

1년 이상 전 | 답변 수: 1 | 0

1

답변

답변 있음
How can I write a summation equation in matlab
Someone just closed my question. Please if you cannot answer do not close my question. We are all not the same. some of us are s...

1년 이상 전 | 0

질문

How can I write a summation equation in matlab
How can i write this summation equation in matlab please.

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

Kullback-Leibler Divergence for NMF in Matlab
I am trying to write the KLDV equation in matlab by looking at how the Euclidean distance was written. Euclidean distance for...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

Calculate mean and median when I have 3 variables (axes)
I want to plot a figure, say using the surf function. I have 3 axes. Error, SNR, and MV I want to find the median and mean of ...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

parpool making my laptop and matlab freeze.
I have 8 cores, 32gb ram. i used parpool in matlab 2017. and it was fine. I increased the number of works from default to 8 to m...

1년 이상 전 | 답변 수: 0 | 0

0

답변

질문

Matlab to Python ( dot product and dot divide equivalents )
I am converting my matlab funtion to python. I want to rewrite this simple functions in python function [ H ] = update_H( X , W...

1년 이상 전 | 답변 수: 2 | 1

2

답변

질문

Mean of an array with array elements
I have the code below. rRE_NeNMF_R=[2,2]; rRE_NeNMF_V=[2,2]; rRE_MU_R=[2,2]; rRE_MU_V=[2,2]; rRE_ALS_R=[2,2]; ...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

store end values of an array in a nexted loop
i have this code below. I do 20 simulations and load them. For every simulation the RRE is 1x5000 (preallocated size). But i onl...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

Remove all zeros from a vector (preallocated unused spaces)
So i am saving frobenius norm of an algorithm. Before that i made my preallocation as RRE=zeros(1,5000); After saving m...

1년 이상 전 | 답변 수: 2 | 0

2

답변

질문

switch in a loop while changing variable name according to iter index
I have the following id =1; Switch id case 1 Data_1=[mean_RSI_high,mean_RSI_low,mean_NeNMF_high,mean_NeNMF...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문

How do I rename a variable, as it changes in a Loop
I have .mat file. and first I load my variables (Data_1,Data_2....Data_60) using for i=1:60 load(['matfiles/Data_',num...

1년 이상 전 | 답변 수: 2 | 0

답변