解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

さらに読み込む