A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A répondu
which type of camera should be used for detecting road lanes for good processing in matlab
I would have considered * Resolution of camera (usually 5 MP or more) * Image Stabilization * White balance

plus de 9 ans il y a | 1

A répondu
minimum value array issue
If removing of values is allowed : [TransmiterNode,ind]=min(dn(:)); dn(ind)=[];

plus de 9 ans il y a | 0

A répondu
Separate the red and purple pixels in a photo
Tried to separate out the colors using K-Means Clustering using guide shown <http://www.mathworks.in/help/images/examples/color-...

plus de 9 ans il y a | 1

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a