Resuelto


Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...

casi 8 años hace

Resuelto


Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

casi 8 años hace

Resuelto


Find the Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

casi 8 años hace

Resuelto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

casi 8 años hace

Resuelto


Transpose of matrix
Transpose of matrix as per test cases

casi 8 años hace

Resuelto


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

casi 8 años hace

Resuelto


Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

casi 8 años hace

Resuelto


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

casi 8 años hace

Resuelto


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

casi 8 años hace

Resuelto


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

casi 8 años hace

Resuelto


Compare two strings.
Compare two strings, whether they are equal or not.

casi 8 años hace

Resuelto


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

casi 8 años hace

Resuelto


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

casi 8 años hace

Resuelto


Primes Checker
Given variable inputs Check if they are prime numbers

casi 8 años hace

Resuelto


Find the rank of a matrix
Determine the rank of a matrix without using the MATLAB function of the same name.

casi 8 años hace

Resuelto


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

casi 8 años hace

Resuelto


Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

casi 8 años hace

Resuelto


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

casi 8 años hace

Resuelto


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

casi 8 años hace

Resuelto


Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...

casi 8 años hace

Resuelto


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

casi 8 años hace

Resuelto


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

casi 8 años hace

Resuelto


Consecutive Powers
Return 2 numbers and 2 powers such that their difference is 1 A 4 element row vector is expected: x where x(1)^x(2) - x(...

casi 8 años hace

Resuelto


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

casi 8 años hace

Resuelto


Fixed-Point Iteration
Perform fixed-point iteration to estimate the root of a nonlinear equation.

casi 8 años hace

Resuelto


Determine the roots of a cubic equation
Given the coefficients a, b, c, and d of a cubic equation, a*x^3 + b*x^2 + c*x + d = 0, determine its roots.

casi 8 años hace

Resuelto


center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

casi 8 años hace

Resuelto


true or false
if the matrix has a zero, return true. else, return false

casi 8 años hace

Resuelto


Measure a Special Distance
Given an n-by-2 matrix with positive and negative numbers, return an n-by-n matrix in the manner of the function template.

casi 8 años hace

Resuelto


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

casi 8 años hace

Cargar más