muhammad ismat
Delaware Technical & Community College Owens
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
How to restore output of for loop in matrix
If i have the code For i=1:10 tmp1=zeros(i,k); for k=1:2 tmp1(k)=sum((sam(i,:)-cen(k,:)).^2); ...
6 years 前 | 2 个回答 | 0
2
个回答提问
euclidean distance between data matrix and centroids
If i have data matrix (A) 10 × 10 and i calculated the euclidean distance between the matrix A and centroids (tmp1) using k mean...
6 years 前 | 0 个回答 | 0
0
个回答提问
how to obtain adjacency matrix?
if i have data 1 2 3 4 2 3 5 6 3 5 6 7 in first row the element 1 has a connection with elements 2,3,4. And ...
6 years 前 | 1 个回答 | 0
1
个回答提问
how to solve the problem of "out of memory"?
i have the following code to calculate matrix s for i = 1:n for j = 1:i % <-- Note the 1:i instead of 1:n s(i...
6 years 前 | 0 个回答 | 0
0
个回答提问
how can i decrease the running time of for loop
Dear All, I wrote this code to calculate accuracy of my work but this code take about 2days to execution when the input is 50...
6 years 前 | 1 个回答 | 0
1
个回答提问
how to decrease time of for loop
if I have data X=[1 3; 1 4; 2 3; 2 6] (where max number in X (6) represent the number of nodes) that represent the edges between...
6 years 前 | 0 个回答 | 0
0
个回答提问
How to calculate adjacency matrix ?
if i have data rearranged as follow 0 1 2 3 1 3 5 7 2 4 6 7 where this data mean that first element of first row ...
6 years 前 | 1 个回答 | 0
1
个回答提问
how to prepare matrix to clustering
i have a matrix x=0 1 1 0 1 0 0 0 0 0 1 1 1 1 1 0 how to represent each row as a point in 2 dimensional sp...
7 years 前 | 0 个回答 | 0
0
个回答提问
Calculate the remaining index of my data
If i have x= 1 2 3 4 2 5 1 5 is the index of my data. i want to get on rem...
7 years 前 | 2 个回答 | 0
2
个回答提问
can you restore my results after using rng'default' command
I was using the rng'default' command in my work and then installed a new version of operating system on my machine then rerun my...
7 years 前 | 0 个回答 | 0
0
个回答提问
k-medians clustering technique
please, i want matlab code of k-median clustering technique
7 years 前 | 0 个回答 | 0
0
个回答已回答
farthest first clustering technique
i found it at <http://math.stanford.edu/~yuany/pku/matlab/kcenter.m>
farthest first clustering technique
i found it at <http://math.stanford.edu/~yuany/pku/matlab/kcenter.m>
7 years 前 | 0
提问
farthest first clustering technique
please, i want matlab code to implement farthest first clustering technique
7 years 前 | 1 个回答 | 0
1
个回答提问
Is Bray curtis measure consider similarity measure
the distance (i.e. dissimilarity) between any pair of nodes i and j is bounded in this space: |D(i, IDX(i)) − D(j, IDX(j))| ≤ d...
7 years 前 | 0 个回答 | 0
0
个回答提问
how to declarate variables to solve this problem
if i have two function first function [label,s] = LSC(data,k,opts) % Set and parse parameters if (~exist('opts',...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to use for loop to solve this problem
if i have two function the first function use variables "p" and "r" and result s as follow function [label,s] = LSC...
8 years 前 | 1 个回答 | 0
1
个回答提问
convert adjacency matrix to edge list
if i have this code function el=adj2edge(adj) n=length(adj); % number of nodes edges=find(adj>0); % indices of all e...
8 years 前 | 2 个回答 | 0
2
个回答提问
how can i set for statement into connected two files
if i have two function in (separated files), first function contain two for statement as { for p= 1: 100} { for r =1: 1...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to connect two function
in my code LSC i calculate matrix(s) that send to function Accuracy so i want to make loop to variable (r) in LSC function t...
8 years 前 | 0 个回答 | 0
0
个回答提问
how to use matrix of three variables
firstly i was used matrix s(n x n) where n x n is the size of data in the following code A = yarbb(data,x) coordi...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to save result of for loop
if i have the function [label,s] = LSC(data,k,opts) for p =1:100; r = 3; . . [label,s] = k...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to connect two functons in matlab
I am want to connect two functions: In first function(firstf.m),i want to make a 'for' loop to variables p,r then I calculat [s]...
8 years 前 | 0 个回答 | 0
0
个回答提问
how to use for loop
if i have [s] = function(data,k) if (~exist('opts','var')) opts = []; end p = 30; if isfield(opts,'p') ...
8 years 前 | 0 个回答 | 0
0
个回答已回答
how to split dataset
n = size(data,1); data_rand = data(randperm(n),:); m = ceil(n/10); k = 1:m:n-m; test = data_rand(k:k+m-1,:); train = [da...
how to split dataset
n = size(data,1); data_rand = data(randperm(n),:); m = ceil(n/10); k = 1:m:n-m; test = data_rand(k:k+m-1,:); train = [da...
8 years 前 | 1
提问
how to fixed specific results for times of implementation
Accuracy=off(data,z) for i=1:100 n = size(data,1); data_rand = data(randperm(n),:); m = ceil(n/20); k = 1:m:n-m; te...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to create efficient test dataset
In my work i split data into training and testing data set, is there a way to choose efficient test data set to improvement my r...
8 years 前 | 0 个回答 | 0
0
个回答已回答
convert specific vector to vector in one direction
that's right , thank you very much
convert specific vector to vector in one direction
that's right , thank you very much
9 years 前 | 0
已回答
convert specific vector to vector in one direction
i have a vector as av=[1 2;5 6;7 8;4 3;9 8;6 7;2 1;6 5;8 7;3 4;8 9;7 6] i want to a=[1 2;5 6;7 8;4 3;9 8;6 7]
convert specific vector to vector in one direction
i have a vector as av=[1 2;5 6;7 8;4 3;9 8;6 7;2 1;6 5;8 7;3 4;8 9;7 6] i want to a=[1 2;5 6;7 8;4 3;9 8;6 7]
9 years 前 | 0
提问
convert specific vector to vector in one direction
if i have av=[1 2;3 4;2 1;4 3] and i want the result a=[1 2;3 4]
9 years 前 | 3 个回答 | 0