Resuelto


Rounding
Round 10.67 and make 'y' equal to that number.

alrededor de 11 años hace

Resuelto


Solve the set of simultaneous linear equations
Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

alrededor de 11 años hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

alrededor de 11 años hace

Resuelto


Back to basics 24 - Symbolic variables
Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variabl...

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

alrededor de 11 años hace

Resuelto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

alrededor de 11 años hace

Resuelto


Find best placement for ordered dominoes (harder)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...

alrededor de 11 años hace

Resuelto


Find perfect placement of non-rotating dominoes (easier)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...

alrededor de 11 años hace

Resuelto


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

alrededor de 11 años hace

Resuelto


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

alrededor de 11 años hace

Respondida
Uploading documentation to File Exchange?
Many File Exchange submissions are actually folders with multiple files. As far as I can tell, File Exchange is simply classifyi...

alrededor de 11 años hace | 1

| aceptada

Resuelto


04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...

alrededor de 11 años hace

Resuelto


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

alrededor de 11 años hace

Resuelto


05 - Vector Equations 1
Define the vector _cVec_: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of -0....

alrededor de 11 años hace

Resuelto


Numbers in extended form
Shhhhhhh. Don't tell my daddy, but I'm borrowing his Cody account so all of you very smart people can help me out. I just star...

alrededor de 11 años hace

Resuelto


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

alrededor de 11 años hace

Resuelto


Probability of Choosing a Red Ball
Given two jars of red and blue balls, find the probability of choosing a red ball from Jar 1 after going through the steps. ...

alrededor de 11 años hace

Resuelto


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

alrededor de 11 años hace

Resuelto


Relational operators: Guessing game
* Row array userGuess contains a sequence of user guesses. Assign correctGuess with true when myNumber is equal to the user gues...

alrededor de 11 años hace

Resuelto


Comparing floating point values
* Assign matchFound with true if firstSample and secondSample within thresholdValue.

alrededor de 11 años hace

Resuelto


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

alrededor de 11 años hace

Respondida
How to create symbol function matrix in matlab?
To get an |n x n| matrix, use A = sym('A',n);

alrededor de 11 años hace | 0

Respondida
How to extract results from ans of solve command?
First, it's a good idea to give a meaningful name to the output of |solve|: sols = solve (bc1, bc2, An1, Bn1); Now you c...

alrededor de 11 años hace | 0

Pregunta


Why doesn't Cody accept a class definition?
I created a solution for <http://www.mathworks.com/matlabcentral/cody/problems/1745-get-me Cody Problem 1745 (Get me!)> that is ...

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Resuelto


How to add?
* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

alrededor de 11 años hace

Resuelto


Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...

alrededor de 11 años hace

Resuelto


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

alrededor de 11 años hace

Resuelto


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

alrededor de 11 años hace

Respondida
Wrong answer using " fft (ifft ( vector )) "
The FFT algorithm is a numeric algorithm, with the inevitable round-off errors (see <http://www.mathworks.com/help/matlab/matlab...

alrededor de 11 años hace | 1

Resuelto


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

más de 11 años hace

Cargar más