Gelöst


Basic Monte Carlo Simulation
Input is a matrix including service time and probability of service time. Another input is a random number. Function should tran...

mehr als 2 Jahre vor

Gelöst


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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];

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Datetime basics
Generate the datetime scalar representing the current date

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Mehr laden