Community Profile

photo

Peter


Active since 2011

Professional Interests: data analysis

Statistics

All
  • First Review
  • Thankful Level 1
  • Solver

View badges

Content Feed

View by

Question


Convert python numpy array to double
The plot call below will throw an error because x is not a matlab type. How do you convert a python numpy array to a regular mat...

8 years ago | 4 answers | 2

4

answers

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

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

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

11 years ago

Question


ring (annulis) patch?
Dear friends, How do I make a 2D ring (annulus) patch? Is it possible to make it as a single patch with a single object handle?...

12 years ago | 3 answers | 1

3

answers