Community Profile

photo

muhammad ismat


Delaware Technical & Community College Owens

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Answered
How to restore output of for loop in matrix
Thank you very much

5 years ago | 0

Question


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

5 years ago | 2 answers | 0

2

answers

Question


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

5 years ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 0 answers | 0

0

answers

Question


k-medians clustering technique
please, i want matlab code of k-median clustering technique

7 years ago | 0 answers | 0

0

answers

Answered
farthest first clustering technique
i found it at <http://math.stanford.edu/~yuany/pku/matlab/kcenter.m>

7 years ago | 0

Question


farthest first clustering technique
please, i want matlab code to implement farthest first clustering technique

7 years ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 2 answers | 0

2

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 0 answers | 0

0

answers

Answered
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 ago | 1

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Answered
convert specific vector to vector in one direction
that's right , thank you very much

8 years ago | 0

Answered
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]

8 years ago | 0

Question


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]

8 years ago | 3 answers | 0

3

answers

Load more