Resuelto


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

más de 8 años hace

Resuelto


Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

más de 8 años hace

Resuelto


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

más de 8 años hace

Resuelto


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

más de 8 años hace

Resuelto


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

más de 8 años hace

Resuelto


calculate Compound Intrest
Calculate Compound Intrest for given data

más de 8 años hace

Resuelto


Solve system of equation!
Given provided system of equation, and find x and y. System of equation can be expressed as each term's coefficient. For exam...

más de 8 años hace

Resuelto


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

más de 8 años hace

Resuelto


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

más de 8 años hace

Resuelto


Solve the following system of equations.
x - 2y + 3z = a 2x + y + z = 4 -3x + 2y - 2z = -10

más de 8 años hace

Resuelto


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

más de 8 años hace

Resuelto


Rank of matrix
Find the rank of given matrix

más de 8 años hace

Resuelto


To convolve two vectors
To convolve two vectors

más de 8 años hace

Resuelto


Xor of matrix
you have to set exclusive OR of two arrays

más de 8 años hace

Resuelto


volume of torus
Find volume of torus with a as major radius and b as minor

más de 8 años hace

Resuelto


Permutations of input vector
Find and output all permutations of given vector

más de 8 años hace

Resuelto


Change number representation to HEX
Given a number change it's representation to HEX and output it.

más de 8 años hace

Resuelto


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

más de 8 años hace

Resuelto


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

más de 8 años hace

Resuelto


Step up
For given input array, output a array with all elements step up by two

más de 8 años hace

Resuelto


"Power matrix" of two vectors
Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

más de 8 años hace

Resuelto


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

más de 8 años hace

Resuelto


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

más de 8 años hace

Resuelto


Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

más de 8 años hace

Resuelto


R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

más de 8 años hace

Resuelto


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

más de 8 años hace

Resuelto


Combinations without using nchoosek
You have to generate a matrix with all possible combinations of n elements *taken 2* at a time, *without using nchoosek(1:n,2)* ...

más de 8 años hace

Resuelto


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

más de 8 años hace

Resuelto


Prime Letters = Removing
Given a string, remove all the letters which in ASCII Code are prime numbers. For Example: s1 = 'Determine which array e...

más de 8 años hace

Resuelto


Linear system of equations
Solve the system of equations in three variables.

más de 8 años hace

Cargar más