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...
oltre 3 anni fa
Risolto
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...
oltre 3 anni fa
Risolto
Word Distance - Sum
Let's suppose that the distance of a word can be calculated by summing the differences between its letters, having assigned the ...
oltre 3 anni fa
Risposto How to write code in MATLAB?
for x=1:10
if x<=2
f(x) = x*x - x + 1;
elseif x<=7 && x>2
f(x) = 0;
else
f(x) = 2*x*x +...