Gelöst


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

etwa 3 Jahre vor

Gelöst


Make a Plot with Functions
Make a plot and test

etwa 3 Jahre vor

Gelöst


Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

etwa 3 Jahre vor

Gelöst


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

etwa 3 Jahre vor

Gelöst


Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

etwa 3 Jahre vor

Gelöst


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

etwa 3 Jahre vor

Veröffentlicht


Contests, Contests!
Here in New England, autumn is in full swing. The maple leaves are shifting into their best yellows and reds. On MATLAB...

etwa 3 Jahre vor

Thumbnail

Gelöst


Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

etwa 3 Jahre vor

Veröffentlicht


New Features: How Do You Find the Good Stuff?
If I give you something but you never get the news, did I really give it to you? This happens all the time with MATLAB...

mehr als 3 Jahre vor

Thumbnail

Gelöst


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

mehr als 3 Jahre vor

Veröffentlicht


Home Made Magnetic Resonance Imaging
Listen in as Yuki Kamatani interviews a man who built his own MRI! Hi, I'm Yuki Kamatani, an application engineer in our...

mehr als 3 Jahre vor

Thumbnail

Gelöst


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

mehr als 3 Jahre vor

Veröffentlicht


Publishing to WordPress
This blog post began its life as a Live Script in MATLAB. I could have started typing into WordPress, but then I wouldn't...

fast 4 Jahre vor

Thumbnail

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

fast 4 Jahre 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...

fast 4 Jahre 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...

fast 4 Jahre 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,...

fast 4 Jahre 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 4 Jahre 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 4 Jahre vor

Gelöst


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

etwa 4 Jahre 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 4 Jahre 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 4 Jahre 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...

etwa 4 Jahre 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...

etwa 4 Jahre 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 4 Jahre 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 4 Jahre vor

Thumbnail

Gelöst


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

mehr als 4 Jahre 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 4 Jahre 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 4 Jahre 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 4 Jahre vor

Thumbnail

Mehr laden