A résolu


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

plus de 7 ans il y a

A résolu


Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value...

plus de 7 ans il y a

A résolu


most frequent character
Obtain most frequent character Let s='balaram'; output='a';

plus de 7 ans il y a

A résolu


Index of a Rational number
The set of real numbers are infinite. They are so many that real numbers can't even be enumerated. However, unlike real numbers ...

plus de 7 ans il y a

A résolu


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

plus de 7 ans il y a

A résolu


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

plus de 7 ans il y a

A résolu


Integer Sequence - 1
Check the test suite to determine the relationship between input integer scalar and output integer scalar.

plus de 7 ans il y a

A résolu


Find names/words that start and end with the same letter.
Find names/words (from a string) that start and end with the same letter. * Case-insensitive. * If a name/word is not at the...

plus de 7 ans il y a

A résolu


Non-zero bits in 10^n.
Given an integer that is a power of 10, find the number of non-zero bits, k, in its binary representation. For example: * ...

plus de 7 ans il y a

A résolu


2D - Mean Filter
Assume you are given an "image" matrix of size NxM. Reduce the image noise by implementing a mean filter window of size 9 (a 3x3...

plus de 7 ans il y a

A résolu


Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

plus de 7 ans il y a

A résolu


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

plus de 7 ans il y a

A résolu


How unique?
Sometimes, when we check unique entries of vector we would like to know how many times each value occurs. Given vector of num...

plus de 7 ans il y a

A résolu


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

plus de 7 ans il y a

A résolu


Palindrome numbers
Find the palindrome numbers from 1 to n where n is the number entered by the user.

plus de 7 ans il y a

A résolu


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

plus de 7 ans il y a

A résolu


Find the rank of a matrix
Determine the rank of a matrix without using the MATLAB function of the same name.

plus de 7 ans il y a

A résolu


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

plus de 7 ans il y a

A résolu


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

plus de 7 ans il y a

A résolu


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

plus de 7 ans il y a

A résolu


UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

plus de 7 ans il y a

A résolu


Find out output of following expression
Find out output of following expression Q=2log10 x+cos π+√(5yz)+|x^2-y^2 |

plus de 7 ans il y a

A résolu


Error handling
If the input is a negative number, generate an error. Otherwise, return the number.

plus de 7 ans il y a

A résolu


Determine if given number is perfect
A number is <http://en.wikipedia.org/wiki/Perfect_number perfect> if it is equal to the sum of its factors, excluding itself. ...

plus de 7 ans il y a

A résolu


Find out of matrix transpose Complex conjugate
Find out of matrix transpose Complex conjugate A=[2 3+i;1 4+i] Then answer must be [2.0000 1.0000; ...

plus de 7 ans il y a

A résolu


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

plus de 7 ans il y a

A résolu


Pi Estimate 2
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation2.pdf>

plus de 7 ans il y a

A résolu


Finite Continued Fraction
Given an input real number x and a natural number n, output the row vector with the n first terms of the continued fraction. F...

plus de 7 ans il y a

A résolu


SHIFT REGISTER
INPUT IS DECIMAL NUMBER. CONVERT IT INTO A BINARY SEQUENCE. THEN SHIFT THE SEQUENCE BY AN AMOUNT OF GIVEN NUMBER OF BITS. FOR E...

plus de 7 ans il y a

Charger plus