Gelöst


String Logic 11
Examples: 'SUNDAY' --> 6 'MONDAY' --> 6 'TUESDAY' --> 7 'WEDNESDAY' --> 9 'THURSDAY' --> 8 'FRIDAY' --> 5 'SATURDAY' --...

etwa 2 Monate vor

Gelöst


Remove Upper Case Letters
Example Matlab --> atlab proBlem --> prolem Enter --> nter

etwa 2 Monate vor

Gelöst


Swept Volume and Clearance Volume
The swept volume (V_s) is the volume displaced by the piston as it travels from BDC (Bottom Dead Centre) to TDC (Top Dead Centre...

etwa 2 Monate vor

Gelöst


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

2 Monate vor

Gelöst


Explode string
Break a sentence into cell of words

2 Monate vor

Gelöst


Caesar Cipher: shift a lowercase string
A Caesar cipher shifts every letter forward through the alphabet by a fixed amount, wrapping around from z back to a. Given a...

2 Monate vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 Monate vor

Gelöst


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

2 Monate vor

Gelöst


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

2 Monate vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

2 Monate vor

Gelöst


Compute Average Power of a Pulsed Radar
Compute the average transmitted power of a pulsed radar over one pulse repetition time. The inputs are the peak power Pp (Watt [...

2 Monate vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

2 Monate vor

Gelöst


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

2 Monate vor

Gelöst


Output a vector which is table of 9
Output a vector which is table of 9

2 Monate vor

Gelöst


F-score

2 Monate vor

Gelöst


Calculate Radar Pulse Energy
Compute the energy contained in a single radar pulse. The inputs are the peak power Pp (W) and the pulse width PW (s). The pulse...

2 Monate vor

Gelöst


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

2 Monate vor

Gelöst


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

2 Monate vor

Gelöst


cube of number
find cube of number

2 Monate vor

Gelöst


Watt
Ampere x Volt = Watt

2 Monate vor

Gelöst


provide the numerical answer to these number questions...
return a row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to...

2 Monate vor

Gelöst


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

2 Monate vor

Gelöst


Perfect Square
Determine if the input is a perfect square (square of an integer) or not. Example - If input is 25(==5^2), return 1. If input...

2 Monate vor

Gelöst


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

2 Monate vor

Gelöst


Check if integer
Given a vector of elements, determine if each element is an integer and return true or false accordingly.

2 Monate vor

Gelöst


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

2 Monate vor

Gelöst


divide by 5

2 Monate vor

Gelöst


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

2 Monate vor

Gelöst


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

2 Monate vor

Gelöst


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

2 Monate vor

Mehr laden