게시됨


Mathematics and Humanities: Understanding Sort Algorithms
Steve recently mentioned a video showing how the quiksort algorithm works, including an explanation from Bobby...

대략 14년 전

Thumbnail

게시됨


Running Scripts on a Cluster Using the Batch Command in Parallel Computing Toolbox
I'd like to introduce this week's guest blogger Edric Ellis. Edric works for the Parallel Computing development...

대략 14년 전

Thumbnail

게시됨


Have You Visited MATLAB Central Recently?
I don't know if you visit MATLAB Central often, but there's a good reason to these days. ...

대략 14년 전

Thumbnail

게시됨


Considering Performance in Object-Oriented MATLAB Code
I’m pleased to have Dave Foti back for a look at objects and performance. Dave manages the group responsible...

대략 14년 전

Thumbnail

게시됨


New Regression Capabilities in Release 2012A
This week Richard Willey from technical marketing will be guest blogging about new regression capabilities...

대략 14년 전

Thumbnail

게시됨


MATLAB Virtual Conference – 28 March 2012
I am pleased to announce that we have another MATLAB Virtual Conference planned and taking place towards the...

대략 14년 전

Thumbnail

게시됨


Controlling RGB LED via Potentiometer Using Arduino and MATLAB
I'd like to introduce this week's guest blogger Ankit Desai. Ankit works for the Test & Measurement team...

대략 14년 전

Thumbnail

게시됨


Separating Errors from Output in a Deployed Application
Guest blogger Peter Webb returns with another in an occasional series of postings about application...

대략 14년 전

Thumbnail

문제를 풀었습니다


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

대략 14년 전

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

대략 14년 전

문제를 풀었습니다


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

대략 14년 전

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

대략 14년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

대략 14년 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

대략 14년 전

문제를 풀었습니다


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

대략 14년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

대략 14년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 14년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 14년 전

문제를 풀었습니다


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

대략 14년 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

대략 14년 전

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

대략 14년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

대략 14년 전

문제를 풀었습니다


Create a function handle that reverses the input arguments of another function handle
Given a function that takes two input arguments and returns one output, create another function handle that performs the same op...

대략 14년 전

문제를 풀었습니다


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

대략 14년 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

대략 14년 전

게시됨


Using GPUs in MATLAB
Today I’d like to introduce guest blogger Sarah Wait Zaranek who works for the MATLAB Marketing team. Sarah...

대략 14년 전

Thumbnail

게시됨


MATLAB Documentation
For quite a while now, we have made MathWorks product documentation available from the support page on our web...

14년 초과 전

Thumbnail

게시됨


Best Practices for Programming MATLAB
I thought I would share my top goto list of things I try to do when I write MATLAB code. And checking with...

14년 초과 전

Thumbnail

게시됨


Liberating Deployed Application Output from the Console Window
Guest blogger Peter Webb returns with another in an occasional series of postings about application...

14년 초과 전

Thumbnail

게시됨


Ginger Plot Winner
If you've been following the comments from my recent post on chaotic maps, you know that there were several...

14년 초과 전

Thumbnail

더 보기