Community Profile

# Elysi Cochin

Last seen: 4 days ago Active since 2012

...

All

#### Content Feed

View by

Question

save a mat-file in a specific folder
I have 2 matrices mat1 and mat2 I wanted to save these two variables in a specific folder in the name my_matrices When using t...

11 days ago | 1 answer | 0

### 1

Question

keep few images and delete the rest in a folder
Suppose I have 10 images, and i have saved all the pathname and filename in a variable all_files I have a vector b = [ 2 4 6 ];...

12 days ago | 1 answer | 0

### 1

Question

Randomly shuffle folder of images and save it
I have 5 images named 1.jpg, 2.jpg ... 5.jpg I wanted to create a random number of 1 to 5 and write these images in the random ...

13 days ago | 1 answer | 0

### 1

Question

Segment pink color spots from image
I = imread('input_image'); figure, imshow(I) How to extract the pink colour spots in the attached image and find how much area...

22 days ago | 2 answers | 0

### 2

Question

Compute performance measures from neural network
How to compute Coefficient of Determination - R^2 Root Mean Squared Error - RMSE Mean Absolute Percentage Error - MAPE from...

2 months ago | 1 answer | 0

### 1

Question

Find all unique values and replace it with new values
I have a vector with values v = [0.23; 0.1; 0.33; 0.23 ; 0.33; 0.6; 0.6; 0.4]; I would like to find the unique values and repl...

2 months ago | 3 answers | 0

### 3

Question

Display string line by line
str = {'cats', 'dogs', 'birds'}; how to display the above string in command window as cats dogs birds

2 months ago | 1 answer | 0

### 1

Question

count the number of unique elements
I have a matrix with 2 rows 23 columns M = [3,2,3,3,2,3,3,2,4,3,3,3,1,1,1,3,4,4,3,5,5,3,3;1,1,1,1,1,1,1,1,1,2,2,2,3,3,4,4,4,4,5...

2 months ago | 1 answer | 0

### 1

Question

how to plot histogram
I wanted to plot the histogram of the attached data with number of bins = 42 When i use figure, imhist(HRGB,42) I get just 2...

2 months ago | 1 answer | 0

### 1

Question

replace RGB values with new values
How to change the pixel values of a RGB image to % if pixel value is in the following range 0-64 to 0 65-128 to 1 129-192...

3 months ago | 1 answer | 0

### 1

Question

How to do the computation using fuzzy logic
How to do the below computation using fuzzy logic?

3 months ago | 1 answer | 0

### 1

Question

replace matrix A with the values of another matrix B
Having a matrix A as attached, how to replace all those 1 in A with the values in matrix B, so that i get a new matrix as newA ...

3 months ago | 2 answers | 0

### 2

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

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

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

4 months 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?

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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 3 answers | 0