A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 14 ans il y a

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

plus de 14 ans il y a

A résolu


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

plus de 14 ans il y a

A résolu


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

plus de 14 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

plus de 14 ans il y a

A résolu


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

plus de 14 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

plus de 14 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A soumis


Copy / Clone method for handle and hgsetget class
Enable deep copying of child objects of classes handle or hgsetget

plus de 14 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


Coordinate Extractor
Extract geographic coordinate(s) out of string(s).

environ 15 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


gridcolor
Change color of grid lines without changing color of axis labels or box

environ 17 ans il y a | 1 téléchargement |

2.3 / 5
Thumbnail

A soumis


plotLDS
Enhance zooming and panning on large data sets by automatically downsampling data

plus de 17 ans il y a | 1 téléchargement |

4.0 / 5

A soumis


Callback Stack
Easy way to add multiple callbacks to objects, which support callback-functions (e.g. HG objects)

plus de 17 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


cline
Draw a colored line in 2D or 3D

presque 18 ans il y a | 1 téléchargement |

4.9 / 5
Thumbnail

A soumis


Polygon Clipper
Given two arbitrary polygons, the routine calculates the resulting polygon ...

presque 18 ans il y a | 2 téléchargements |

4.6 / 5
Thumbnail

A soumis


Curve Intersect 2
Finds the intersection points between two arbitrary polygons.

plus de 19 ans il y a | 2 téléchargements |

4.94737 / 5
Thumbnail

A soumis


tasklist / pslist
Get the current tasklist

plus de 20 ans il y a | 1 téléchargement |

4.5 / 5

A soumis


GeogrCoordLabel
Function to label axis with geographical coordinates.

presque 21 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


GetSRTMData
Extract heigth information from SRTM-files.

plus de 21 ans il y a | 1 téléchargement |

3.85714 / 5