Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...
9 years 前
已解决
Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...
9 years 前
已解决
Slicing the cube
A bored matlab enthusiast has a cube with volume n^3.
He decides to paint the entire surface of the cube red. Then, with slices...
9 years 前
已解决
Sum of self power series
The series, 1^1,2^2,3^3,4^4,....
Find the sum of such series when x terms are given.
9 years 前
已解决
Column norms of a matrix
Given a matrix M, return a vector y such that for each k
y(k)=norm(M(:,k))
(y(k) is the Euclidean norm of the k-th col...
Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10].
Find whether the number n is present in given array or not.
If the number n is prese...
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...