Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Publicado


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

más de 14 años hace

Thumbnail

Cargar más