Resuelto


Find and replace the zero array in a matrix
Find the zero array in the matrix and replace it with average of surrounding (adjacent) arrays. Example: A = 3 ...

alrededor de 12 años hace

Resuelto


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

alrededor de 12 años hace

Resuelto


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

alrededor de 12 años hace

Resuelto


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

alrededor de 12 años hace

Resuelto


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

alrededor de 12 años hace

Resuelto


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

alrededor de 12 años hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

alrededor de 12 años hace

Resuelto


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

alrededor de 12 años hace

Resuelto


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

alrededor de 12 años hace

Resuelto


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

alrededor de 12 años hace

Resuelto


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

alrededor de 12 años hace

Resuelto


Complex number
For complex number c=a+bi, write code that will add a and b together.

alrededor de 12 años hace

Resuelto


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

alrededor de 12 años hace

Resuelto


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

alrededor de 12 años hace

Resuelto


length of a vector
Find twice the length of a given vector.

alrededor de 12 años hace

Resuelto


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

alrededor de 12 años hace

Resuelto


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

alrededor de 12 años hace

Resuelto


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

alrededor de 12 años hace

Resuelto


Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

más de 12 años hace

Problema


Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

más de 12 años hace | 4 | 161 solvers

Resuelto


birthday on same day of week
Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday...

más de 12 años hace

Resuelto


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

más de 12 años hace

Resuelto


Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...

más de 12 años hace

Resuelto


Find the relation
Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

más de 12 años hace

Resuelto


Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

más de 12 años hace

Resuelto


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

más de 12 años hace

Resuelto


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

más de 12 años hace

Resuelto


Temperature Conversion Utility
There are a few problems on Cody regarding temperature conversion (C to K, C to F, F to C), but none include Rankine. Furthermor...

más de 12 años hace

Resuelto


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

más de 12 años hace

Resuelto


Integer to boolean
Write a general function that will create the following conversation; Input is a column vector with integers Output is a b...

más de 12 años hace

Cargar más