Risolto


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

quasi 10 anni fa

Risolto


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

quasi 10 anni fa

Risolto


Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

quasi 10 anni fa

Risolto


Basic commands - What platform are you using?
Please ask matlab waht platform are you using.

quasi 10 anni fa

Risolto


Basic commands - Which licence do you use?
Please ask Matlab which license do you have on computer. Interesting fact: Pay attention what number of license has Cody. ...

quasi 10 anni fa

Risolto


Basic commands - Left division matrix
Please write a function which will left division of A,B Pay attention this is right division: A/B

quasi 10 anni fa

Risolto


Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

quasi 10 anni fa

Risolto


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

quasi 10 anni fa

Risolto


Values in Array
How many values are in the array

quasi 10 anni fa

Risolto


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

quasi 10 anni fa

Risolto


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

quasi 10 anni fa

Risolto


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

quasi 10 anni fa

Risolto


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

quasi 10 anni fa

Risolto


Solution to Ax=b with singular A
Find solution to Ax=b problem if A is singular. Hint: Compute a minimum norm solution

quasi 10 anni fa

Risolto


Opposite task convert string hexadecimal numbers array into array of decimal numbers .
Opposite task convert string hexadecimal numbers array into array of decimal numbers . Example x=[ '208'; '209'; '20A'; ...

quasi 10 anni fa

Risolto


Logical array indexing - part 1
Given an array |A| of size |p x q| , return an array |Y| of the same size such that the following conditions are satisfied. (...

quasi 10 anni fa

Risolto


Opposite task convert binary numbers array into array of decimal numbers.
Opposite task convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ...

quasi 10 anni fa

Risolto


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

quasi 10 anni fa

Risolto


Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

quasi 10 anni fa

Risolto


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

quasi 10 anni fa

Risolto


Create vector as shown in test cases
Create vector as shown in test cases

quasi 10 anni fa

Risolto


Number of nonzero elements in matrix
Calculate the number of nonzero elements for given matrix

quasi 10 anni fa

Risolto


Number of elements in matrix
Calculate the # of elements for given matrix

quasi 10 anni fa

Risolto


What do you get if you multiply six by nine?
The Hitchhiker's Guide to the Galaxy based task.

quasi 10 anni fa

Risolto


struct2values()
Convert a struct object into a column vector. You can assume that the struct elements are scalars Example: a = struct();...

quasi 10 anni fa

Risolto


Solve the following system of equations.
x-2y+3z=7 2x+y+z=4 -3x+2y-2z=-10

quasi 10 anni fa

Risolto


Solve the system of equations.
_Ax=b_ * _A_ - square coefficient matrix * _b_ - right side column vector Find vecor _x_.

quasi 10 anni fa

Risolto


What does the "B" in Benoit B Mandelbrot stand for?
Tip https://en.wikipedia.org/wiki/Mandelbrot_set

quasi 10 anni fa

Risolto


ESEMPIO
controllo uso funzioni

quasi 10 anni fa

Risolto


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

quasi 10 anni fa

Carica altro