photo
Programming Languages:
MATLAB
Spoken Languages:
English

Statistik

All
  • MATLAB Shorts Mini Hack Participant
  • MATLAB Flipbook Mini Hack Participant
  • First Answer
  • Community Group Solver
  • Solver
  • Top Downloads 2024
  • GitHub Submissions Level 1
  • Personal Best Downloads Level 5
  • MATLAB Flipbook Mini Hack 2nd place
  • 5-Star Galaxy Level 5
  • Explorer
  • First Review

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


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

etwa ein Monat vor

Gelöst


Sum of series VIII

etwa ein Monat vor

Gelöst


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

etwa ein Monat vor

Gelöst


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

etwa ein Monat vor

Gelöst


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

etwa ein Monat 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 2 Jahre vor

Gelöst


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

mehr als 2 Jahre vor

Gelöst


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

mehr als 2 Jahre vor

Gelöst


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end),...

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

mehr als 2 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mehr als 2 Jahre vor

Gelöst


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

mehr als 2 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mehr als 2 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mehr als 2 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mehr als 2 Jahre vor