Resuelto


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

alrededor de 8 años hace

Resuelto


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

alrededor de 8 años hace

Resuelto


Sum of diagonals
Compute the sum of diagonal elements of a square matrix and store the larger sum to s. Eg : a = [1 2 3; 2 3 4; 4 5 10] ...

alrededor de 8 años hace

Resuelto


Guess the number I'm thinking of
In this game you are competing against two other people to guess the number that I'm thinking of. # I randomly choose an *i...

alrededor de 8 años hace

Resuelto


Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).

alrededor de 8 años hace

Resuelto


The other half of the Fibonacci sequence
The <http://mathworld.wolfram.com/FibonacciNumber.html "Fibonacci sequence"> — F = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

alrededor de 8 años hace

Resuelto


Impement str2cell
You are given a String that is equivalent to a cell array of scalars or vectors. Transform this String to its equivalent Cell a...

alrededor de 8 años hace

Resuelto


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

alrededor de 8 años hace

Resuelto


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

alrededor de 8 años hace

Resuelto


Basic matlab numeric and string manipulations
If entered input (n) is _numeric_ , compute its *log to the base (n+2)* , if it is a _lower case_ alphabet, *convert it to i...

alrededor de 8 años hace

Resuelto


Check for keywords
If the entered string is a MATLAB keyword, return true else false

alrededor de 8 años hace

Resuelto


Product of all elements in an array
Compute the product of all elements in an array.

alrededor de 8 años hace

Resuelto


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

alrededor de 8 años hace

Resuelto


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

alrededor de 8 años hace

Resuelto


surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...

alrededor de 8 años hace

Resuelto


¡Busca el extremo!
Crea una función que calcule el extremo de una parábola (máximo o mínimo absoluto) cuyos datos son proporcionados por el usuario...

alrededor de 8 años hace

Resuelto


¿Es una parábola?
Dados los datos de las magnitudes _*x*_ e _*y*_, crear una función que permita conocer si se trata de una parábola o no, indican...

alrededor de 8 años hace

Resuelto


Calcular la razón de proporcionalidad
Dadas dos magnitudes (a y b) en forma de vectores, crear una función que permita obtener la razón de proporcionalidad _*m*_ sólo...

alrededor de 8 años hace

Resuelto


¿Es una función exponencial?
Crea una función que permita analizar si los datos dados por el usuario ( *x* e *y*) se relacionan por medio de una función expo...

alrededor de 8 años hace

Resuelto


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

alrededor de 8 años hace

Resuelto


The maximum sum of squares (testing)
Create a function file with an input maxval to determine the maximum number of terms for the series 1^2 + 2^2 + 3^2 + ... such t...

alrededor de 8 años hace

Resuelto


Adding Numbers
Add the input numbers to the original.

alrededor de 8 años hace

Resuelto


Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

alrededor de 8 años hace

Resuelto


Find the missing numbers.
Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ). The input is an array (unsorted) of those natural num...

alrededor de 8 años hace

Resuelto


ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

alrededor de 8 años hace

Resuelto


Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

alrededor de 8 años hace

Resuelto


Normie Function (2)
Another _Normie Function_ defined as _f(n)= f(n-1)+f(n-2)+f(n-3)_ , *when n>3* and _1_ , *when n<=3*. *Find the nth term of this...

alrededor de 8 años hace

Resuelto


Normie Function
So, I built a function and gave it a name- _Normie_. *Find the nth term of Normie function:* _f(n)= 1*f(n-1)+ 2*f(n-3)+ 3_ , *...

alrededor de 8 años hace

Resuelto


subtraction of two nos
given a and b, subtract and give the answer

alrededor de 8 años hace

Resuelto


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

alrededor de 8 años hace

Cargar más