Solved


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 ago

Solved


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 ago

Solved


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

15 years ago

Solved


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

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

15 years ago

Published


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

15 years ago

Thumbnail

Published


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

15 years ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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

15 years ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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

15 years ago

Thumbnail

Published


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

15 years ago

Thumbnail

Published


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 ago

Thumbnail

Published


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 ago

Thumbnail

Published


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

15 years ago

Thumbnail

Published


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

15 years ago

Thumbnail

Published


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 ago

Thumbnail

Published


Detect Curve Intersections, Quickly and Easily
Brett's Pick this week is "Fast and Robust Curve Intersections," by Douglas Schwarz. If you've ever...

15 years ago

Thumbnail

Published


OFDM Synchronization in Simulink
Idin's pick this week is "Pilot Directed Continuous Synchronization of OFDM" by Dick Benson. Orthogonal...

15 years ago

Thumbnail

Published


Exporting figures to PowerPoint®
Jiro's pick this week is Smart PowerPoint Exporter by Dmitriy Aronov. Have you ever wanted to export MATLAB...

15 years ago

Thumbnail

Published


Morphologically Altering Images, Interactively
Brett's Pick this week is "MorphTool," by ... Brett. Okay, first time ever...I'm picking one of my own. ...

15 years ago

Thumbnail

Published


Automatically size and connect blocks
Doug's pick this week is AutoSizeOnConnect by Mike Anthony. I love the fact that Simulink provides a graphical view of...

15 years ago

Thumbnail

Load more