photo

Thomas


Last seen: alrededor de 1 mes hace Con actividad desde 2024

Followers: 0   Following: 0

Estadísticas

  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Community Group Solver
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

alrededor de 1 mes hace

Resuelto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

alrededor de 1 mes 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.

alrededor de 1 mes 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.

alrededor de 1 mes hace

Resuelto


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

alrededor de 1 mes hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

alrededor de 1 mes hace

Resuelto


Converts numbers into characters
Converts numbers into characters

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


to the 2 all elements
to the 2 all elements

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

alrededor de 1 mes hace

Resuelto


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

alrededor de 1 mes 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;...

alrededor de 1 mes hace

Resuelto


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

alrededor de 1 mes hace

Resuelto


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

alrededor de 1 mes hace

Resuelto


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

alrededor de 1 mes hace

Resuelto


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

alrededor de 1 mes hace

Resuelto


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

alrededor de 1 mes hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Inner product of two vectors
Find the inner product of two vectors.

alrededor de 1 mes hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

alrededor de 1 mes hace

Cargar más