Solved


Eleve ao cubo!
dado uma entrada x, encontre o seu cubo

2 years ago

Solved


Seno de x
Calcule o seno de x, onde x está em radianos

2 years ago

Solved


Valor absoluto de x
Dado uma entrada x, retornar o seu valor absoluto

2 years ago

Solved


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

2 years ago

Solved


Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values. For example, for the list [-30, -5, 1...

2 years ago

Solved


Find the square root of x
Determine the square root of x. For example square root of 4 is 2.

2 years ago

Solved


Add non-triangular numbers
The nth triangular number is the sum of the first n positive integers. The sequence of triangular numbers starts 1, 3, 6, 10, 15...

2 years ago

Solved


Area of right triangle
Given a hypotenuse and a leg , calculate the area of right triangle.

2 years ago

Solved


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

2 years ago

Solved


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

2 years ago

Solved


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

2 years ago

Solved


Orthogonalize 3 column vectors using the Gram-Schmidt process
Use the Gram-Schmidt process to orthogonalize three linearly independent column vectors. Return three output column vectors that...

2 years ago

Solved


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

2 years ago

Solved


Summing the last column column
Given a matrix, return the sum of the last column of the array.

2 years ago

Solved


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

2 years ago

Solved


Palindrome vector
Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

2 years ago

Solved


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

2 years ago

Solved


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

2 years ago

Solved


Compute the total length of lines between all vertices of a regular polygon
Write a function to compute the total length of between all vertices of a regular polygon inscribed in a unit circle. For exampl...

2 years ago

Solved


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

2 years ago

Solved


convert the number to binary format & count digits
Convert the given number to the corresponding binary format and count the number of digits in that binary number

2 years ago

Solved


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

2 years ago

Solved


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

2 years ago

Solved


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

2 years ago

Solved


basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix
For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

2 years ago

Solved


Sum of unique multiples of 3 and 5
If we list all the natural numbers up to 15 that are multiples of 3 or 5, we get 3, 5, 6, 9, 10, 12 and 15. The sum of these mul...

2 years ago

Solved


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

2 years ago

Solved


Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274

2 years ago

Solved


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

2 years ago

Solved


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

2 years ago

Load more