Community Profile

photo

Emma


Active since 2012

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Answered
Plotting multiple boxplots within the same plot/figure
This worked: NMat= zeros (6, 10000); mat(:,:)=NaN; mat(1,1:10000) = mat1; mat(2,1:10000) = mat2; mat(3,1:10000) = mat...

11 years ago | 0

Question


Plotting multiple boxplots within the same plot/figure
I have six variables that I would like to plot within the same figure/plot as individual box-plots. I have tried doing so by plo...

11 years ago | 2 answers | 0

2

answers

Question


I have code which reads-in a time series of 46 images, each 2400x2400 matrices. I have a variable 'k' which is a 10000x2 matrix which contains row/column locations of cells within the 2400x2400 matrices that I need to isolate. (In 'k': column 1....
I am in need of help in executing the following task. I have code which reads-in a time series of 46 images, each 2400x2400 m...

11 years ago | 1 answer | 0

1

answer

Question


When I try to run the following line of code, I get the error message "Error: Unbalanced or unexpected parenthesis or bracket." Although I understand the content of the error message, I cannot determine what is wrong with my syntax.
When I try to run the following line of code, I get the error message "Error: Unbalanced or unexpected parenthesis or bracket." ...

11 years ago | 1 answer | 0

1

answer

Question


I have a 2400x2400 matrix that I would like to use as a mask for each layer of a 2400x2400x46 matrix. Since the matrix dimensions are not equal, I cannot do so by simply multiplying the mask matrix by the larger matrix. How might I do this?
I have a 2400x2400 matrix that I would like to use as a mask for each layer of a 2400x2400x46 matrix. Since the matrix dimension...

11 years ago | 1 answer | 0

1

answer

Question


I want to create a simple histogram of the data in a matrix, though when I use hist(matrix), the figure that is created consists of numerous rainbow-colored bars, which though they are in the shape of a histogram are not what I need...
I want to create a simple histogram of the data in a matrix, though when I use hist(matrix), the figure that is created consists...

11 years ago | 1 answer | 1

1

answer

Question


Is it possible to obtain a random sample of values from a matrix without the randsample tool?
Is it possible to obtain a random sample of values from a matrix without the randsample tool?

11 years ago | 1 answer | 0

1

answer

Question


Finding the row/column locations of 1s in a boolean matrix
I have a Boolean matrix and I would like to find the row/column locations of all of the ones within the matrix. How might I go a...

11 years ago | 1 answer | 0

1

answer

Question


Cell contents assignment to a non-cell array object, hdf data
I have data in the form of an hdf file that I would like to fit into a 2400x2400x46 matrix. Currently when I read-in the hdf dat...

11 years ago | 1 answer | 0

1

answer

Question


I am not sure what the following error message indicates or how to resolve it: 'Error using double Conversion to double from cell is not possible.'
How might I address this error? Error using double Conversion to double from cell is not possible. The associated line of...

11 years ago | 2 answers | 0

2

answers

Question


Data not appearing in image
I have a 2400x2400 matrix that I would like to display as an image. When I do image(MyMatrix), the resulting image is just blue ...

11 years ago | 1 answer | 0

1

answer

Question


Adding matrices, resulting matrix is only a copy of one of the matrices being added
I am attempting to add three matrices although when I do so, the resulting matrix is the same as one of the matrices being added...

11 years ago | 2 answers | 0

2

answers

Question


Adding layers of a boolean matrix
I have a series of 2400x2400x46 double matrices, all comprised of 0s and 1s. I would like to add all of the layers of each matri...

11 years ago | 1 answer | 0

1

answer

Question


Error message: "undefined function for input arguments of type 'logical' "
What does the error message "undefined function for input arguments of type 'logical' " indicate?

11 years ago | 2 answers | 0

2

answers

Question


I have the following bit of code and when I run it, I get the error message "Undefined function 'nansum' for input arguments of type 'double'."
I have the following bit of code and when I run it, I get the error message "Undefined function 'nansum' for input arguments of ...

11 years ago | 1 answer | 0

1

answer