A résolu


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

plus de 13 ans il y a

Publié le


Trendy now gets data hourly, desktop gadgets & more
Trendy is a MATLAB Central application that scrapes a time series dataset from website(s) you specify. Trendy uses...

plus de 13 ans il y a

Thumbnail

A résolu


sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.

plus de 13 ans il y a

Publié le


How Trendy Saved My Life
OK, it didn’t really save my life. But Trendy’s users have helped me understand MATLAB coding and plotting… and to some,...

plus de 13 ans il y a

Thumbnail

A résolu


Largest Twin Primes
<http://en.wikipedia.org/wiki/Twin_prime Twin primes> are primes p1, p2 = p1 + 2 such that both p1 and p2 are prime numbers. Giv...

plus de 13 ans il y a

A résolu


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

plus de 13 ans il y a

Publié le


Earn MATLAB Badges in Cody
I’m pleased to share a recent Cody development: You’re playing along, and one day you notice Cody has begun to acknowledge...

plus de 13 ans il y a

Thumbnail

Publié le


England, Football, and Comma-Separated Tables
...

plus de 13 ans il y a

Thumbnail

Problème


Give a matrix that matches itself when rotated
Given n and s, return a n-by-n matrix a of integers such that sum(sum(a == rot90(a))) is equal to exactly s. The integer...

plus de 13 ans il y a | 2 | 15 solveurs

Problème


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

plus de 13 ans il y a | 3 | 2510 solveurs

Publié le


MATLAB Knots Contest Winners
And the winners of the MATLAB Knots Contest are… Raphaël Candelier – Grand Prize Winner Hannes Naudé – Prince of...

plus de 13 ans il y a

Thumbnail

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

presque 14 ans il y a

Publié le


A Meeting of the Contest Masterminds
The contest is winding down. The queue has been shut down one last time and we are waiting for the queue to finish...

presque 14 ans il y a

Thumbnail

A résolu


Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

presque 14 ans il y a

Publié le


MATLAB Knots Contest has started
The Fall 2012 MATLAB Contest is inspired by the game Planarity. But it was also inspired by the problem of the Gordian...

presque 14 ans il y a

Thumbnail

Réponse apportée
Single title spanning a nxn subplot
You might want to try <http://www.mathworks.com/matlabcentral/fileexchange/7772-suplabel suplabel> from the File Exchange.

presque 14 ans il y a | 0

| A accepté

Publié le


MATLAB Mobile for Android
It’s here! MATLAB Mobile is now available on the Android™ platform. From your Android smartphone or tablet, you can now...

presque 14 ans il y a

Thumbnail

Publié le


Have you heard of the MATLAB Contest?
That’s right… MATLAB Central has a programming contest where contestants submit MATLAB code to try to solve a challenge. The...

presque 14 ans il y a

Thumbnail

A résolu


Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

presque 14 ans il y a

A résolu


Set a diagonal
Given a matrix M, row vector v of appropriate length, and diagonal index d (where 0 indicates the main diagonal and off-diagonal...

presque 14 ans il y a

Publié le


What’s new on File Exchange
As David Garrison explained in his earlier post&nbsp;on the Art of MATLAB blog, MATLAB Apps are a great way to extend your...

presque 14 ans il y a

Thumbnail

Publié le


MATLAB communities all around the world
Most regular readers of this blog are members of our MATLAB Central community. Here you can find great resources like MATLAB...

presque 14 ans il y a

Thumbnail

Publié le


Getting answers to your MATLAB questions
I was reviewing user questions the other day, comparing how users ask questions about MATLAB within different parts of our...

presque 14 ans il y a

Thumbnail

Publié le


How do you use MATLAB Answers?
In a little over a year and a half, the MATLAB Answers community has: Grown to 20,000+ askers and answerers. Posted tens of...

presque 14 ans il y a

Thumbnail

Publié le


Try this on Cody and Trendy
Hi, I’m Bob Levy and I’ve recently joined the MATLAB Central team as Product Manager. I’ll be writing here periodically to...

presque 14 ans il y a

Thumbnail

Publié le


Learn about MATLAB Plots using Trendy
The other day I was looking at questions from our users on MATLAB Answers, the MATLAB Central and also on MATLAB’s Facebook...

presque 14 ans il y a

Thumbnail

Publié le


Mastering MATLAB Markup
In my completely biased opinion, one of the most useful features in Cody, Trendy, and MATLAB Answers is the ability to use...

presque 14 ans il y a

Thumbnail

Publié le


Wait bars and beyond: call me when you’re done
pre.codeinput { margin:0px 0px 20px; padding:10px; border:1px solid #d3d3d3; background:#f7f7f7; } Here’s a fun fact: the...

presque 14 ans il y a

Thumbnail

Publié le


MATLAB Central Community Freshens Up MathWorks Support Site
This summer, the MathWorks Support site launched new graphical aids and better access to helpful content. Specifically,...

environ 14 ans il y a

Thumbnail

Publié le


Lose the Gray Face: Customize Your Profile
Do you have a picture on your Community Profile? &nbsp;If you don’t, customize your Community Profile for a chance to win a...

environ 14 ans il y a

Thumbnail

Charger plus