Question


Create new matrices based on the number of unique values
having a matrix M = [4 7 2; 2 4 7; 2 2 4]; M = 4 7 2 2 4 7 2 2 4 based on the number of uniqu...

2 years ago | 2 answers | 0

2

answers

Question


Computing Euclidean distance between 2 points
I found a code computing Euclidean distance as diff = q - p; dist = sqrt(diff * diff'); is there any difference from the stan...

2 years ago | 2 answers | 0

2

answers

Question


Find time between 2 given time
I wanted to get date and time separately, from the system time t t = datetime('now') Then, I wanted to find if the system tim...

2 years ago | 3 answers | 0

3

answers

Question


Check if a binary image is within a particular binary area
I have a binary image BW_large, and another binary image BW_small How do I check if BW_small is within BW_large?

2 years ago | 2 answers | 0

2

answers

Question


DIvide an area into sectors
I have a xy-coordinate say (350,339), I wanted to divide the area of size 640x640 centered at the xy-coordinate into 8 sectors (...

2 years ago | 2 answers | 0

2

answers

Question


solve a fuzzy logic problem
I have to use fuzzy to find the likelihood of a fire in a car based on the following conditions, The judgment set are as follo...

2 years ago | 1 answer | 0

1

answer

Question


plot graph based on given values
I have attached the data of cell count of different type of cells. The cell count of one type cell is given in each sheets . B...

2 years ago | 2 answers | 0

2

answers

Question


create a new variable based on excel sheet values
I wanted to import data from excel spread sheets from multiple sheets. So i used a loop [~,sheet_name]=xlsfinfo('filename.xlsx'...

2 years ago | 1 answer | 0

1

answer

Question


How to display a 2D square as a 3D cube
How can i display the attached 2D square input as a 3D cube from? I used the same image in all slice. But the display is not cl...

2 years ago | 1 answer | 0

1

answer

Question


Segment the foreground from the background
How can i segment foreground and background from the attached images? When i do threshold method the nucleus (marked in red) and...

3 years ago | 1 answer | 0

1

answer

Question


Object Segmentation using SegCaps
Does anybody know any reference to MATLAB source code of "Capsules for Object Segmentation (SegCaps)" Which language is better ...

3 years ago | 1 answer | 0

1

answer

Question


How to create a binary mask
The attached images are my adaptive threshold output. When i use imbinarise, i get completely black pixels. Please can someone h...

3 years ago | 2 answers | 0

2

answers

Question


find minimum from cell array
Find the minimum from the column named COL2 in the excel and get its corresponding value from COL1 for each M1, M2 and M3

3 years ago | 1 answer | 0

1

answer

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 years ago

Question


zero pad array to multiple of 8
I have array of size A = 429x400, i wanted to pad that array to multiple of 8 such that it becomes A_padded = 432 x 400 Another...

3 years ago | 1 answer | 0

1

answer

Question


create new images by resizing the images in a folder
i have a folder of 7 images i wanted to read each image one by one and create new images of different sizes, till i have 100 to...

3 years ago | 1 answer | 0

1

answer

Question


Intersecting and non-intersecting box regions
Having a set of bounding box values [x y width height] , how can i find the number of bounding box that gets intersected and tha...

3 years ago | 3 answers | 0

3

answers

Question


Replace specific rectangular regions with ones
I wanted to fill the rectangular positions in bbox (values attached in order - [x y width height]) with ones. I tried the below...

3 years ago | 1 answer | 0

1

answer

Question


Create a mask of a rectangular region
How to create a mask of a rectangular region?

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 3 answers | 0

3

answers

Question


edge pixel frequency of image
How is edge pixel frequency of an image found?

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 3 answers | 0

3

answers

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

Load more