Resuelto


Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...

10 meses hace

Resuelto


Broken Clock
Create a function that outputs t, an inputted matrix time x, in hours and minutes (hr:min) unless the time contains a five. In t...

10 meses hace

Resuelto


A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.

10 meses hace

Resuelto


Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...

10 meses hace

Resuelto


Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).

10 meses hace

Resuelto


Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.

10 meses hace

Resuelto


High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...

10 meses hace

Resuelto


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

10 meses hace

Resuelto


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

10 meses hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

10 meses hace

Resuelto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

10 meses hace

Resuelto


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

10 meses hace

Resuelto


Find max
Find the maximum value of a given vector or matrix.

10 meses hace

Resuelto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

10 meses hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

10 meses hace

Resuelto


The MATLAB Treasure Hunt – Extract the Hidden Cave’s Coordinates from a Long List of Numbers
After decoding the first clue, you uncover another piece of parchment — a long list of numbers. At first glance, it looks random...

10 meses hace

Resuelto


The MATLAB Treasure Hunt – Decode the First Clue Hidden in a Jumbled Sequence of Numbers
You discover an ancient parchment inside the college archives. It contains a jumbled sequence of numbers that seems meaningless ...

10 meses hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

10 meses hace

Resuelto


Find the max element of the array
Find the max element of the array

10 meses hace

Resuelto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

10 meses hace

Resuelto


to the 2 all elements
to the 2 all elements

10 meses hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

10 meses hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

10 meses hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

10 meses hace

Resuelto


String Logic 19
Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'

10 meses hace

Resuelto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

10 meses hace

Resuelto


Temperature Conversion 2

10 meses hace

Resuelto


Temperature Conversion 1

10 meses hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10 meses hace

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

10 meses hace

Cargar más