提问


extract elements from a cell array
Hello, Please help me with the following: Consider a 3x1 cell array where its cells contain matrices as shown below: C{...

10 years 前 | 1 个回答 | 0

1

个回答

提问


split a cell matrix into sub-matrices
Hello, Please help me with the following: Consider a 3x1 cell matrix called C, where each cell element contains matrice...

10 years 前 | 1 个回答 | 0

1

个回答

提问


create matrices based on a label sequence
Hello, Please help me with the following: Consider a 100x10 matrix, called A and a 100x1 vector, called B, that contains l...

10 years 前 | 1 个回答 | 0

1

个回答

提问


replace the elements of a vector with an element sequence
Hello, Consider a 100x1 matrix with random values from 1 to 3. How can replace all the values with an element sequence of ...

10 years 前 | 2 个回答 | 0

2

个回答

提问


form a matrix with the day type codification
Hello, Please help me with the following: Consider a 365x2 matrix, called A, that contains a day type codification for 200...

11 years 前 | 0 个回答 | 0

0

个回答

提问


replace the rows of a matrix with binary digit values
Hello, Consider the following matrix: A=[ 1 1 1 1;2 2 2 2;3 3 3 3...] The row sequence of 1 1 1 1, 2 2 2 2, 3 3 3 3 is ...

11 years 前 | 1 个回答 | 0

1

个回答

提问


replace the elements of a matrix
Hello, Consider a 100x1 matrix, called A, that contains random values of "0" and "1". The number of "1" is 25 and the rest...

11 years 前 | 2 个回答 | 0

2

个回答

提问


create a matrix with elements as mean values of another matrix
Hello, Please help me with the following. Consider a 100x10 matrix, called A. How can I get a 100x10 matrix, called B, ...

11 years 前 | 2 个回答 | 0

2

个回答

提问


create a matrix based on a row distribution
Hello, Please help me with the following. Consider a 100x10 matrix A and a 15x10 matrix B. We also have a distribution ...

11 years 前 | 1 个回答 | 0

1

个回答

已回答
replace the unique value of a vector
Both methods work excellent. Thank you very much.

11 years 前 | 0

提问


replace the unique value of a vector
Hello, Please help me with the following. Consider a vector a=[2;3;3;5;5;5]; How can we replace the unique value "2" wi...

11 years 前 | 3 个回答 | 0

3

个回答

提问


Form a matrix with specific day types
Hello, Please help me with the following. I have a matrix with dates as entries in the form: 01/01/2013 2 a 01/02/20...

11 years 前 | 1 个回答 | 0

1

个回答

提问


k-means clustering: save the number of iterations in a matrix
Hello, With the following command the number of iterations are displayed in the Command Window. idx = kmeans(X,30,'displa...

11 years 前 | 2 个回答 | 0

2

个回答

提问


find where a sequence of number breaks
Hello, Please help me with the following. Suppose with have the sequence pattern 2 3 4 and we want to find where it breaks...

11 years 前 | 2 个回答 | 0

2

个回答

提问


Neural Network Toolbox: "out of memory" error
Hello, I am using the Neural Network Toolbox for creating forecasting models. I have not faced any problems when dealing w...

11 years 前 | 0 个回答 | 0

0

个回答

提问


nntoolbox change transfer function parameters
Hello, I am working feed-forward neural networks directly from the toolbox. I was wondering if there is a way to change th...

11 years 前 | 1 个回答 | 0

1

个回答

提问


sort rows of a matrix based on their maximum value
Hello, Consider a 100x10 matrix. Each 1x10 row has a maximum value. How can I sort the rows of the matrix in ascending ...

11 years 前 | 3 个回答 | 0

3

个回答

提问


ISODATA clustering algorithm code
Hello, Is there an implementation of the ISODATA clustering algorithm? Thank you. Pavlos

12 years 前 | 0 个回答 | 0

0

个回答

提问


continuous search of the closest rows in a matrix
Hello, Consider a 100x10 matrix and a random row of it, let be "row1". I want to calculate the Euclidean distance betw...

12 years 前 | 2 个回答 | 0

2

个回答

提问


find repeated columns of a matrix
Hello, Consider a 8x100 matrix. It consists of 5 8x1 columns that are repeated randomly, namely the col1,...,col5. How ...

12 years 前 | 2 个回答 | 1

2

个回答

提问


Create a diagonal matrix from a vector
Hello, Consider a 1x7 vector. How can I create a 7x7 matrix where the main diagonal elements are zeros (m(i,i)=0) and m(i...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Hopfield neural network for clustering
Hello, I would like to use the Hopfield network for clustering of a data sample. The sample consists of vectors 1x15 and a...

12 years 前 | 0 个回答 | 0

0

个回答

提问


set the number of iterations in FCM algorith
Hello, The general form of fuzzy C-means is [center,U,obj_fcn] = fcm(data,cluster_n,options) options(1): exponent f...

12 years 前 | 1 个回答 | 0

1

个回答

提问


create a matrix where the elements are the sums of the elements of an old matrix
Hello, Consider a 100x1 matrix, namely A. How can I create a new matrix B where the 1st row of B is the sum of the 1st...

12 years 前 | 1 个回答 | 0

1

个回答

提问


convert cell array to matrix
Hello, Consider a cell array 300x1. How can I create a matrix where the first 10 rows of the cell become the first row of ...

12 years 前 | 1 个回答 | 0

1

个回答

提问


calcultate clustering tendency of a data sample
Hello, Is there a code for the Hopkins statistic? It is an index that shows the clustering tendency of a data sample. T...

12 years 前 | 0 个回答 | 0

0

个回答

提问


euclidean distance between the rows of the matrix
Hello, Consider a 100x20 matrix M. With a=squareform(pdist(M)); I calculated the euclidean distance between the row...

12 years 前 | 0 个回答 | 0

0

个回答

提问


for loop in order to put matrix elements in single row vectors
Hello, I have a nxk (10x20) matrix called M and I am setting its rows in 1x20 vectors with n=10; for i=1:1:n vec...

12 years 前 | 0 个回答 | 0

0

个回答

提问


sort the rows of a matrix based on their distance from the mean
Hello, Consider a 20x10 matrix. I am interested in sorting its rows based on their euclidean distance from the mean (ave...

12 years 前 | 2 个回答 | 0

2

个回答

提问


minimum value of a matrix with the main diagonal elements equals to zero
Hello, I have a 10x10 matrix where the main diagonal is zeros. How the minimum value of the elements is calculated, exclud...

12 years 前 | 1 个回答 | 0

1

个回答

加载更多