Solved


Area of Cylindrical Shell
Consider a cylinder with a non-zero thickness with an inner radius of r1 and an outer radius of r2. If the height of the cylinde...

12 days ago

Solved


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

12 days ago

Solved


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

12 days ago

Solved


Area of rhombus
Calculate the rhombus area

12 days ago

Solved


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

12 days ago

Solved


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

12 days ago

Solved


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

12 days ago

Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

12 days ago

Solved


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

12 days ago

Solved


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

12 days ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

12 days ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

12 days ago

Solved


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

12 days ago

Solved


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

12 days ago

Solved


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

12 days ago

Solved


Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

12 days ago

Solved


Interior angles
Find the sum of interior angles for polygon of x sides.

12 days ago

Solved


prime test 2
enter the only non prime,non composite number

12 days ago

Solved


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

12 days ago

Solved


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

12 days ago

Solved


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

12 days ago

Solved


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

12 days ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

12 days ago

Solved


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

12 days ago

Solved


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

12 days ago

Solved


Display positive elements of matrix.
Display positive elements of matrix.

12 days ago

Solved


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

12 days ago

Solved


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

12 days ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

12 days ago

Solved


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

12 days ago

Load more