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

etwa 7 Jahre vor

Gelöst


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

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

etwa 7 Jahre vor

Gelöst


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

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

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

etwa 7 Jahre vor

Gesendet


New Polygon Clipping and Offsetting
Polygon Clipping and Offsetting

etwa 7 Jahre vor | 7 Downloads |

Thumbnail

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

fast 8 Jahre vor | 2

Frage


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

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 11 Jahre vor | 1 Antwort | 2

1

Antwort