Community Profile

photo

kitty varghese


2017년부터 활동

통계

All
  • Solver
  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


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

5년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 0 | 0

0

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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.

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

6년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6년 초과 전

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6년 초과 전

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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]);

6년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
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...

6년 초과 전 | 0

| 수락됨

더 보기