phd student

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

7 månader ago | 0 answers | 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); ...

12 månader ago | 1 answer | 0

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

ungefär ett år ago | 0 answers | 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 =...

ungefär ett år ago | 3 answers | 0

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

ungefär ett år ago | 2 answers | 0

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

ungefär ett år ago | 2 answers | 0

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

mer än ett år ago | 3 answers | 0

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?

mer än ett år ago | 2 answers | 0

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

ungefär 2 år ago | 1 answer | 0

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

mer än 2 år ago | 3 answers | 0

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

mer än 2 år ago | 1 answer | 0

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

mer än 2 år ago | 0 answers | 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....

mer än 2 år ago | 0 answers | 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...

mer än 2 år ago | 0 answers | 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...

mer än 2 år ago | 0 answers | 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...

nästan 3 år ago | 1 answer | 0

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

nästan 3 år ago | 1 answer | 0

Question

Class association has error

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

nästan 3 år ago | 1 answer | 1

Question

Array Of Object and random number generation

I have a class : classdef Cells <handle properties f; p=[]; c; end end ...

ungefär 3 år ago | 1 answer | 0

Question

Using struct instead of class

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

ungefär 3 år ago | 0 answers | 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...

nästan 4 år ago | 2 answers | 0

Question

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

mer än 4 år ago | 1 answer | 0