Solved


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

10 months ago

Solved


modulus of a number
find the modulus of a given number

10 months ago

Solved


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

10 months ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

10 months ago

Solved


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

10 months ago

Solved


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

10 months ago

Solved


Energy Conversion 2

10 months ago

Solved


Energy Conversion 1

10 months ago

Solved


Area Conversion 2

10 months ago

Solved


Area Conversion 1

10 months ago

Solved


Mass Conversion 2

10 months ago

Solved


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

10 months ago

Solved


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

10 months ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

10 months ago

Solved


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

10 months ago

Solved


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

10 months ago

Solved


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

10 months ago

Solved


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

10 months ago

Solved


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

10 months ago

Solved


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

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

10 months ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

10 months ago

Solved


y equals x divided by 2
function y = x/2

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

10 months ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

10 months ago

Solved


Spherical Volume
Calculate the volume of a sphere.

10 months ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

10 months ago

Load more