Statistics
RANK
2,722
of 295,527
REPUTATION
22
CONTRIBUTIONS
39 Questions
20 Answers
ANSWER ACCEPTANCE
46.15%
VOTES RECEIVED
13
RANK
of 20,242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Find closest 8-connected chessboard distance between multiple pairs of points: shortest m-path
I am working on binary images. I have two sets of points: PNodes and FNodes. I want to find the closest PNode to each of the FNo...
7 years ago | 1 answer | 0
1
answerQuestion
Function similar to bwconncomp, but on 3D point clouds.
Is there a MATLAB function which does this: _Given a 3D matrix (say, point cloud) two adjacent pixels should be connected if...
7 years ago | 0 answers | 0
0
answersQuestion
Element by element (xor) operation on cells.
I have two variables, |Test| and |Train|. |Test| = |cell| of dimension |10 x 1| and |Train| = |cell| of dimension |20 x ...
7 years ago | 1 answer | 0
1
answerQuestion
Eliminate all rows with '\N' element in a cell
This is a simple question, but I'm getting confused cuz of the different datatypes in cell I have Cell_A (attached). I want t...
8 years ago | 1 answer | 0
1
answerhow to detect the value angle of rotation object ?
You can find the major axes of all the four objects. The direction of each of their major axis gives the angle of rotation.
8 years ago | 0
Starting a new line
Are you typing your code in the Command Window? Then use "..." and < enter > <</matlabcentral/answers/uploaded_files/48325/Un...
8 years ago | 0
I'm trying to simplify an expression or equation symbolically and I get the same error every time. Undefined function or variable 'x'.
What exactly is your command? It seems like you haven't told MATLAB what the value of |x| is. First, initialize a value for |x| ...
9 years ago | 0
| accepted
hello guys, i have mat file < 15151x723 double > but i want this file with 3 columns only. after 15151 rows i want next 3 columns should come bellow that.same with next 3 columns ...hope you understand...
Have you tried using |reshape|? If a = [1 2 3 4 5 6 10 20 30 40 50 60 100 200 300 400 500 600 1000 2000 3000 4000 ...
9 years ago | 0
how can i replace white pixel (in binary image) with a color pixel of another image?
I do this all the time. This is what I do: |mask| is the binary image mask (2D) (converted to logical values). |rgbImg| is th...
9 years ago | 1
How to have a contour with 4-connectivity?
Fill the image ( |imfill|). Use <http://in.mathworks.com/help/images/ref/bwboundaries.html |bwboundaries|> with |conn| = 4.
9 years ago | 0
| accepted
how to find pixels in donut slices
Do you mean the _intensity_ values of each pixel in an image? If so, use <http://in.mathworks.com/help/images/ref/imtool.html...
9 years ago | 0
what does this error means-"Function definitions are not permitted at the prompt or in scripts."?
It means you are trying to define a function in the prompt or maybe within a different script. This is not permitted in MATLAB. ...
9 years ago | 0
Save data to file with different array size
When you execute |A = [a b c d e];| don't you get an error? The dimensions of |a, b, c, d| & |e| aren't consistent. You cannot c...
9 years ago | 0
Want to find a specific column of needed data
Have you tried using <http://in.mathworks.com/help/matlab/ref/ismember.html#btcnv44-12 |ismember|>? I believe you can use a comb...
9 years ago | 0
Question
Detect irregular dark spots in a gray scale image.
I require ideas to detect these kind of black spots in a gray scale image. <</matlabcentral/answers/uploaded_files/39748/Gra...
9 years ago | 1 answer | 0
1
answer3D Point Cloud to 2D depth image
Use <http://in.mathworks.com/help/vision/ref/disparity.html |disparity|>.
9 years ago | 0
Solved
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
9 years ago
Solved
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
9 years ago
Solved
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
9 years ago
Solved
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
9 years ago
Solved
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
9 years ago
Solved
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
9 years ago
Solved
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
9 years ago
Solved
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
9 years ago
Solved
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
9 years ago
Solved
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....
9 years ago
Solved
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
9 years ago
Solved
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...
9 years ago
Solved
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
9 years ago
Solved
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
9 years ago