已解决


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

15 years 前

已解决


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

15 years 前

已解决


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

15 years 前

已解决


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

15 years 前

已解决


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

15 years 前

已解决


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

15 years 前

已解决


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

15 years 前

已解决


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

15 years 前

已解决


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

15 years 前

已解决


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

15 years 前

已解决


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

15 years 前

已发布


Publishing called functions
Jiro's pick this week is "Publish dependent and called functions" by Nick Angelini. Publishing is one of the...

15 years 前

Thumbnail

已发布


Drag Objects Conveniently
Brett's Pick this week is Draggable, by Francois Bouffard. For a pet project of mine, I needed to...

15 years 前

Thumbnail

已发布


Watch HDTV in MATLAB
Idin's Pick this week is ATSC: From RF to Video, by Dick Benson. Watch HDTV in MATLAB? Well, not quite. ...

15 years 前

Thumbnail

已发布


Automatically add copyright information to your MATLAB files
Jiro's pick this week is addcopyright by Mirko Hrovat. As a customer-facing engineer at MathWorks, I...

15 years 前

Thumbnail

已发布


Get Information About Your Computer
Brett's Pick this week is CPU Info by Ben Tordoff. Today's is a quick-Pick, to go with our holiday...

15 years 前

Thumbnail

已发布


Simulink for Natural Interaction Device
Doug's pick this week is Simulink for Natural Interaction Device by Takashi Chikamasa. Although I work at a software...

15 years 前

Thumbnail

已发布


A Vivid Colormap
Jiro's pick this week is Vivid Colormap by Joseph Kirk. Good uses of colors can help convey ideas effectively. It can...

15 years 前

Thumbnail

已发布


Will my flow be turbulent?
Brett's Pick this week is Moody, by Tom Davis. I am not a mechanical engineer, though I did study fluid...

15 years 前

Thumbnail

已发布


Scrolling Figures & GUIs
Ameya's pick this week is Scrollsubplot by Bjorn Gustavsson. This week, it's an early post because of...

15 years 前

Thumbnail

已发布


Errorbar with Adjusted Tick Size
Jiro's pick this week is Errorbar with Adjusted Tick by Arnaud Laurent. Just this week, I got a comment from...

15 years 前

Thumbnail

已发布


3D Polar Plotting
Brett's Pick this week is polarplot3d, by Ken Garrard. I don't often get suggestions from readers of this...

15 years 前

Thumbnail

已发布


Happy (belated) Halloween!
Michael's pick this week is Batman Equation: The Legend by Mingjing Zhang. This posting comes a bit too late...

15 years 前

Thumbnail

已发布


Numerical methods on piecewise-continuous functions
Jiro's pick this week is Chebfun v2 by the Chebfun Team. Contents ......

15 years 前

Thumbnail

已发布


Drawing Ellipses
Brett's Pick this week is ellipse, by David Long. I've blogged before about fitting circles, and about...

15 years 前

Thumbnail

已发布


Traveling Salesman Problem – Genetic Algorithm
Will's picks this week is Traveling Salesman Problem - Genetic Algorithm by Joseph Kirk. I stumbled upon this submission...

15 years 前

Thumbnail

已发布


Box plot + Scatter plot
Jiro's pick this week is notBoxPlot by Rob Campbell. If you have ever used boxplot from the Statistics...

15 years 前

Thumbnail

已发布


Determine File Dependencies
Brett's Pick this week is "FDEP: a pedestrian function dependencies finder," by Us. Back in September,...

15 years 前

Thumbnail

已发布


Import Test Cases From Excel Into Simulink
Greg's pick this week is CMTDTOOL by Yasumitsu Ito. Contents Adding...

15 years 前

Thumbnail

已发布


Ball and Beam
Jiro's pick this week is Ball and Beam Simulation by Jeffrey Kantor. Ball and beam is an interesting controls...

15 years 前

Thumbnail

加载更多