Community Profile

photo

Roie Knaanie


Hebrew University of Jerusalem

Active since 2022

Followers: 0   Following: 0

Lecturer at the Hebrew University of Jerusalem, Software and Programming languages

Programming Languages:
Python, Java, MATLAB, Perl
Spoken Languages:
English
Professional Interests:
Python with MATLAB, Algorithm Acceleration and Code Generation, Computational Biology, Computer Science

Statistics

  • MATLAB Central Treasure Hunt Finisher
  • Scholar
  • Quiz Master
  • Indexing II Master
  • Matrix Patterns III Master
  • Draw Letters
  • Speed Demon
  • Creator
  • CUP Challenge Master
  • Cody 10th Anniversary 10-Day Streak
  • Introduction to MATLAB Master
  • Project Euler I

View badges

Feeds

View by

Solved


Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

ungefär 13 timmar ago

Solved


Create One Large Eye of size N x N Quickly?
*<http://en.wikipedia.org/wiki/Aye_(yes) Aye !!!>*

ungefär 13 timmar 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...

ungefär 14 timmar ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

ungefär 14 timmar ago

Solved


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

ungefär 14 timmar ago

Solved


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

ungefär 14 timmar 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 ...

ungefär 14 timmar ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

2 dagar 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; ...

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

2 dagar ago

Solved


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

2 dagar 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; ...

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

2 dagar 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; ...

2 dagar ago

Solved


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = 2...

3 dagar ago

Solved


Space Saver
Remove all characters that are below a space in ASCII value.

3 dagar ago

Solved


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

3 dagar ago

Solved


Convert String to Morse Code
Convert a given string to international <http://en.wikipedia.org/wiki/Morse_code Morse Code> * Strings will only have [A-z], ...

3 dagar ago

Solved


Decimal Comparison
*Background* A utility of particular interest to Cody and other MATLAB ventures is comparing the equality of two numbers. In ...

3 dagar ago

Solved


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

3 dagar ago

Solved


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

3 dagar ago

Solved


Find matching parenthesis
One of the most indispensable things about a great text editor for programming is the ability to quickly jump between matching p...

3 dagar ago

Solved


Add more zeros
Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1). For example: '1010' -> '100100' ...

3 dagar ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

4 dagar ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

4 dagar ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

4 dagar ago

Solved


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

4 dagar ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

4 dagar ago

Solved


cube of number
find cube of number

4 dagar ago

Solved


square of a number
find square of a given number

4 dagar ago

Load more