Community Profile

photo

Kevin


MIT Lincoln Laboratory

Last seen: 12 mois il y a Actif depuis 2014

Statistiques

  • Solver

Afficher les badges

Content Feed

Afficher par

A résolu


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

presque 10 ans il y a

A résolu


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'

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a