Community Profile

photo

Ryan Fitz


Last seen: 9 Monate vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

mehr als ein Jahr vor

Gelöst


Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

mehr als ein Jahr vor

Gelöst


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

mehr als ein Jahr vor

Gelöst


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

mehr als ein Jahr vor

Gelöst


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

mehr als ein Jahr 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 ...

mehr als ein Jahr vor

Gelöst


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

mehr als ein Jahr vor

Gelöst


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

mehr als ein Jahr 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.

mehr als ein Jahr vor

Gelöst


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

mehr als ein Jahr vor

Gelöst


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Return area of square
Side of square=input=a Area=output=b

mehr als ein Jahr vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

mehr als ein Jahr vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

mehr als ein Jahr vor

Gelöst


Converts numbers into characters
Converts numbers into characters

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


to the 2 all elements
to the 2 all elements

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

mehr als ein Jahr vor

Gelöst


Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

mehr als ein Jahr vor

Gelöst


Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

mehr als ein Jahr vor

Mehr laden