Community Profile

# mahesh kumar

### CANARITE

2015 이후 활성

@?

Programming Languages:
MATLAB
Spoken Languages:
Telugu

All

배지보기

#### Content Feed

보기 기준

해결됨

Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

3달 전

해결됨

convert matrix to single column
given any matrix, convert it to single column

3달 전

해결됨

Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

3달 전

해결됨

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

3달 전

해결됨

A Simple Tide Gauge with MATLAB
*&#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767* You are standing in a few inches of sea water on a beach. You a...

4달 전

해결됨

Circular Primes (based on Project Euler, problem 35)
The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. The...

4달 전

해결됨

Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

4달 전

해결됨

Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your fun...

5달 전

해결됨

Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

5달 전

해결됨

Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

5달 전

해결됨

When can one be the Life Member of the IEEE?
Consult the site http://en.wikipedia.org/wiki/Ieee from where it can be seen that IEEE Members who have reached the age of 65 an...

5달 전

해결됨

What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

6달 전

해결됨

angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

6달 전

해결됨

Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

6달 전

해결됨

Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

6달 전

해결됨

Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

6달 전

해결됨

Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

6달 전

해결됨

Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

6달 전

해결됨

MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

6달 전

해결됨

MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

6달 전

해결됨

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

6달 전

해결됨

Proper Factors
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...

6달 전

해결됨

Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

7달 전

해결됨

Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

7달 전

해결됨

Sideways sum
Given natural number calculate its _population count_.

7달 전

해결됨

Alternative Scoring. Create an incremental spiral.
This problem is created to test an alternative Cody scoring system. It is based on the current one, but few changes are introduc...

7달 전

해결됨

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

7달 전

해결됨

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

7달 전

해결됨

How many solutions has this problem?
Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

7달 전