Resuelto


Sort Reversal
There are n index cards in a row, with n distinct integers written on them (one number per card) so that the numbers are sorted ...

alrededor de 7 años hace

Resuelto


Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound

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

alrededor de 7 años hace

Resuelto


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

alrededor de 7 años hace

Resuelto


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

alrededor de 7 años hace

Resuelto


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

alrededor de 7 años hace

Resuelto


N-Dimensional Sorting
Given two N-dimensional matrices A and B, first sort A in increasing order and then sort B with respect to the index of A. Y...

alrededor de 7 años hace

Resuelto


Create all combinations of vectors
This function exists in the Neural Network Toolbox but is not available in Cody. Can you write such a function? See <http://...

alrededor de 7 años hace

Resuelto


Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

alrededor de 7 años hace

Resuelto


Values in Array
How many values are in the array

alrededor de 7 años hace

Resuelto


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

alrededor de 7 años hace

Resuelto


To convolve two vectors
To convolve two vectors

alrededor de 7 años hace

Resuelto


Moore-Penrose pseudoinverse of matrix
Find the command for Moore-Penrose pseudoinverse of matrix and solve

alrededor de 7 años hace

Resuelto


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

alrededor de 7 años hace

Resuelto


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

alrededor de 7 años hace

Resuelto


string comparision
compare two strings if both are same return 1 else return 0

alrededor de 7 años hace

Resuelto


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

alrededor de 7 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

alrededor de 7 años hace

Resuelto


Roots of quadratic equation
Given a quadratic equation ax^2 + bx + c = 0, write a function to return its roots.

alrededor de 7 años hace

Resuelto


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

alrededor de 7 años hace

Resuelto


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

alrededor de 7 años hace

Resuelto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

alrededor de 7 años hace

Resuelto


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

alrededor de 7 años hace

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)

alrededor de 7 años hace

Resuelto


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

alrededor de 7 años hace

Resuelto


Decoding : Find the value
'u' in the function below is of type char or string and 'v' is of type int or double. function y = your_fcn_name( u, v) ...

alrededor de 7 años hace

Resuelto


Hackathon - String version
I have a function that creates a random string of characters of ASCII values 32-127. The length of the string is also randomly ...

alrededor de 7 años hace

Resuelto


Break it up! Break it up!
You have N pennies. Write a Matlab script that will reveal how many different ways you can break up those pennies. For example...

alrededor de 7 años hace

Resuelto


Kurchan 4x4 - Optimal score
Related to Problem 1646, but bigger. Technically, all you need to do for this Cody problem is input a 4x4 matrix containing the...

alrededor de 7 años hace

Resuelto


Points on a circle.
This problem is related to <url=http://www.mathworks.com/matlabcentral/cody/problems/1283-points-on-a-sphere>Problem 1283, Point...

alrededor de 7 años hace

Cargar más