photo

Dhruv G


Last seen: ungefär 3 år ago Active since 2020

Followers: 0   Following: 0

Message

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

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • MATLAB Central Treasure Hunt Finisher
  • Solver

View badges

Feeds

View by

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

| accepted

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

mer än 3 år ago | 0

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

mer än 3 år ago | 0

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

mer än 3 år ago | 1

| accepted

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

mer än 3 år ago | 0

| accepted

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

mer än 3 år ago | 0

Answered
write a script to find the sum of an array of numbers of the form 2n-10, n = 1,2,…, 10.
Think about how the ':' is used when defining an array within parantheses or in square brackets. Think about how multiplying an ...

mer än 3 år ago | 0

Answered
Error when using abs: Too many input arguments
If you type 'U' in the command window you would find that it is an array of symbolic equations (or expressions I'm not too sure)...

mer än 3 år ago | 0