Solved


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

9 years ago

Solved


Integer indexing array: Weekend box office
The row array movieBoxOffice stores the amount of money a movie makes (in millions of $) for the 7 days of a week, starting with...

9 years ago

Solved


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

9 years ago

Solved


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

9 years ago

Solved


Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

9 years ago

Solved


Arithmetic array operations
* Add x to each element of array temperatureReadings.

9 years ago

Solved


Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...

9 years ago

Solved


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

9 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

9 years ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

9 years ago

Solved


Variable sized row arrays
* Reverse the contents of row array mileMarkers

9 years ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

9 years ago

Solved


Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody. Return as a string the name of the input variable to the functio...

9 years ago

Solved


Resort number using given index!
Resort matrix [a] using given index [b]. For example, if a=[2 5 3 5]; b=[4 1 2 3]; , the result is [5 2 5 3]. (hint: y...

9 years ago

Solved


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

9 years ago

Solved


Calculate polynomial equation
Calculate this equation using given x 1+x+x^2+x^3+....x^99 (hint: use polyval)

9 years ago

Solved


Calculate z=x^2+y^2
There are z in (x,y). x=1:10;y=1:10 [x y]=meshgrid(x,y) Calculate x^2+y^2.

9 years ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

9 years ago

Solved


Extract a part of matrix!
There is matrix A A=[1 2 3; 4 5 6; 7 8 9] Extract a part of matrix A from (2,2) to (3,3). Result should...

9 years ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

9 years ago

Solved


Make 3d matrix from other matrix
A=[1 1;2 2]; B=[2 2;3 3]; C=[0 0;1 3]; Using given three matrix, make 3 dimensional matrix [D] by stacking.

9 years ago

Solved


The mean of the population
Find the mean of the population.

9 years ago

Solved


how to find unique values in matrix
how to find unique values in matrix for give x matrix.

9 years ago

Solved


how to create zero square matrix with given order?
y-Zero square matrix with given input order x.

9 years ago

Solved


find number of buses for given to and from lines
find number of buses for given to and from lines

9 years ago

Solved


How to power of a given number&exponent?
How to power of a given number&exponent?

9 years ago

Solved


how to find eigen values of given matrix?
how to find eigen values of given matrix?

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

9 years ago

Solved


Basic commands - What platform are you using?
Please ask matlab waht platform are you using.

9 years ago

Solved


Basic commands - Where did I install Matlab?
Please make a function, which returns path to Matlab installation folder

9 years ago

Load more