Community Profile

# Dhruv G

Last seen: 1 year ago Active since 2020

Student at IIT Madras. Building Race Cars, Interested in AI and Quantum Computing

All

#### Content Feed

View by

How can I classify a fruit based on its color into white(unripe), turning, ripe using color image processing in matlab. Is there any code for it or some ideas on how to do it.
If the fruit occupies most of the image you can get the RGB values of a cluster of pixels near the center of the image and avera...

1 year ago | 0

Merge struct with matrix
say the structure is named s, s.outputSignal = modelOutputSignal; adds the matrix as an element to the structure. You ca...

1 year ago | 0

Sort entire 3D matrix
You'd have to flatten the matrix into a 1d vector, sort that, then reshape it back to the initial shape. See https://in.mathwork...

1 year ago | 0

| accepted

First time passage distribution fitting
https://in.mathworks.com/matlabcentral/fileexchange/73599-map-m-s-g-solver-for-steady-state-and-first-passage-times The above l...

1 year ago | 0

Change a specific color in an image to another one
The issue here is you aren't changing redChannel, blueChannel or greenChannel anywhere. I'm not sure what you are trying to do w...

1 year ago | 0

Decision Branching, modification Script
if doPlot plot(density) title("Sample Densities") xticklabels(element) ylabel("Density (g/cm^3)") end

1 year ago | 1

Create a mask of a rectangular region
https://in.mathworks.com/help/images/ref/imroi.createmask.html#mw_e3abf7da-98e3-4f78-894d-422543e67069 should be what you are lo...

1 year ago | 0

| accepted

Relationship between (i & j) of a nested for loop and (x & y) coordinates?
As @KSSV has noted, the for loop just means that the indices will increase while the loop runs. In a table, what you've drawn is...

1 year ago | 0