photo

Dhruv G


Last seen: circa 3 anni fa Attivo dal 2020

Followers: 0   Following: 0

Messaggio

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

Statistica

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

Visualizza badge

Feeds

Visto da

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 1

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0