# Sunil

### Amrita Vishwa Vidyapeetham, Ettimadai, Coimbatore, INDIA

Last seen: Today 2024년부터 활동

Followers: 0   Following: 3

I am keen on exploring interesting problems related to Maths, Science and Engineering with a passion for teaching.

배지 보기

#### Feeds

보기 기준

문제를 풀었습니다

Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

대략 1개월 전

문제를 풀었습니다

Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

대략 1개월 전

문제를 풀었습니다

Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

대략 1개월 전

문제를 풀었습니다

Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

대략 1개월 전

문제를 풀었습니다

Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

대략 1개월 전

문제를 풀었습니다

System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

2개월 전

문제를 풀었습니다

Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...

2개월 전

문제를 풀었습니다

Pascal's Matrix
Given an integer n &ge; 0, generate the ( _n_+1) &times; ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...

2개월 전

문제를 풀었습니다

Converts numbers into characters
Converts numbers into characters

3개월 전

문제를 풀었습니다

Find the max element of the array
Find the max element of the array

3개월 전

문제를 풀었습니다

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3개월 전

문제를 풀었습니다

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

3개월 전

문제를 풀었습니다

to the 2 all elements
to the 2 all elements

3개월 전

문제를 풀었습니다

the average value of the elements
Calculate the average value of the elements in the array

3개월 전

문제를 풀었습니다

Double all elements in the array
Duplicate all elements in the array

3개월 전

문제를 풀었습니다

calculate the length of matrix
input 1 array, calculate the length

3개월 전

문제를 풀었습니다

Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

3개월 전

문제를 풀었습니다

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

3개월 전

문제를 풀었습니다

Slicing the cube
A bored matlab enthusiast has a cube with volume n^3. He decides to paint the entire surface of the cube red. Then, with slices...

3개월 전

문제를 풀었습니다

Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

3개월 전

문제를 풀었습니다

Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

3개월 전

문제를 풀었습니다

Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...

3개월 전

문제를 풀었습니다

Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

3개월 전

문제를 풀었습니다

intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identic...

3개월 전

문제를 풀었습니다

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

3개월 전

문제를 풀었습니다

We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

3개월 전

문제를 풀었습니다

Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

3개월 전

문제를 풀었습니다

Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

3개월 전

문제를 풀었습니다

Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...

3개월 전

문제를 풀었습니다

Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

3개월 전