Question


Sub-pixel vertical edge detection.
Hi. I want to detect edge (with sub-pixel accuracy) in an image like this: <</matlabcentral/answers/uploaded_files/2605...

11 years ago | 0 answers | 0

0

answers

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

11 years ago

Question


Support for MATLAB functions "medfilt2" and "adapthisteq" on Simulink
Hi, I want to use the MATLAB functions |medfilt2| and |adapthisteq| on Simulink (and then Xilinx System Generator). Before s...

11 years ago | 2 answers | 0

2

answers

Question


codegen build error on Windows
I am using codegen for the first time, following the instructions given <http://in.mathworks.com/help/images/code-generation-for...

11 years ago | 1 answer | 0

1

answer

Question


Break-up of CLAHE algorithm such that HDL Coder can support it.
I want to execute CLAHE algorithm (as used in the function |adapthisteq|). This function, |adapthisteq| is not supported by cod...

11 years ago | 2 answers | 0

2

answers

Question


Angle between two planes on the X=0, Y=0 and Z=0 planes
Hi, I am plotting two planes using the code mentioned here. I am using <http://www.mathworks.com/matlabcentral/fileexchange/4...

11 years ago | 1 answer | 1

1

answer

Question


Extract outermost contour from a set of contours.
I have an N X 2 matrix with the x,y co-ordinate values of the edges. I plot these co-ordinates (plotted in red displayed below i...

11 years ago | 1 answer | 0

1

answer

Question


Detect outer contour and find contour's co-ordinates, at sub-pixel level, ignoring noise.
Hi, I want to find the co-ordinates of an object's contour (similar to a circular rim) which will be rotated in 3D. This nee...

11 years ago | 2 answers | 0

2

answers

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

11 years ago

Solved


radius of a spherical planet
you just measured its surface area, that is the input.

11 years ago

Answered
how to display image in gif
Have you gone through the other solutions on this forum? http://in.mathworks.com/matlabcentral/answers/36160-displaying-gif-i...

11 years ago | 0

Question


Simpler way without for loops
How can I implement this without using for loops? for i = 1:i_rows Mat_NX3(i,1) = (Mat_A_3D (idx(i,1), id...

11 years ago | 3 answers | 1

3

answers

Solved


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

11 years ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

11 years ago

Solved


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

11 years ago

Solved


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

11 years ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

11 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

11 years ago

Solved


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

11 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

11 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

11 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

11 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

11 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

11 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

11 years ago

Solved


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]; and ...

11 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

11 years ago

Solved


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

11 years ago

Question


Find corresponding positions in stereo rectified images on 3D pointCloud
In a 1000 X 1000 image (rectified stereo pair), _I_left_ , I have features detected at positions: P_left = 124.9147949218...

11 years ago | 1 answer | 1

1

answer

Question


Incorrect angle detected between two planes
I want to calculate the angle between 2 planes, Reference plane and Plane1. I've attached the NX3 and MX3 matrices containing t...

11 years ago | 0 answers | 1

0

answers

Load more