Community Profile ### Delaware Technical & Community College Owens

Attivo dal 2015

#### Statistiche

• • #### Content Feed

Visto da

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

oltre 4 anni fa | 0

Domanda

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

oltre 4 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 4 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 5 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 5 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 5 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 5 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 5 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 5 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

oltre 5 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

quasi 6 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 6 anni fa | 0 risposte | 0

### 0

risposte

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

circa 6 anni fa | 0

Domanda

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

circa 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 6 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

oltre 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

convert adjacency matrix to edge list

oltre 6 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 7 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 7 anni fa | 0 risposte | 0

### 0

risposte

Domanda

how to use for loop
if i have [s] = function(data,k) if (~exist('opts','var')) opts = []; end p = 30; if isfield(opts,'p') ...

circa 7 anni fa | 0 risposte | 0

### 0

risposte

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

circa 7 anni fa | 1

Domanda

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

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 7 anni fa | 0 risposte | 0

### 0

risposte

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Domanda

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]

oltre 7 anni fa | 3 risposte | 0

risposte