Community Profile

Recep Özdemir

Last seen: 6 maanden ago
101 total contributions since 2020

View details...

Contributions in
View by

Solved

Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

6 maanden ago

Solved

Counting in Finnish
Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

6 maanden ago

Solved

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

6 maanden ago

Solved

Find the y=(1:x)
Look at the question

6 maanden ago

Solved

Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

6 maanden ago

Solved

How tall are you?
measures your height forexample= 175cm 180cm 169cm

6 maanden ago

Solved

Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

6 maanden ago

Solved

Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

6 maanden ago

Solved

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

6 maanden ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

6 maanden ago

Solved

Step number
Step number

6 maanden ago

Solved

Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

6 maanden 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 = ...

6 maanden ago

Solved

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

6 maanden ago

Solved

Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

6 maanden ago

Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

6 maanden ago

Solved

Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

6 maanden ago

Solved

Renaming a field in a structure array
MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

6 maanden ago

Solved

Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

6 maanden ago

Solved

Tic Tac Toe FTW
Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

6 maanden ago

Solved

Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

6 maanden ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

6 maanden ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

6 maanden ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

6 maanden ago

Solved

Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

6 maanden ago

Solved

Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

6 maanden ago

Solved

Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

6 maanden ago

Solved

Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

6 maanden ago

Solved

Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

6 maanden ago

Solved

Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

6 maanden ago