Solved


Rolling maximums above a threshold
You are given either a vector or a 2-D matrix M and a threshold value of t. Write a script that will calculate how many times t...

3 years ago

Solved


unique with nan
input x = [2 NaN 3 5 NaN; 1 NaN 4 9 NaN; 8 -2 7 6 -2; 7 4 8 5 4]; output y_correct = [2 ...

3 years ago

Solved


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

3 years ago

Solved


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

3 years ago

Solved


Number Puzzle - 035

3 years ago

Solved


Number Puzzle - 034

3 years ago

Solved


Linear Motion 6
An experimental vehicle traveling at v1 m/s is brought to a full stop in t seconds. How far does it travel before stopping? Roun...

3 years ago

Solved


Linear Motion 5
A robot moving down an incline for 3 seconds undergoes a uniform acceleration of a ft/s2. If the robot has an initial velocity o...

3 years ago

Solved


Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...

3 years ago

Solved


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

3 years ago

Solved


Looking for Squares
Need n squares that equal one square all together, none zero, none fractured. For example, calling squares(2) should output [16...

3 years ago

Solved


Counting Squares
An algorithm starts with a single square and on each of its next iterations adds new squares all around the outside as shown bel...

3 years ago

Solved


How many hours are there in a day in Italy?
Remember "European Summer Time"

3 years ago

Solved


Calcular la razón de proporcionalidad
Dadas dos magnitudes (a y b) en forma de vectores, crear una función que permita obtener la razón de proporcionalidad _*m*_ sólo...

3 years ago

Solved


Good Morning :)
Just submit your solution between 05:00:00 and 10:00:00 (AM = Ante Meridiem = Before Noon). _Note : Consider Cody Server Time...

3 years ago

Solved


A kind of decryption
Please convert the vector to letters by referring to the examples below. (eg.1) input vec=[34 1 59] >>> output s='A Z' (eg...

3 years ago

Solved


Find the slope of a line that passes through two vectors
Given two vectors p1 and p2, return the slope of a line that passes through p1 and p2. Examples: Input [p1,p2] = deal([0,1],[...

3 years ago

Solved


Minkowski distance

3 years ago

Solved


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

3 years ago

Solved


Basic Mathematics 5
The total area of all four equal sections of the game field is N ft². Each section has a rectangle of dimensions X ft x Y ft re...

3 years ago

Solved


Scrabble Scores - 5
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

3 years ago

Solved


Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

3 years ago

Solved


Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

3 years ago

Solved


Normalizing a vector

3 years ago

Solved


Number Puzzle - 033

3 years ago

Solved


Number Puzzles - 001

3 years ago

Solved


Upper case and lower case!

3 years ago

Solved


number play

3 years ago

Load more