Answered

Procrustes with dcm2angle: sign error?

The function <http://www.mathworks.com/help/releases/R2013b/stats/procrustes.html |procrustes|> allows reflection by default. If...

Procrustes with dcm2angle: sign error?

The function <http://www.mathworks.com/help/releases/R2013b/stats/procrustes.html |procrustes|> allows reflection by default. If...

9 years ago | 0

Answered

how can I change the distance between the axis and their title?

A title is a text object. You can change the position of any text object by using <http://www.mathworks.com/help/releases/R2013b...

how can I change the distance between the axis and their title?

A title is a text object. You can change the position of any text object by using <http://www.mathworks.com/help/releases/R2013b...

9 years ago | 1

Answered

is it possible to detect repeated values in a matrix?how?

This can be done using <http://www.mathworks.com/help/releases/R2013b/matlab/ref/hist.html hist> and <http://www.mathworks.com/h...

is it possible to detect repeated values in a matrix?how?

This can be done using <http://www.mathworks.com/help/releases/R2013b/matlab/ref/hist.html hist> and <http://www.mathworks.com/h...

9 years ago | 1

| accepted

Answered

Issue with updating xlabel/ylabel

Check if the xlabel string is a cell array when you retrieve it. If it is a cell, then the code: xoffset = blah...

Issue with updating xlabel/ylabel

Check if the xlabel string is a cell array when you retrieve it. If it is a cell, then the code: xoffset = blah...

9 years ago | 1

| accepted

Answered

unable to plot graph as well as form a table as it is taking only last value of the loop,plz help me in this particular matter as i ve my submission on coming friday

The code for generating the table and printing it to a file is correct, but the variables |y|, |ud|, and |taub| are all scalars....

unable to plot graph as well as form a table as it is taking only last value of the loop,plz help me in this particular matter as i ve my submission on coming friday

The code for generating the table and printing it to a file is correct, but the variables |y|, |ud|, and |taub| are all scalars....

9 years ago | 0

| accepted

Answered

how to call multiple binary images in for loop?

A <http://www.mathworks.com/help/releases/R2013b/matlab/ref/cell.html cell array> would be your best bet. Read each image in and...

how to call multiple binary images in for loop?

A <http://www.mathworks.com/help/releases/R2013b/matlab/ref/cell.html cell array> would be your best bet. Read each image in and...

9 years ago | 0

Answered

read variable lon and lat in group larvae in netcdf4 a.nc

You can read a variable |'variablename'| in a group |'/groupname/'| using |'/groupname/variablename|' as the argument for the va...

read variable lon and lat in group larvae in netcdf4 a.nc

You can read a variable |'variablename'| in a group |'/groupname/'| using |'/groupname/variablename|' as the argument for the va...

9 years ago | 7

Answered

Creating a random game of dice

A for loop needs an index variable and a set of values to loop through. Check out the documentation <http://www.mathworks.com/he...

Creating a random game of dice

A for loop needs an index variable and a set of values to loop through. Check out the documentation <http://www.mathworks.com/he...

9 years ago | 0

| accepted

Answered

How to plot several sets (in different colours) with stem3-plotting function?

You can use <http://www.mathworks.com/help/releases/R2013b/matlab/ref/hold.html |hold|> to overlay multiple plots on one set of ...

How to plot several sets (in different colours) with stem3-plotting function?

You can use <http://www.mathworks.com/help/releases/R2013b/matlab/ref/hold.html |hold|> to overlay multiple plots on one set of ...

9 years ago | 1

| accepted

Answered

New x- and y-data after rotation, using view(-90,90) and set(gca, 'YDir', reverse')

The functions that you are using affect the way the axes are drawn on a figure, not the underlining data. If all you want to do ...

New x- and y-data after rotation, using view(-90,90) and set(gca, 'YDir', reverse')

The functions that you are using affect the way the axes are drawn on a figure, not the underlining data. If all you want to do ...

9 years ago | 0

Answered

K-means for stock market timeseries

The function <http://www.mathworks.com/help/releases/R2013b/stats/kmeans.html |kmeans|> is part of the Statistics Toolbox in MAT...

K-means for stock market timeseries

The function <http://www.mathworks.com/help/releases/R2013b/stats/kmeans.html |kmeans|> is part of the Statistics Toolbox in MAT...

9 years ago | 0

| accepted

Answered

How do I select a window of pixels around a pixel?

You can <http://www.mathworks.com/help/matlab/math/matrix-indexing.html#f1-85544 access multiple elements of a matrix> using a v...

How do I select a window of pixels around a pixel?

You can <http://www.mathworks.com/help/matlab/math/matrix-indexing.html#f1-85544 access multiple elements of a matrix> using a v...

9 years ago | 2

| accepted

Answered

Textscan File and ignoring the newline characters

You should use |%q| instead of |%s| when double quotation marks are used to indicate text that you want to keep together. Additi...

Textscan File and ignoring the newline characters

You should use |%q| instead of |%s| when double quotation marks are used to indicate text that you want to keep together. Additi...

9 years ago | 3

| accepted

Answered

Element wise multiplication of vectors within matrices when multiplying matrices.

One way to perform the desired operation is to use a for loop to iterate through the third dimension of |M1| and |M2| and perfor...

Element wise multiplication of vectors within matrices when multiplying matrices.

One way to perform the desired operation is to use a for loop to iterate through the third dimension of |M1| and |M2| and perfor...

9 years ago | 0

Answered

How to edit histograms?

You can plot multiple histograms on a single set of axes using the <http://www.mathworks.com/help/releases/R2013b/matlab/ref/hol...

How to edit histograms?

You can plot multiple histograms on a single set of axes using the <http://www.mathworks.com/help/releases/R2013b/matlab/ref/hol...

9 years ago | 0

| accepted