Community Profile

Yesenia Joe

80 2019 年以降の合計貢献数

Yesenia Joe's バッジ

kmph to mps
convert kilometer per hour to meter per second

1年以上 前

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

1年以上 前

03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

1年以上 前

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

1年以上 前

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

1年以上 前

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

1年以上 前

length of a vector
Find twice the length of a given vector.

1年以上 前

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1年以上 前

03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

1年以上 前

Min of a Matrix
Return the minimum value in the given matrix.

1年以上 前

Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

1年以上 前

03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

1年以上 前

All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

1年以上 前

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

1年以上 前

only input
Return the output without writing any code into the function.

1年以上 前

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

1年以上 前

Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

1年以上 前

Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

1年以上 前

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

1年以上 前

Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

1年以上 前

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

1年以上 前

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

1年以上 前

Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

1年以上 前

Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

1年以上 前

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

1年以上 前

surface of a spherical planet
you just discovered its circumference, that is the input.

1年以上 前

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

1年以上 前

Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

1年以上 前