Solved

Compute a dot product of two vectors x and y

x and y are input vectors, d is a number and contains their dot product

mer än 8 år ago

Solved

Is my wife right? Now with even more wrong husband

Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

mer än 8 år ago

Solved

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

mer än 8 år ago

Solved

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

mer än 8 år ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

mer än 8 år ago

Solved

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

mer än 8 år ago

Solved

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

mer än 8 år ago

Solved

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

mer än 8 år ago

Submitted

labelEdgeSubPlots

Automatically apply x and y labels to subplots only along the edges.

ungefär 9 år ago | 4 downloads |

Answered

Overlapping points

It's not very clear what you're plotting so it's a little hard to answer your question. Maybe some of the following help. %N...

Overlapping points

It's not very clear what you're plotting so it's a little hard to answer your question. Maybe some of the following help. %N...

mer än 9 år ago | 0

Answered

Help needed in passing a function as a parameter in another function

"no I am in the directory where sample.m is and the functions that I need to pass are in the fcts folder in a directory inside t...

Help needed in passing a function as a parameter in another function

"no I am in the directory where sample.m is and the functions that I need to pass are in the fcts folder in a directory inside t...

mer än 9 år ago | 0

Submitted

mat2im

Convert 2D matrix to a 3D image matrix as used by the image processing toolbox

ungefär 11 år ago | 4 downloads |

Submitted

rug plots

Creates a so-called "rug" plot similar to those produced by the free stats package, R.

mer än 11 år ago | 2 downloads |

Submitted

Kalman filter for noisy movies

Applies a Kalman filter to the time domain of an image sequence.

mer än 11 år ago | 7 downloads |

Submitted

numSubplots - neatly arrange subplots

Calculate how many rows and columns of sub-plots are needed to neatly display n subplots.

mer än 11 år ago | 7 downloads |