Publié le


Continued Fractions and Computations
Today's guest article is by Wesley Hamilton, a STEM Outreach engineer here at MathWorks. See his earlier piece on solving...

plus de 2 ans il y a

Thumbnail

A résolu


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

plus de 2 ans il y a

Publié le


What Is a Toolbox? New Guidelines for Authors
The File Exchange provides access to more than 46,000 free MATLAB projects. For 33,854 of these projects, the authors...

plus de 2 ans il y a

Thumbnail

Publié le


Nine Insights from My Conversation with Heather Gorr, Senior MATLAB Product Manager
Today's guest article is by Hans Scharler. Live Interview on Discord Recently, I had the privilege of engaging in a...

plus de 2 ans il y a

Thumbnail

Publié le


Solving Sudoku with MATLAB
Today's guest article is by Wesley Hamilton, a STEM Outreach engineer here at MathWorks. Wesley's roles involve...

plus de 2 ans il y a

Thumbnail

Publié le


An Algorithmic Spelling Bee
Earlier this year I wrote about solving word ladders with MATLAB. There was a lot of interest in that post, so I thought...

plus de 2 ans il y a

Thumbnail

Publié le


Celebrate pi day with a pi patch
Today's guest article is by Adam Danz whose name you might recognize from the MATLAB Central community. Adam is a...

presque 3 ans il y a

Thumbnail

Publié le


Taking the Hassle Out of Testing
This cartoon sums up my feelings about testing. Testing is great. When you have working tests, you feel clean and warm. The...

presque 3 ans il y a

Thumbnail

Publié le


Acquiring and Analyzing Sensor Data with MATLAB Mobile and MATLAB Online
MATLAB Mobile allows you to collect information from your device sensors and perform cool experiments with the acquired...

presque 3 ans il y a

Thumbnail

A résolu


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

presque 3 ans il y a

A résolu


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

presque 3 ans il y a

A résolu


Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

presque 3 ans il y a

A résolu


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

presque 3 ans il y a

A résolu


Next Tribonacci Number
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

presque 3 ans il y a

Publié le


Laddergrams
MATLAB is good at math, of course, but it can also let you have some fun with words. Go to the Gaming &gt; Word Games...

presque 3 ans il y a

Thumbnail

Publié le


Cookies & Code
Seasonal greetings of the Greater Solstice Metropolitan Area! As I write this, the solstitial sun sets on the shortest day...

environ 3 ans il y a

Thumbnail

Publié le


Crepuscular Tidings
As the days get shorter and drearier here in New England, I get hungry for sunlight. This makes me somewhat obsessed with...

environ 3 ans il y a

Thumbnail

Publié le


Cody Meets Cricket: Who’s Your Bunny?
Any cricketers out there? If you like cricket and coding in MATLAB (and who doesn't?), then allow me to direct your...

environ 3 ans il y a

Thumbnail

Publié le


2022 Mini Hack Content Analysis
Today, once again, I am delighted to introduce guest blogger Dave Bulkin. You may remember that Dave blogged in this space...

environ 3 ans il y a

Thumbnail

A résolu


Cricket - Most Frequent Bowler-Batter Wicket Combinations
Given a table representing all wickets taken in a particular set of matches, return a table of the bowler-batter pairs that occu...

environ 3 ans il y a

A résolu


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

environ 3 ans il y a

A soumis


Zoom Keys
Pan and zoom with simple keystrokes.

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

5.0 / 5
Thumbnail

A résolu


Extract the Acrostic Message
An acrostic cipher is a way of embedding one message within another by taking the first (or last) word of each line. Given a str...

environ 3 ans il y a

A résolu


Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

environ 3 ans il y a

A résolu


Generate Tribonacci Sequence
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...

environ 3 ans il y a

A résolu


Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...

environ 3 ans il y a

A résolu


Generate Pascal's Triangle Matrix
Pascal's triangle is an arrangement of numbers where each value is the sum of the values adjacent to it in the previous row: ...

environ 3 ans il y a

A résolu


Jack O'Lantern
If visualized correctly, the data contained in the matrix A will look like a jack-o'-lantern. Create a function that will visu...

environ 3 ans il y a

A résolu


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

environ 3 ans il y a

A résolu


Make a Plot with Functions
Make a plot and test

environ 3 ans il y a

Charger plus