Dhruv G
Followers: 0 Following: 0
Student at IIT Madras. Building Race Cars, Interested in AI and Quantum Computing
統計
All
Feeds
回答済み
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...
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...
3年以上 前 | 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...
Merge struct with matrix
say the structure is named s, s.outputSignal = modelOutputSignal; adds the matrix as an element to the structure. You ca...
3年以上 前 | 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...
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...
3年以上 前 | 0
| 採用済み
回答済み
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...
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...
3年以上 前 | 0
解決済み
Calculate the Levenshtein distance between two strings
This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...
3年以上 前
解決済み
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
3年以上 前
解決済み
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
3年以上 前
回答済み
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...
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...
3年以上 前 | 0
解決済み
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
3年以上 前
解決済み
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
3年以上 前
解決済み
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
3年以上 前
解決済み
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
3年以上 前
回答済み
Decision Branching, modification Script
if doPlot plot(density) title("Sample Densities") xticklabels(element) ylabel("Density (g/cm^3)") end
Decision Branching, modification Script
if doPlot plot(density) title("Sample Densities") xticklabels(element) ylabel("Density (g/cm^3)") end
3年以上 前 | 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...
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...
3年以上 前 | 0
| 採用済み
解決済み
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
3年以上 前
回答済み
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...
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...
3年以上 前 | 0
回答済み
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 ...
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 ...
3年以上 前 | 0
回答済み
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)...
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)...
3年以上 前 | 0
解決済み
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
3年以上 前
解決済み
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
3年以上 前
解決済み
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
3年以上 前
解決済み
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...
3年以上 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
3年以上 前
解決済み
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
3年以上 前
解決済み
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...
3年以上 前
解決済み
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
3年以上 前
解決済み
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
3年以上 前