Community Profile

# Shreesha Subrahmanya

### Tata Consultancy Services

Last seen: 10일 전 2020 이후 활성

Control System engineer.

배지보기

#### Content Feed

보기 기준

해결됨

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

3달 전

해결됨

letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

3달 전

해결됨

Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

3달 전

해결됨

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

3달 전

해결됨

surface of a spherical planet
you just discovered its circumference, that is the input.

3달 전

해결됨

Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

3달 전

해결됨

Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

3달 전

해결됨

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

3달 전

해결됨

De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

3달 전

해결됨

You just measured its surface area, that is the input.

3달 전

해결됨

Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

4달 전

해결됨

frame of the matrix
Given the matrix M, return M without the external frame.

4달 전

해결됨

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

4달 전

해결됨

Largest Twin Primes
<http://en.wikipedia.org/wiki/Twin_prime Twin primes> are primes p1, p2 = p1 + 2 such that both p1 and p2 are prime numbers. Giv...

4달 전

해결됨

find the value

4달 전

해결됨

4달 전

해결됨

4달 전

해결됨

4달 전

해결됨

Surface area of a cone

4달 전

해결됨

Perimeter of a Triangle

4달 전

해결됨

4달 전

해결됨

Volume of a sphere

4달 전

해결됨

area of a sphere

4달 전

해결됨

Find the sum of the following series
A(n)=(n*(n-1)!)/(n-2)!

4달 전

해결됨

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

4달 전

해결됨

Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

4달 전

해결됨

Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

4달 전

해결됨

Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

4달 전

해결됨

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

4달 전

해결됨

There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

4달 전