Zhaoxu Liu / slandarer - MATLAB Central
photo
Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

All
File ExchangeCodyMATLAB AnswersZoom OutFrom 07/20 to 03/25Use left and right arrows to move selectionFrom 07/20Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANK
672 of 20,421

REPUTATION
2,718

AVERAGE RATING
4.90

CONTRIBUTIONS
47 Files

DOWNLOADS
901

ALL TIME DOWNLOADS
20865

  • 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

View badges

Feeds

View by

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


Sum of series VIII

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

1 month ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Go to top of page