解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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 +...

約12年 前

解決済み


ASCii Code
Using Matlab get the ASCii for '?'

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

約12年 前

解決済み


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

12年以上 前

問題


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

12年以上 前 | 4 | 161 個のソルバー

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

さらに読み込む