photo

kitty varghese


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

All
  • Solver
  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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.

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

etwa 7 Jahre vor

Gelöst


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

etwa 7 Jahre vor

Gelöst


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

etwa 7 Jahre vor

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

etwa 7 Jahre vor

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 7 Jahre vor | 0

| akzeptiert

Mehr laden