Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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 months ago

Solved


Explode string
Break a sentence into cell of words

2 months ago

Solved


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 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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 months ago

Solved


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

2 months ago

Solved


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 months ago

Solved


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

2 months ago

Solved


F-score

2 months ago

Solved


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 months ago

Solved


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 months ago

Solved


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 months ago

Solved


cube of number
find cube of number

2 months ago

Solved


Watt
Ampere x Volt = Watt

2 months ago

Solved


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 months ago

Solved


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 months ago

Solved


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 months ago

Solved


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 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


divide by 5

2 months ago

Solved


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 months ago

Solved


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 months ago

Solved


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 months ago

Load more