Community Profile

# shawin

### university

22 total contributions since 2015

phd student

View details...

Contributions in
View by

Question

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

6 months ago | 0 answers | 0

### 0

Question

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

11 months ago | 1 answer | 0

### 1

Question

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

1 year ago | 0 answers | 0

### 0

Question

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

1 year ago | 3 answers | 0

### 3

Question

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

1 year ago | 2 answers | 0

### 2

Question

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

1 year ago | 2 answers | 0

### 2

Question

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

1 year ago | 3 answers | 0

### 3

Question

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

1 year ago | 2 answers | 0

### 2

Question

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

2 years ago | 1 answer | 0

### 1

Question

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

2 years ago | 3 answers | 0

### 3

Question

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

2 years ago | 1 answer | 0

### 1

Question

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

2 years ago | 0 answers | 0

### 0

Question

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

2 years ago | 0 answers | 0

### 0

Question

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

2 years ago | 0 answers | 0

### 0

Question

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

2 years ago | 0 answers | 0

### 0

Question

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 1

### 1

Question

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 0 answers | 0

### 0

Question

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

3 years ago | 2 answers | 0