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

etwa ein Jahr ago | 1 answer | 0

1

answer

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

etwa ein Jahr ago | 2 answers | 1

2

answers

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

etwa ein Jahr ago | 2 answers | 0

2

answers

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

etwa ein Jahr ago | 1 answer | 0

1

answer

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

etwa ein Jahr ago | 1 answer | 0

1

answer

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

etwa ein Jahr ago | 1 answer | 0

1

answer

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

etwa ein Jahr ago | 1 answer | 0

1

answer

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

mehr als ein Jahr ago | 2 answers | 0

2

answers

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?

mehr als ein Jahr ago | 2 answers | 0

2

answers

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

mehr als ein Jahr ago | 1 answer | 0

1

answer

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

mehr als ein Jahr ago | 1 answer | 0

1

answer

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

mehr als ein Jahr ago | 1 answer | 0

1

answer

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

mehr als ein Jahr ago | 1 answer | 0

1

answer

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

mehr als ein Jahr ago | 1 answer | 0

1

answer

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

fast 2 Jahre ago | 2 answers | 0

2

answers

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

fast 2 Jahre ago | 1 answer | 0

1

answer

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

fast 2 Jahre ago | 1 answer | 0

1

answer

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

fast 2 Jahre ago | 1 answer | 0

1

answer

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

etwa 2 Jahre ago | 1 answer | 0

1

answer

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

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


find different combinations of splitting a vector
having a vector V, how can i find the different ways to split this vector v into subvectors such that the sum of each subvector ...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Answered
How to display units with my answer?
fprintf('%g kg\n', y)

etwa 2 Jahre ago | 1

| accepted

Question


Sort matrix to get the row and column position of sorted matrix
how should i sort the matrix M = [0,15,14,13,10,7,4,1,2; 0,0,9,6,4,12,1,3,1; 0,0,0,10,8,5,3,1,2; 0,0,0,0,17,2,11,1,4; 0,0,0...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


how to do the matrix computation
I have a cost matrix, c, with values as c =[0,12,11,7,10,10,9,8,6,12; 12,0,8,5,9,12,14,16,17,22; 11,8,0,9,15,17,8,18,...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


access the respective values of matrix using the cell array cell position value
i have a matrix as shown in figure, with positions marked I have a cell array with values { [ 1 4 ] ; [ 2 3] }; Now i want ...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


find values in vector present in cell array
i have a cell array cA and vector V with values cA = {[11,21,3;14,5,63], [11,22], [33;95;66;7]}; V = [14 22 33 66]; i wanted ...

etwa 2 Jahre ago | 2 answers | 0

2

answers

Question


how to split a vector into small subvectors based on condition
how can i split a vector into smaller sub vectors, such that the sum of each vectors is less than N N = 60 V = [30 35 24 15 14...

etwa 2 Jahre ago | 2 answers | 0

2

answers

Question


display contents of cell array and a vector together
i have a cell array cell_array = {'A' 'B' 'C'} and value = [ 10 20 30] how can i display the cell_array and value_vector toge...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


compute from a set of parameters
C = 60; % capacity of a truck demand = [30 35 24 15 14 48]; % goods to deliver m = 2; % no of avaible trucks i wanted to comp...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


comparing pixels in 3x3 block
Having a matrix as shown below i wanted to take 3x3 pixel and compare the 3 pixels (highlighted in yellow colour) with th...

mehr als 2 Jahre ago | 1 answer | 0

1

answer

Load more