Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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?

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Risolto

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

oltre 2 anni fa

Domanda

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

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 3 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

quasi 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 3 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 3 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

risposta