A résolu


frame of the matrix
Given the matrix M, return M without the external frame.

presque 5 ans il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

presque 5 ans il y a

Publié le


Mini Hack Contest Analysis
Today we have a guest post from Dave Bulkin. Dave is a developer on the MATLAB Graphics and Charting Team. Dave used to be...

presque 5 ans il y a

Thumbnail

Publié le


Flying Pumpkins, Dancing Pumpkins
Eric Ludlam likes pumpkins. That might surprise you when you see what he does to them. Example: give him a perfectly good...

presque 5 ans il y a

Thumbnail

Publié le


Call to Action: Look, then Vote! (and Give to Charity)
Something special is going on. Look at all these images. You're looking at 96 images from the ongoing Mini Hack...

environ 5 ans il y a

Thumbnail

Publié le


Twenty: A Birthday, a Contest, an Explosion of Images
As I said in my last post, here at the MathWorks Community blog we are currently celebrating an important milestone:...

environ 5 ans il y a

Thumbnail

Publié le


And Now We Are 20
It’s been twenty years since we launched MATLAB Central. It's tempting to say that it’s been twenty years since we started...

environ 5 ans il y a

Thumbnail

A résolu


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

environ 5 ans il y a

Publié le


Lightning Talks at the Japan EXPO
I recently learned about something fun: customer lightning talks at the Japan MATLAB EXPO 2021. A lightning talk is a...

environ 5 ans il y a

Thumbnail

A résolu


matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

plus de 5 ans il y a

Publié le


Update Heroes: Evergreen Contributions to the File Exchange
File Exchange developer Randy Souza (you've heard of Souza's Law, right?) was looking at some file updates coming through...

plus de 5 ans il y a

Thumbnail

Publié le


On the Importance of Software to Research
This week's post is by Mike Croucher. Mike is a member of the Customer Success Engineering team in the UK, working with...

plus de 5 ans il y a

Thumbnail

Publié le


Cody News: Test That Code Before You Submit It!
See this? This is so cool. What you're looking at is the new Scratch Pad area for Cody. It will make playing Cody more...

plus de 5 ans il y a

Thumbnail

A résolu


Neither minima nor maxima
Input v is a vector. Return all the elements of v which are not a local minimum or maximum. Example: v = [1 2 3 4 5] Ou...

plus de 5 ans il y a

Publié le


Community Q&A – Akrem Hadji
Akrem Hadji is a top contributor to Cody.  Here is a Q&A I did with Akrem who is a Telecommunications Engineer in...

plus de 5 ans il y a

Thumbnail

A résolu


Longest Sequence of NaNs
In an array return the length of longest sequence of nans for each column. x = [ 2 3 1 2 5 6; nan nan 5 n...

plus de 5 ans il y a

Publié le


Live Editor in MATLAB Mobile
The Live Editor combines code, output, and formatted text in a single executable notebook. Last year, we introduced this...

plus de 5 ans il y a

Thumbnail

Publié le


Happy Valentines Day!
What to do? It's nearly February 14th, and what, oh what will you get your sweet one? Your very own osculating curve? The...

plus de 5 ans il y a

Thumbnail

Publié le


MATLAB Drive and British Coal
The other day I received this email from my friend Jos. Very thoughtful of him! After a recent meeting, we were discussing...

plus de 5 ans il y a

Thumbnail

Publié le


Virtual Workshops with Black Girls Code and MissionSAFE
Guest bloggers Ishaani, a MathWorks UX Specialist, and Vidya Gopalakrishnan, a MathWorks Senior Technical Writer, bring you...

presque 6 ans il y a

Thumbnail

Publié le


How Long Is a Winter’s Day?
Happy December! The days sure seem longer in the winter. Of course, there are fewer hours of daylight. But the actual span...

presque 6 ans il y a

Thumbnail

A résolu


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

presque 6 ans il y a

A résolu


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

presque 6 ans il y a

A résolu


Proper Factors
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...

presque 6 ans il y a

A résolu


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

presque 6 ans il y a

A résolu


QWERTY Shift Code Decoder
Decode a string encoded using the QWERTY shift code. QWERTY shift code is where the message was touch typed but with an offse...

presque 6 ans il y a

A résolu


Word Distance - Sum
Let's suppose that the distance of a word can be calculated by summing the differences between its letters, having assigned the ...

presque 6 ans il y a

A résolu


Count letters occurence in text, specific to words with a given length.
Build a function with two input arguments: a string and a word length (number of letters), that outputs a vector of counts of th...

presque 6 ans il y a

A résolu


Data decompression
A chunk of data is to be 'decompressed'. Input: * compressed: a row vector of uint8 values. This is the compressed data. ...

presque 6 ans il y a

A résolu


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

presque 6 ans il y a

Charger plus