Community Profile # mahesh kumar

### CANARITE

2015 以来アクティブ

@?

Programming Languages:
MATLAB
Spoken Languages:
Telugu

#### Statistics

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

3ヶ月 前

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

3ヶ月 前

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

3ヶ月 前

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ヶ月 前