Gelöst


Find the complement of a number in binary
Input x is a decimal number and output y is the complement of binary representation of x. For example, x = 10 has the binary ...

11 Monate vor

Veröffentlicht


Happy Valentines Day!
I found this lovely algorithmic heart in the comments of an old Walking Randomly post. Research software superstar Mike...

12 Monate vor

Thumbnail

Veröffentlicht


Community Q&A – Yair Altman
Yair Altman is a top participant on MATLAB Central, especially within File Exchange.  He is best known for being the...

12 Monate vor

Thumbnail

Veröffentlicht


Dr. Maeda Wins With MATLAB!
Some people say it's hard to make predictions. Not true. But making accurate predictions... okay, that's hard. Even so,...

etwa ein Jahr vor

Thumbnail

Veröffentlicht


Tips ‘n’ Tricks with Chris Armstrong of BAE Systems
As part of my business travel over the years, I've been fortunate to visit the UK several times and meet folks from BAE...

etwa ein Jahr vor

Thumbnail

Gelöst


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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.

etwa ein Jahr vor

Veröffentlicht


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

etwa ein Jahr vor

Thumbnail

Veröffentlicht


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

mehr als ein Jahr vor

Thumbnail

Veröffentlicht


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

mehr als ein Jahr vor

Thumbnail

Veröffentlicht


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

mehr als ein Jahr vor

Thumbnail

Veröffentlicht


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

mehr als ein Jahr vor

Thumbnail

Gelöst


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

mehr als ein Jahr vor

Veröffentlicht


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

mehr als ein Jahr vor

Thumbnail

Gelöst


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

mehr als ein Jahr vor

Veröffentlicht


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

mehr als ein Jahr vor

Thumbnail

Veröffentlicht


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

fast 2 Jahre vor

Thumbnail

Veröffentlicht


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

fast 2 Jahre vor

Thumbnail

Gelöst


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

fast 2 Jahre vor

Veröffentlicht


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

fast 2 Jahre vor

Thumbnail

Gelöst


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

fast 2 Jahre vor

Veröffentlicht


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

fast 2 Jahre vor

Thumbnail

Veröffentlicht


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

fast 2 Jahre vor

Thumbnail

Veröffentlicht


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

etwa 2 Jahre vor

Thumbnail

Veröffentlicht


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

etwa 2 Jahre vor

Thumbnail

Veröffentlicht


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

etwa 2 Jahre vor

Thumbnail

Gelöst


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

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Mehr laden