How to put values in matrix based on some condition?
>> r=rand(5); >> r(2:end,1)=0 r = 0.0596 0.0967 0.6596 0.4538 0.1734 0 0.8181 0.518...

7年以上 前 | 0

| 採用済み

Why can i not plot this?
You can't plot anything because your code is full of mistakes. For starters, x and y are both just one number so you don't have ...

7年以上 前 | 1

When will Jacket be merged into Parallel Computing Toolbox?
It seems they're now at http://arrayfire.com/ and are open source.

8年弱 前 | 0

When will MATLAB 2014b release?
This release is unusually late. HG2 update is a big deal, I'd say... http://undocumentedmatlab.com/blog/hg2-update

8年以上 前 | 0

how to register CT brain image & MRI bain image of same patient?
This likely isn't trivial because the images will look quite different and may be of different resolutions, etc. I suspect you'l...

10年弱 前 | 1

How to using PCA or LDA to classify data (wine dataset)?
PCA is used for dimensionality reduction and to help you visualise higher dimensional data. On its own it is not a classificatio...

10年弱 前 | 0

| 採用済み

Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

10年以上 前

surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

10年以上 前

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

10年以上 前

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

10年以上 前

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

10年以上 前

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

10年以上 前

Is my wife right?
Regardless of input, output the string 'yes'.

10年以上 前

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

10年以上 前

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

10年以上 前

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

10年以上 前

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

10年以上 前

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

10年以上 前

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

11年弱 前 | ダウンロード 1 件 |

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

11年弱 前 | 0

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

11年弱 前 | 0

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

13年弱 前 | ダウンロード 4 件 |

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

13年弱 前 | ダウンロード 2 件 |

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

13年以上 前 | ダウンロード 5 件 |

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

13年以上 前 | ダウンロード 7 件 |