Solved

basic matrix operations: rotate and find sum of diagonal elements of the resultant matrix

For given input matrix a, rotate it by 90 degrees and find the sum of the diagonals. Example: Input: a = 1 ...

5 months ago

Solved

Where is the number that you want to find?

For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

5 months ago

Solved

Solve t^(a*x^2+b*x+c)=s

Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

5 months ago

Solved

Minimum Maximum Sort Array

sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

5 months ago

Solved

determine the sum of fraction part for given matrix

determine the sum of fraction part for given matrix a=1.8308 8.9172 6.7537 1.5853 10.2858 5.3804 6.5497 ...

5 months ago

Solved

Basics: counting digits of a number irrespective of the sign

publish the number of digits in any input integer example: -23---->2

5 months ago

Solved

struct2values()

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

5 months ago

Solved

function to compute root mean square of first nn positive odd integers

Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

5 months ago

Solved

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'; ...

5 months ago

Solved

Convert array of decimal numbers into hexadecimal numbers array.

Convert array of decimal numbers into hexadecimal numbers array. Example x =[ 32 33 34 35 36 37 38 ...

5 months ago

Solved

Calculate the values of a polynomial.

Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

5 months ago

Solved

Dial Up

Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF...

5 months ago

Solved

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...

5 months ago

Solved

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...

5 months ago

Solved

Modified Upper Matrix Mock

Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

5 months ago

Solved

¡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...

5 months ago

Solved

Slope of the line passing through two points

Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

5 months ago

Solved

I told you not separate me, but you did :( - ACDC

Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

5 months ago

Solved

A little bit of luck needed

This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

5 months ago

Solved

Finding two missing number in 1 to n array

You are given an array of numbers from 1 to n with two missing numbers. Return the two missing numbers. Input: x=[5 2 0 1 ...

5 months ago

Solved

Check for keywords

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

5 months ago

Solved

Calculate cosine without cos(x)

Solve cos(x). The use of the function cos() and sin() is not allowed.

5 months ago

Solved

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 ...

5 months ago

Solved

Find parts of a circle.

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

5 months ago

Solved

i forgot to use capital I

When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

5 months ago

Solved

Bubble sort

Write your own bubble sort function ( <https://en.wikipedia.org/wiki/Bubble_sort>) to sort all elements in x in ascending order....

5 months ago

Solved

Determinate if day D is a date that occurs during Daylight Saving Time in Italy

<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

5 months ago

Solved

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...

5 months ago