# Athi

### VisAI Labs

Followers: 0 Following: 0

Principal Engineer, VisAI Labs. Peak ranking: 2 (as on 15th Jan, 2024).

**Statistics**

RANK**N/A**

of 293,862

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK**94** of 20,052

REPUTATION**10,884**

AVERAGE RATING**4.50**

CONTRIBUTIONS**14** Files

DOWNLOADS **47**

ALL TIME DOWNLOADS**102371**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Solved

Count of Unique Elements of a Vector

Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

7 months ago

Solved

Draw 'W'

For any given n, return a matrix of height n and width 4n-3 containing a W of ones. Example: n=2 ans= [1 0 1 0 1 0 1 0 1 0...

7 months ago

Solved

Determine pressure altitude using field elevation and altimeter setting

Given an airfield's elevation in feet (ft) and the current altimeter setting in inches of mercury (inHg), calculate the pressure...

7 months ago

Solved

swap sign sum & multiply castles

It is an easy problem, if you know the answer. Given a square matrix of NxN ordinary numbers. Initially place N identical indi...

7 months ago

Solved

Flip the diagonal values

Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

7 months ago

Solved

Remove a specific character with another

Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...

7 months ago

Solved

Swap between first and last

The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

7 months ago

Solved

Swap between first and last column

The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

7 months ago

Solved

Swap between columns

The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

7 months ago

Solved

Swap between rows

The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

7 months ago

Solved

Remove a specific column with max value

Remove the column that contain the max value in the matrix?

7 months ago

Solved

Remove a specific row with max value

Remove the row that contain the max value in the matrix?

7 months ago

Solved

Remove a specific row with min value

Remove the row that contain the min value in the matrix?

7 months ago

Solved

Remove a specific column with min value

Remove the column that contain the min value in the matrix?

7 months ago

Solved

A sequence of Ones

You are given number(s) with all digits - 1. Your answer will depend on the count of 1 in the given number, for example - x1...

8 months ago

Solved

Determine if input is a Harshad number

In mathematics a harshad number (or Niven number) in a given number base is an integer that is divisible by the sum of its digit...

8 months ago

Solved

Median filter over three values

Implement 1-D median filter over input vector x as described: Moving window size is 3 Output is middle/central value in moving...

8 months ago

Solved

String vowel manipulation

Given a string, find all the vowels and shift them to the end of the string in the same order as they are found.

8 months ago

Solved

Determine if a number is a cool number

A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

8 months ago

Solved

Palindrome String

Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

8 months ago

Solved

Palindrome vector

Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

8 months ago

Solved

Range of Values in a Matrix

Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

8 months ago

Solved

Getting values from a vector

This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...

8 months ago

Solved

Summation of Non Zeros Numbers in String Variable

Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

8 months ago

Solved

Find Rows with Specift Properities

Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

8 months ago

Solved

convert 2D array of ones and zeros to checkerboard array of [1,2] where the original array was ones and zero elsewhere

Given a 2D array of ones and zeros, generate an equivalent sized checkerboard array of ones and twos. The checkerboard pattern s...

8 months ago

Solved

How many ways?

Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

8 months ago

Solved

How many palindromes?

* Given a set of letters, count all possible palindromes, using all of those letters. * For example, if the set is {'A' 'A' 'A'...

8 months ago