Solved


Reverse a matrix
Its simple. You have to reverse a given matrix.

26 dagen ago

Solved


Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody. Return as a string the name of the input variable to the functio...

26 dagen ago

Solved


02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

26 dagen ago

Solved


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

26 dagen ago

Solved


Output a vector which is table of 9
Output a vector which is table of 9

26 dagen ago

Solved


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

26 dagen ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

26 dagen ago

Solved


02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

26 dagen ago

Solved


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

26 dagen ago

Solved


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

26 dagen ago

Solved


Box!
Given a box, find the volume of the cube. With each side = a.

26 dagen ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

26 dagen ago

Solved


Find the sum of n squares
What is the sum of the squares of the first n integers?

26 dagen ago

Solved


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

26 dagen ago

Solved


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

26 dagen ago

Solved


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

26 dagen ago

Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

26 dagen ago

Solved


Your favourite city!
Type your favourite city.

26 dagen ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

26 dagen ago

Solved


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

26 dagen ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

26 dagen ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

26 dagen ago

Solved


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

26 dagen ago

Solved


Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

26 dagen 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:/...

26 dagen ago

Solved


only input
Return the output without writing any code into the function.

26 dagen ago

Solved


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

26 dagen ago

Solved


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

26 dagen ago

Solved


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

26 dagen ago

Solved


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

26 dagen ago

Load more