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

6 years ago

Solved

Determine if input is odd

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

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

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

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

6 years ago

Submitted

New Polygon Clipping and Offsetting

Polygon Clipping and Offsetting

7 years ago | 3 downloads |

Answered

Font problems when exporting as EPS

This is still a problem in 2016a. Inexcusable that this has not been fixed in 2 years of releases. plot([0 1],[0 1]); x...

Font problems when exporting as EPS

This is still a problem in 2016a. Inexcusable that this has not been fixed in 2 years of releases. plot([0 1],[0 1]); x...

7 years ago | 2

Question

fast interpolation for uniform grid

For repeated interpolation calls, the griddedInterpolant is much faster than interp1. However, MATLAB's interp1 used to have an...

9 years ago | 0 answers | 0

Question

how to add method to extend built-in class

Prior to R2008a, it was possible to extend a class and a new method by just creating, somewhere in the path, the file _@classnam...

10 years ago | 1 answer | 2