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

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

### 2

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

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

### 2

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

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

### 3

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?

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

### 2

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

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

### 2

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

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

### 1

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

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

### 2

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

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

### 1

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

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

### 1

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

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

### 1

Question

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

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

### 1

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

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

### 2

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

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

### 1

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

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

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

### 1

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

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

### 1

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

nästan 3 år ago | 3 answers | 0

### 3

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

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

### 1

Question

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

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

### 1

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

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

### 1

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

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

### 1

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

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

### 2

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

### 3

Question

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

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

### 1

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 3 år ago | 1 answer | 0

### 1

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 3 år ago | 2 answers | 0

### 2

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

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

### 3

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

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

### 1

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

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