質問


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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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...

10年以上 前 | 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 ...

10年以上 前 | 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...

10年以上 前 | 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, ...

10年以上 前 | 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 ...

10年以上 前 | 1 件の回答 | 0

1

回答

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

10年以上 前 | 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...

10年以上 前 | 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...

10年以上 前 | 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...

10年以上 前 | 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...

10年以上 前 | 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...

10年以上 前 | 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...

10年以上 前 | 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年弱 前 | 3 件の回答 | 0

3

回答

質問


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

11年以上 前 | 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...

11年以上 前 | 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 ...

11年以上 前 | 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...

11年以上 前 | 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...

11年以上 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む