Question

What does regression value in neural networks denote

What does the R value of Training, Validation, Testing and All denote, in the below plots When i compute accuracy using classpe...

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

Question

plot arc that pass through a particular point

I have attached my (x,y,z) coordinate values And i plot these values using the below code load XYZ for i = 1 : size(XX,2) ...

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

Question

How to smoothen curves?

I have attached my data values I plot it using the below code load data x = data(:,1); y = data(:,2:end); figure(2), plot(x...

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

Question

Draw arc with specified angle difference

Having 2 datas as attached in Data.mat, how to draw arc with a specified angle difference (angle difference can vary say 15, 30 ...

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

Question

edge pixel frequency of image

How is edge pixel frequency of an image found?

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

Question

extract 64 lowest frequency components of fft

How to extract 64 lowest frequency components using fourier transform of an image fft2 or fftn which function to use, and how t...

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

Question

pad matrix to a particular size

I have a matrix M of size m x n m and n may or may not be equal - M can be rectangular or square matrix - where m and n are le...

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

Question

Give title for Table

Is it possible to give title for a table i have displayed as below If i wanted to give a title 'My Table', how to give it? Det...

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

Question

why does dimension of input variable change in ode45

i wanted to compute ode45 with the following input ABCD = [3453151,3880795,334228,236989;3527618,3939199,341859,245399;... ...

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

Question

delete zeros in cell array

i have a cell_array with values cellarr = {'b','a','a','a','b';0,'c',0,'b',[];0,'a',0,'d',0;'a','a','b',[],[]}; i wanted to d...

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

Question

find the row and column value of a specific value in cell array

i have a cell array with values cellarr = {'a','b','c',3,5;'b',5,'a',[],[];'a','c',3,'a',4;'b','a','c','c',3}; i wanted to f...

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

Question

find the object closest to the center

i did adaptive threshold and got the output as below for 3 different inputs Now, i wanted to keep only regions marked 1 and 2...

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

Question

how to change the e+00 format

on computation i get a vector value as below index = [7.8651e+04;177445] because of the e+04 format, on further computation i ...

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

Question

Read images from a folder in a particular order

I have a folder, and subfolder of images in it. When i read images it comes in the order 1, 10, 11, 12...etc, instead of 1, 2, ...

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

Question

how to compute derivative

having all the values in the above equation, is the below code correct for dE(t)/d(t) computation? dEt = beta * (1 - sigma) *...

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

Question

How to stop execution of a program through code?

When i execute a program, if the execution exceeds 2 minutes, i wanted to stop the execution through code. What should i do to c...

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

Question

write a row from excel to a text file

How can i write a string row ( not English ) from excel to notepad or wordpad. Is it possible in Matlab? I have attached a samp...

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

Question

How to mirror pad a matrix

How to do mirror padding to the matrix I = [ 1 6 3 3 4 5 1 2 2 5 7 2 2 2 6 2 4 4 6 8 3 5 3 8 5 3 3 4 5 2 2 7 6 5 2 2 7 6 2...

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

Question

How to change all the colours in the image to black

how to change all the colours in the image to black except the white colour in image?

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

Question

How to find what percentage of image an object covers

From the given image, how can i find the percentage of cells covers the image or in other words what percentage of cell covers t...

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

Question

How to preserve edges when rotating images

How can i make sure that my images dont cut off when using rotation in image augmentation imageAugmenter = imageDataAugmenter('...

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

Question

How create desired number of images in the folder

How to augment a folder of images? Suppose i have 7 images in a folder, i wanted to augment these 7 images and create a total o...

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

Question

how can i get the regression values into a variable in neural network

When we fit-data-with-a-neural-network, we can get the regression graph, when we click the Regression button in the nntool windo...

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

Question

What does the equation do in the 2 images to combine it to one image

Please can someone explain what happens in the below code cb and cr are chrominance in red and blue channels bmean and rmean ...

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

Question

Find the coordinates nearest to the center coordinate of a patch in an image

i have an image of size [512 512], and xy coordinates values, which have been found on the whole image. (I have attached an exam...

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

Question

how to check if (x,y) coordinates fall within another (x,y) coordinate

i have the x,y,w,h --> [x position, y position ,width and height] of the two black boxes and the red boxes inside the black boxe...

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

Question

Blob segmentation and writing it to folder

i have segmented few blobs using the below code ccnt = 1; for blob = 1 : n thisBoundingBox = measurements(blob).BoundingB...

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

Question

draw bounding box around a character

The code i used is Ch = bw(boundrow(1):boundrow(end),boundcol(1):boundcol(end)); i'll get the character into the variable Ch ...

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

Question

write an image file

i have a image im of uint16 datatype figure(1), imshow(im) figure(2), imshow(uint8(im)) figure(3), imshow(im,[]) all the abo...

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

Question

find the next row of an element in a matrix

i have vector v v = [4,5;1,2;1,3;1,4;2,6;5,7;4,7;3,4;1,5;2,3;7,9;3,5;8,9;1,6;8 10;5,9;2,4;6,9;2,5;1,7;4,9;3,7;2,8;7,8;4,6;1,9;3...

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