Resuelto


Calculate the area of a circle
Given a circle of diameter x calculate its area

más de 5 años hace

Resuelto


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

más de 5 años hace

Resuelto


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

más de 5 años hace

Resuelto


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

más de 5 años hace

Resuelto


Consecutive Prime Numbers

más de 5 años hace

Resuelto


When the sum of the cubes is a quartic...

más de 5 años hace

Resuelto


When the sum of the squares is a cubic...

más de 5 años hace

Resuelto


Operate on matrices of unequal, yet similar, size
You may want to add a vector to a matrix, implying that the vector is added to each column of the matrix. Or multiply a 3x4x5 ma...

más de 5 años hace

Resuelto


Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).

más de 5 años hace

Resuelto


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

más de 5 años hace

Resuelto


Check if the input is a balanced prime

más de 5 años hace

Resuelto


Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

más de 5 años hace

Resuelto


Number Power
Raise a number to itself.

más de 5 años hace

Resuelto


Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

más de 5 años hace

Resuelto


Angle between two vectors
Given 2 pairs of _cartesian co-ordinates_, determine the angle between the 2 vectors formed by the _points_ and the _origin_. An...

más de 5 años hace

Resuelto


Chào các bạn.
Cho 3 số. Tính tổng của chúng

más de 5 años hace

Resuelto


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

más de 5 años hace

Resuelto


Add consecutive integer numbers
Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

más de 5 años hace

Resuelto


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

más de 5 años hace

Resuelto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

más de 5 años hace

Resuelto


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

más de 5 años hace

Resuelto


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

más de 5 años hace

Resuelto


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

más de 5 años hace

Resuelto


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

más de 5 años hace

Resuelto


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

más de 5 años hace

Resuelto


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

más de 5 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(...

más de 5 años hace

Resuelto


Tent matrix
Create an n x n matrix that resembles one kind of tent. The variable n is provided to the function and will be an odd number. As...

más de 5 años hace

Resuelto


Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally. You function will return *true* for |[1,2,1]| or |[2,7,2;...

más de 5 años hace

Resuelto


GCD

más de 5 años hace

Cargar más