Solved


Swap rows

5 years ago

Solved


Remnant

5 years ago

Solved


speed limit alert

5 years ago

Solved


Diagonal Prod

5 years ago

Solved


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

5 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

5 years ago

Solved


convert matrix to single column
given any matrix, convert it to single column

5 years ago

Solved


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

5 years ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

5 years ago

Solved


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

5 years ago

Solved


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

5 years ago

Solved


Positive Infinity
Round the array a towards positive infinity

5 years ago

Solved


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

5 years ago

Solved


Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

5 years ago

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

5 years ago

Solved


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

5 years ago

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

5 years ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

5 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

5 years ago

Solved


modulus of a number
find the modulus of a given number

5 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

5 years ago

Solved


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

5 years ago

Solved


first element of matrix
find the first elements of a column matrix

5 years ago

Solved


square number
Square a number

5 years ago

Solved


Concatenate two strings
Its very easy. Just concatenate two strings.

5 years ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

5 years ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

5 years ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

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

5 years ago

Solved


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

5 years ago

Load more