Community Profile

# HARISANKAR PS

### NIT TRICHY

36 total contributions since 2012

Doing M.Tech in VLSI Systems
1.5 year experience in matlab model based design
B.Tech in Electronics and communication Engineering

Professional Interests: VLSI design,HDL coding,Model Based Designing

#### HARISANKAR PS's Badges

View details...

Contributions in
View by

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

environ 8 ans ago

Solved

Generate pi using logarithm
Generate pi using logarithm

environ 8 ans ago

Problem

Generate pi using logarithm
Generate pi using logarithm

environ 8 ans ago | 2 | 190 solvers

Problem

Find the solution of algebraic equation
Find the solution of algebraic equation of the form an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0;...

environ 8 ans ago | 1 | 30 solvers

Solved

Identify the heavier bag
There are N=2^n bags of rice looking alike, N-1 of which have equal weight and one is slightly heavier. The weighing balance is ...

environ 8 ans ago

Problem

Identify the heavier bag
There are N=2^n bags of rice looking alike, N-1 of which have equal weight and one is slightly heavier. The weighing balance is ...

environ 8 ans ago | 0 | 42 solvers

Solved

Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function

environ 8 ans ago

Problem

Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function

environ 8 ans ago | 1 | 85 solvers

Solved

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

environ 8 ans ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

environ 8 ans ago

Solved

Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

environ 8 ans ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

environ 8 ans ago

Solved

Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

environ 8 ans ago

Problem

RMS value from a set of observations
Find rms value of a set of observations of a physical quantity? Hint: The observations are accessed in the form of vectors

environ 8 ans ago | 1 | 37 solvers

Solved

Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples : n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

environ 8 ans ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

environ 8 ans ago

Solved

given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

environ 8 ans ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

environ 8 ans ago

Solved

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

environ 8 ans ago

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

environ 8 ans ago

Solved

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

environ 8 ans ago

Solved

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

environ 8 ans ago

Solved

Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

environ 8 ans ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

environ 8 ans ago

Solved

Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

environ 8 ans ago

Problem

Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

environ 8 ans ago | 4 | 687 solvers

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

environ 8 ans ago

Solved

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

environ 8 ans ago

Solved

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

environ 8 ans ago

Solved

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

environ 8 ans ago

Load more