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

21 days ago

Solved


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

27 days ago

Solved


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

27 days ago

Solved


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

27 days ago

Solved


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

27 days 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 [...

27 days ago

Solved


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

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

27 days ago

Solved


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

27 days ago

Solved


F-score

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

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

28 days 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 =...

28 days ago

Solved


cube of number
find cube of number

28 days ago

Solved


Watt
Ampere x Volt = Watt

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

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

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

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

28 days ago

Solved


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

28 days ago

Solved


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

28 days ago

Solved


divide by 5

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

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

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

29 days ago

Solved


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

29 days ago

Solved


MATLAB 101: Equivalent Resistance Calculator
Calculate the equivalent resistance R_eq for n resistors connected in Series or Parallel.

29 days ago

Solved


Range Resolution of a Pulsed Radar
A pulsed radar transmits a rectangular pulse with duration tau seconds. Given the pulse duration, compute the radar range resolu...

29 days ago

Solved


Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

30 days ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

30 days ago

Load more