문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

14년 초과 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

14년 초과 전

제출됨


fftnoise - generate noise with a specified power spectrum
Useful helper function for Monte Carlo null-hypothesis tests and confidence interval estimation.

대략 15년 전 | 다운로드 수: 861 |

5.0 / 5
Thumbnail

제출됨


gap size
Calculates number of consequtive NaNs in a vector.

15년 초과 전 | 다운로드 수: 238 |

4.0 / 5

제출됨


Moving averages / Moving median etc
Calculates moving averages (or median/fun) of a timeseries.

15년 초과 전 | 다운로드 수: 15947 |

4.1 / 5
Thumbnail

제출됨


samexaxis (nice subplots with same x axis)
Makes it alot easier to make nice figures with the same x axis.

거의 18년 전 | 다운로드 수: 13778 |

4.4 / 5
Thumbnail

제출됨


Seam Carving for content aware image resizing
illustrative example of the seam carving algorithm.

대략 19년 전 | 다운로드 수: 16449 |

4.71429 / 5
Thumbnail

제출됨


Surfer Griddata
A gridding interface with surfer (v7). Works just like griddata.

20년 초과 전 | 다운로드 수: 6536 |

4.08333 / 5

제출됨


cut samples - interpolation
Interpolates irregular spaced data by 'cutting' the x axis into specified intervals.

20년 초과 전 | 다운로드 수: 3438 |

5.0 / 5
Thumbnail

제출됨


Average mutual information
Average mutual information

20년 초과 전 | 다운로드 수: 5853 |

5.0 / 5

제출됨


Moving variance
Calculates moving variance of a time series.

대략 21년 전 | 다운로드 수: 5970 |

4.85714 / 5

제출됨


dispmtx
Display a matrix in a nicely formatted way.

21년 초과 전 | 다운로드 수: 1879 |

4.0 / 5
Thumbnail

제출됨


RD3 Library
Loads and saves rd3 files (ground penetrating radar).

거의 22년 전 | 다운로드 수: 3611 |

5.0 / 5

제출됨


Parse function arguments
A useful tool for parsing function arguments like 'cellspacing',6,'monkey',1

거의 22년 전 | 다운로드 수: 5521 |

4.5 / 5

제출됨


tcolor (a fast pcolor that likes RGB images)
Draws an image as a texture to a plane.

대략 23년 전 | 다운로드 수: 3875 |

3.85714 / 5