Community Profile

photo

Stepen Sahrun


Active since 2011

Professional Interests: Aircraft Design, Aerodynamics, Game Programming

Statistics

All
  • 5-Star Galaxy Level 4
  • Personal Best Downloads Level 3
  • First Review
  • First Submission
  • Solver

View badges

Content Feed

View by

Submitted


VirusShooter
VirusShooter allows user to play a simple webcam-based shooting game.

11 years ago | 1 download |

Thumbnail

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

12 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 years ago

Submitted


Congklak
Congklak_custom allows user to play Congklak game (a traditional) in MATLAB GUI against a simple AI.

12 years ago | 2 downloads |

Thumbnail

Solved


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

12 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

12 years ago

Solved


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

12 years ago

Submitted


2D Potential Flow Simulator
2D Potential Flow Simulator calculates and simulates a potential flow.

12 years ago | 10 downloads |

Thumbnail

Submitted


Othello
Othello allows user to play Othello game in MATLAB GUI against a simple AI.

12 years ago | 3 downloads |

Thumbnail

Submitted


Sudoku
This code generates a random Sudoku puzzle or solves any given Sudoku puzzle.

12 years ago | 1 download |

Thumbnail

Submitted


DoodleJump
DoodleJump allows user to play DoodleJump game on MATLAB GUI.

12 years ago | 7 downloads |

Thumbnail

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

12 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

12 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

12 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

12 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12 years ago

Submitted


drawDATCOMaircraft
drawDATCOMaircraft generates an aircraft's thre view drawings from given DATCOM input files.

12 years ago | 27 downloads |

Thumbnail