Community Profile

shawin

university

27 2015 年以降の合計貢献数

phd student

shawin's バッジ

Convert Cell to array did not work ?
Hi, I have a cell array wich is 1x561 double 1x321 double 1x481 double when i try to convert it to array using the code...

5ヶ月 前 | 1 件の回答 | 0

1

Clusters lables for fuzzy c mean
Hi, I have used MATLAB code for fuzzy c mean clustering : X= data set. [centers,U] = fcm(X,3) labels = ones(size(X,1),1); ...

5ヶ月 前 | 1 件の回答 | 0

1

Accuracy Calculation using confusionmat?
Kindly I have an issue with accuracy calculation, please could you help ? y_train = [ 1 1 1 4 4 3 3 5 5 5 ]; % for x_train %x_...

7ヶ月 前 | 0 件の回答 | 0

0

How to delete row or column in x.mat file
Hi, I have a X.mat file, its big mat file. how can i delet the rows ( specific row ) !! for example; row : 600 to 3000 d...

7ヶ月 前 | 1 件の回答 | 0

1

Image Sharpness Calculation ?
I have an issue with Image sharpness calculation, iam trying to code the formula below , but iam getting error : The formula...

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

1

How to calculate the Gaussian Weight ?
How to calculate the Gaussian Weight in matlab for ith pixels of an image ? What is the gaussain weight ? is it the gaus...

0

Function IND2GRAY expected input number 2, MAP, to be a valid colormap.
Iam trying to read and convert color images to gray, The code is : [X,MAP]=imread(im); x=ind2gray(X,MAP); ...

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

1

Covariance of Images data set
I have the code below: Np=40; TI = 10; % number of images per person for NTr = 1 : 9; c=1; f...

2年以上 前 | 0 件の回答 | 0

0

Conversion of 100 jpg images to PGM
Kindly how can we convert 100 images which are jpg to PGM format? the Matlab code for one image conversion is: I =...

2年以上 前 | 4 件の回答 | 0

4

Square of 20 random number sum up to 1
The code below generate 20random number which their sum up to 1. r = rand(1, 20); % Start with 20 random numbers. r = r / su...

2年以上 前 | 2 件の回答 | 0

2

Inner Matrix Dimensions Must Agree
I have a matrix of 119 x 1 and Z is 119 x 119 should multiply it by a diagonal matrix of 2 x 2: W = [0.12 0 ; 0...

2年以上 前 | 2 件の回答 | 0

2

Reading 100 image in a loop and save them in a Matrix
I have the code below for reading 100 images in a loop and iam getting the error which is : cd 'C:\Users\Shawin\Desktop\F...

2年以上 前 | 3 件の回答 | 0

3

modify only the diagonal entries in a matrix?
How can I Multiply the diagonal of a matrix by a number, for example; by 2?

3年弱 前 | 2 件の回答 | 0

2

an issue with Matrix Index exceed Matrix
I have changed the code to: X=data; epsilon=1; MinPts=37; C=0; [IDX]=DBSCANf(X,epsilon,Min...

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

1

issue with distance calculation ?
I have an issue with distance calculation, and I used the code bellow to calculate it: k=2; D=data; ...

4年弱 前 | 3 件の回答 | 0

3

Use loop for indexing
I'm trying to retriev an index from data by passing labels from 1 to 2 but the for loop is not changing? clc; ...

4年弱 前 | 1 件の回答 | 0

1

how to Calculate SSE for 20 center
I have the function bellow: function y=ObjSSE(x1) global Dim Data for i=1:size(x1,1) c=reshape(x1(i,...

0

Labelling dendrogram has issue
Iam trying to label a dendogram, but iam getting confused out put : rng default; % For reproducibility X1= [1 1....

0

Detect a specific range of correlated variable
I have a matrix and it is 100 row by 16 column. I am trying to find the correlation coefficient of the 100 variable (row) and se...

0

Plot data according th k_dist chart using KNNN
I have used KNN to detect the kth items near a specific point according to the code bellow, But iam not sure how can i use KNN...

0

problem with Matrix Multiplication
I have a matrix D which is 10x2, and a center Cent is 2x2 and a w diagonal matrix which is 2x2 , i have an equation: Resu...

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

1

Struct data assignment has error
am trying to calculate a distance for struct data type. The distance method is: function ssd=distances(x, c) m=s...

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

1

Class association has error
I have the code bellow: Course.m classdef Course < handle properties courseName stdent e...

4年以上 前 | 1 件の回答 | 1

1

Array Of Object and random number generation
I have a class : classdef Cells <handle properties f; p=[]; c; end end ...

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

1

Hi, I have the code below and I used struct instead of the class , but I'm receiving error ( Index exceed matrix dimension) the ...

4年以上 前 | 0 件の回答 | 0

0

convert cell array of different data type char and number to matrix
I have a xls sheet and i read it using xlsread() function , and its produce a cell array of character and number. the first colu...

5年以上 前 | 2 件の回答 | 0

2

Error in Fuzzy c mean code
Kindly please could you help me with FCM code , the find() function did not work ? k=3; e = 0.001; [N,D] = size(data...

6年弱 前 | 1 件の回答 | 0