Community Profile

photo

Kevin


MIT Lincoln Laboratory

Last seen: 12 maanden ago Active since 2014

Statistics

  • Solver

View badges

Content Feed

View by

Solved


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

bijna 10 jaar ago

Solved


Convert a number to its Roman representation
Convert a given number to its Roman representation. For example, if the number is 98, it should display 'XCVIII'

bijna 10 jaar ago

Solved


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

bijna 10 jaar ago

Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

bijna 10 jaar ago

Solved


Concatenate two strings
Its very easy. Just concatenate two strings.

bijna 10 jaar ago

Solved


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

bijna 10 jaar ago

Solved


Array ex-OR
There are in MATLAB logical functions such as _<http://www.mathworks.co.uk/help/matlab/ref/and.html and>,_ _<http://www.math...

bijna 10 jaar ago

Solved


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

bijna 10 jaar 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...

bijna 10 jaar 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:...

bijna 10 jaar ago

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

bijna 10 jaar ago