Community Profile

# Ana Maria Alzate

##### Last seen: 4일 전
123 2017 이후 총 참여 횟수

#### Ana Maria Alzate's 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

5일 전

해결됨

Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

5일 전

해결됨

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

5일 전

해결됨

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

약 1달 전

해결됨

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

약 1달 전

해결됨

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

약 1달 전

해결됨

Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

3달 전

해결됨

Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

3달 전

해결됨

Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

3달 전

해결됨

Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

3달 전

해결됨

Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

3달 전

해결됨

kmph to mps
convert kilometer per hour to meter per second

3달 전

해결됨

Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

3달 전

해결됨

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

3달 전

해결됨

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

3달 전

해결됨

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

3달 전

해결됨

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

3달 전

해결됨

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

3달 전

해결됨

Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

3달 전

해결됨

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

3달 전

해결됨

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

5달 전

해결됨

Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

5달 전

해결됨

find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

5달 전

해결됨

Product of all elements in an array
Compute the product of all elements in an array.

5달 전

해결됨

Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

5달 전

해결됨

Square a Number
Given an input x, return y, which is equal to the square of x.

5달 전

해결됨

Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

5달 전

해결됨

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

5달 전

해결됨

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

5달 전

해결됨

Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

5달 전