Community Profile

photo

Athi


Last seen: Today

Amrita Vishwa Vidyapeetham

2.031 total contributions since 2009

Born Again

Contact

Athi's Badges

  • Matrix Patterns III Master
  • Card Games Master
  • Indexing IV Master
  • Editor's Pick
  • GitHub Submissions Level 1
  • Explorer
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Indexing V Master
  • Community Group Solver
  • Curator
  • Introduction to MATLAB Master
  • Number Manipulation I Master

View all

Contributions in
View by

Solved


Put m balls into n boxes
Can you find all the cases where, if I put 3 balls into 2 boxes the case is 1 1 1 1 1 2 1...

ongeveer een maand ago

Solved


Next lexicographic - permutation
Find next lexicographic - permutation (permutations as it would occur in a dictionary order). E.g: nextP('ABCD') = ABDC I...

ongeveer een maand ago

Solved


N-th permutation.
Let write some permutations of positive integers. 1: 1 2 3 4 5 6 ... 2: 2 1 3 4 ... 3: 1 3 2 4 ... ...

ongeveer een maand ago

Solved


Find edges from a vertex
First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...

ongeveer een maand ago

Solved


Find triangles from edge
First input is T, a Triplet list of indices -whom each row actually contains the three indices of a triangle vertices-. size(T) ...

ongeveer een maand ago

Solved


Remove duplicated triangles
Input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a correspondi...

ongeveer een maand ago

Solved


wythoff sequence
find the lower wythoff sequence upto n; https://oeis.org/A000201

ongeveer een maand ago

Solved


Bell Triangle
Form the bell triangle upto nth bell number posotion; if n=5, then y= [1 0 0 0 0; 1 2 0 0 ...

ongeveer een maand ago

Solved


generate the matrix
given a value n (say 4) - generate the matrix like below; y= [0 1 2 3 4; -1 0 1 2 3; ...

ongeveer een maand ago

Solved


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

ongeveer een maand ago

Solved


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

ongeveer een maand ago

Solved


cofactor matrix
given a matrix, find its cofactor matrix https://en.wikipedia.org/wiki/Minor_(linear_algebra)#Inverse_of_a_matrix

ongeveer een maand ago

Solved


Find a common edge
First input is T, a triplet list of indices. Second input is e = [e1 e2], a row vector, couple of indices (positive distinct int...

ongeveer een maand ago

Solved


Find a common vertex
First input is T, a triplet list of indices. Second input is i, a single index (positive integer). The goal of this function is ...

ongeveer een maand ago

Solved


Rotate a matrix without using rot90
rotate the input square matrix by certain degrees (e.g. 270 or 450 etc.) without using rot90 or flip function. its an extension...

ongeveer een maand ago

Solved


Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); ...

ongeveer 2 maanden ago

Solved


Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

ongeveer 2 maanden ago

Solved


Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

ongeveer 2 maanden ago

Solved


calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283

ongeveer 2 maanden ago

Solved


What's my favourite food?
The spicier the better.

ongeveer 2 maanden ago

Solved


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

ongeveer 2 maanden ago

Solved


Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

ongeveer 2 maanden ago

Solved


Modified Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

ongeveer 2 maanden ago

Solved


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

ongeveer 2 maanden ago

Solved


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

ongeveer 2 maanden ago

Solved


How many hours are there in a day in Italy?
Remember "European Summer Time"

ongeveer 2 maanden ago

Solved


Find Adjacency Matrix
Graph is undirected. (s,t) in node pairs. Please, return full storage version of the matrix.(use _full(A)_ ) Input: s...

ongeveer 2 maanden ago

Solved


Logical array indexing - part 1
Given an array |A| of size |p x q| , return an array |Y| of the same size such that the following conditions are satisfied. (...

ongeveer 2 maanden ago

Solved


Create a fixed format text output
Given a short brief matrix, such as x = [1.2 2.4 3.6; 1.5 2.3 3.5; 1.35 2.35 3.65] and a label 13, create a fixed format text o...

ongeveer 2 maanden ago

Solved


Extract part elements of matrix into one new matrix
Given a matrix that includes different nonzero and zero entries, extract the nonzero elements and form a new matrix. The new mat...

ongeveer 2 maanden ago

Load more