Solved

Find Logic 21

mer än 2 år ago

Problem

Find Logic 21

mer än 2 år ago | 1 | 112 solvers

Solved

Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

mer än 2 år ago

Solved

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

mer än 2 år ago

Solved

Binary Coder
Take an input number and print the binary value of this number.

mer än 2 år ago

Solved

Find Logic 20

mer än 2 år ago

Problem

Find Logic 20

mer än 2 år ago | 3 | 139 solvers

Solved

Find Logic 19

mer än 2 år ago

Problem

Find Logic 19

mer än 2 år ago | 4 | 308 solvers

Solved

square number
Square a number

mer än 2 år ago

Solved

06 - Matrix Equations 3
Define the matrices _aMat_, _bMat_, and _cMat_: <<http://samle.dk/STTBDP/Assignment1_3a.png>> ( _aMat_ = 9x9 matrix full o...

mer än 2 år ago

Solved

03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

mer än 2 år ago

Solved

06 - Matrix Equations 1
Define the vectors _aVec_ and _bVec_ and the matrix _aMat_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http:/...

mer än 2 år ago

Solved

Square root of number
Square root of given number.

mer än 2 år ago

Solved

Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

mer än 2 år ago

Solved

Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

mer än 2 år ago

Solved

Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

mer än 2 år ago

Solved

Area of rhombus
Calculate the rhombus area

mer än 2 år ago

Solved

Find Logic 18

mer än 2 år ago

Problem

Find Logic 18

mer än 2 år ago | 3 | 282 solvers

Solved

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

mer än 2 år ago

Solved

Find Logic 17

mer än 2 år ago

Problem

Find Logic 17

mer än 2 år ago | 4 | 226 solvers

Solved

sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

mer än 2 år ago

Solved

Find Logic 16

mer än 2 år ago

Problem

Find Logic 16

mer än 2 år ago | 6 | 198 solvers

Solved

Find Logic 15

mer än 2 år ago

Problem

Find Logic 15

mer än 2 år ago | 2 | 213 solvers

Solved

Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

mer än 2 år ago

Solved

Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

mer än 2 år ago