photo

kitty varghese


Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Thankful Level 3

View badges

Feeds

View by

Question


How to open cell array in excel?
I have a cell array of size {C}=100x1 and inside each cell there is a column vector of varying length. For eg. C{1,1}=50x1,C{2,1...

6 years ago | 2 answers | 0

2

answers

Question


How to divide the column data into variable length?
I have a column vector of size A=20. I want to divide this column vector into 5 smaller vector of size 5,4,3,6 and 2. Such that ...

6 years ago | 1 answer | 0

1

answer

Question


How to generate pair of numbers from sequence ?
I have a sequence of 100 numbers and I want to generate a pair of these numbers. for example : 1 2 3 4 5 6 . . . 99 1...

6 years ago | 1 answer | 0

1

answer

Question


how to find euclidean distance between training and test data?
I have two matrices A of size 2x5 and B of size 2x2 such that each column is a feature vector. I want to calculate the euclidean...

6 years ago | 1 answer | 0

1

answer

Question


I am getting an error "Undefined function or variable 'Dictionary'".
I have used switch case in my function such that for training (part1 ) case 1 will be executed and for testing (part 2) case 2 w...

6 years ago | 1 answer | 0

1

answer

Question


I am getting an error "Undefined function or variable 'Dictionary'".
I have used switch case in my function such that for training (part1 ) case 1 will be executed and for testing (part 2) case 2 w...

6 years ago | 0 answers | 0

0

answers

Question


how to read and stack the details in columns from a cell array?
I want to read and stack all the values present in cell into a column. Such that the values present in cell 1 is stacked onto co...

6 years ago | 1 answer | 0

1

answer

Question


I have a dicom file of size 256*256*3. However, when I read this file using dicomread command in matlab the size of the dicom file is 256*256? How to fix this ?
close all; clear all; clear all; bb=8; % block size RR=4; % redundancy factor K=RR*bb^2; % number of atoms in the dictio...

6 years ago | 1 answer | 0

1

answer

Question


How to write a sequence of dicom file ?
I have a matrix of size 262144x234. I have reshaped this matrix into 512x512x234. Now I want to write this sequence of 243 matr...

6 years ago | 1 answer | 0

1

answer

Question


How to reshape each column of a matrix?
I have a matrix of size 262144x243. I want to reshape each column into 512x512. Such that there are 243 matrices of 512x512 size...

6 years ago | 1 answer | 0

1

answer

Question


Is there any other way than manually updating the noise parameter such that the algorithm re runs for every parameter and then plots the graph ?
I have the following code where the noise parameter changes in an interval of 0.01.I want to plot the graph without manually re-...

7 years ago | 1 answer | 0

1

answer

Question


I got to see a lot of matlab code where the following types of initialization were used like param.L and so on ....why cant we just use L ?
param.L = 3; % number of elements in each linear combination. param.K = 50; % number of dictionary elements param.numIt...

7 years ago | 1 answer | 0

1

answer

Question


how to calculate for each column
I want to calculate the value for each column A=[1 -8 5 -7;2 1 -1 1;-9 2 3 -8] zerocoeff=[];%intialising for ...

7 years ago | 1 answer | 0

1

answer

Question


how to calculate the value?
I have the following values and want to calculate value of alpha such that alpha >=0; a=rand(1,49); b=rand(49,49); c=...

7 years ago | 2 answers | 0

2

answers

Question


i have a matrix with positive values, but when im using imshow im getting white plane.Why is it ?
my matrix have values like 801195.672906465,740500.922136101 and so on.

7 years ago | 1 answer | 0

1

answer

Question


how to multiply a matrix with scalar ?
I have 49 matrix which i call them as atom. I want to multiply each atom with a 49 different scalar value. ie atom1*h1+atom2*h2...

7 years ago | 1 answer | 0

1

answer

Question


how to display multiple images?
if true A = rand(361,285); B = reshape(A,19,19,19,15); end I want to display each 19*19 into an image into 19*15 sub...

7 years ago | 1 answer | 0

1

answer

Question


how to update the step size in my code ?
This is a dummy program. I want to update the values of stepsize1 and stepsize2 such that my error<0.5. I have coded something ...

7 years ago | 1 answer | 0

1

answer

Question


how to run various steps in loop with conditions?
i have a set of steps which i need to run until a given condition is satisfied. this should run until i get non negative matri...

7 years ago | 1 answer | 0

1

answer

Question


i want to code the following such that the negative values get saved in zerocoeff and then the negative values becomes zero . I have tried something but i m still getting an empty zerocoeff .
for i5=1:vdim*rdim v(i5)=w(i5)+alpha(i5)*w(i5); if v(i5)<0 zerocoeff = v(i5<0); v(i5)=0; else ...

7 years ago | 1 answer | 0

1

answer

Question


i want to code such that the loop is constraint for two different values?
I want to code this equation s(i)=x(i)+(l1-sum(x(i))/N here the loop must be i=1:108300 and the value for l1 and x(i...

7 years ago | 2 answers | 0

2

answers

Question


how to read multiple pgm images ?
I'm working with a database which has 472 pgm files inside a folder named faces. I want to read all 472 and store it I also ...

7 years ago | 1 answer | 0

1

answer

Question


what does imloadfunc do?
I 'm working on non-negative matrix factorization. I have come across a GitHub code for the same. Here, they have used global im...

7 years ago | 1 answer | 0

1

answer

Question


i have an image of lena whose size is 512*512. i want to resize it to 256*256 ?
close all; clear all; clc; v=imread('lena512.pgm'); v=imresize(v,[256 256]);

7 years ago | 0 answers | 0

0

answers

Answered
i want to take different values in each loop ?
u can make an outer loop for changing the value of l1 for i0=1:5 for i1=1:3 w(i1)=w(i1)+(l1(i0)-sum(w(:,i...

7 years ago | 0

| accepted

Question


i want to take different values in each loop ?
close all; clear all; clc; v=[1 2 3;4 5 6;7 8 9] [n m]=size(v); w=double(abs(rand(n,5))); h=double(abs(r...

7 years ago | 1 answer | 0

1

answer

Question


how to store values from loop in an array?
v=[1 2 3;4 5 6;7 8 9] l2=zeros(3,1) for i=1:3 l2=norm(v((i),:),2) end i want to store store l2 values in ...

7 years ago | 1 answer | 0

1

answer

Question


how to update matrix?
i want to update the matrix W .Here W is initialised with radom matrix. Such that W= _u_*W(WH-V)H'and _u_ is keeps on increasin...

7 years ago | 1 answer | 0

1

answer

Question


how to draw an ellipse matrix?
m = 800; n = 600; im = zeros(800, 600); y0 = 12; x0 = 12; a = randi(round(m/3)); b =...

7 years ago | 1 answer | 0

1

answer

Load more