Solved


radius of a spherical planet
You just measured its surface area, that is the input.

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

5 years ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

5 years ago

Solved


Converts numbers into characters
Converts numbers into characters

5 years ago

Solved


Find the max element of the array
Find the max element of the array

5 years ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

5 years ago

Solved


to the 2 all elements
to the 2 all elements

5 years ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

5 years ago

Solved


Double all elements in the array
Duplicate all elements in the array

5 years ago

Solved


calculate the length of matrix
input 1 array, calculate the length

5 years ago

Solved


Draw a '0' in a one matrix!

5 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

5 years ago

Solved


Draw a '4' in a zero matrix!

5 years ago

Solved


Draw a '6' in a zero matrix!

5 years ago

Solved


Draw a '9' in a zero matrix!

5 years ago

Solved


Draw a '7' in a zero matrix!

5 years ago

Solved


Draw a '8' in a zero matrix!

5 years ago

Solved


Draw a '3' in a zero matrix!

5 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

5 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

5 years ago

Solved


Draw a '2' in a zero matrix!

5 years ago

Solved


Draw a '5' in a zero matrix!

5 years ago

Solved


Draw a '1' in a zero matrix!

5 years ago

Solved


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

5 years ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

5 years ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

5 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

5 years ago

Solved


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

5 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

5 years ago

Solved


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

5 years ago

Load more