Question

How to create isolate nodes in graph?

Hello, I am trying to create an isolate node (degree 0, no edges) in a graph. G = graph({'a', 'b', 'c','e'},{'c', 'a', 'd',''...

3 months ago | 1 answer | 0

Question

Cannot find highlight function

Hello - I am trying to use the highlight function to change the properties of some nodes of a graph. When I use highlight(...

3 months ago | 1 answer | 0

Question

Concatenate large matrices a bottleneck in function

Hi, I have a function that concatenates two matrices, size of 100000 X 90 for an outcome of 100000 X 180. This is a signif...

5 months ago | 1 answer | 0

Question

Histcounts including values beyond bin edges

Hi - I feel this should be very simple but can't find the answer. How do I use histcounts such that it includes values beyond ...

7 months ago | 1 answer | 0

Question

Question about patches after mapshow, and colorbar with mapshow

Hello, I am trying to create a chloropleth map, with shapes coloured according to a field of the shapefile. Some regions, due...

1 year ago | 1 answer | 0

Question

A general question about intersect

Hello - I have a general question. I can provide specifics if needed. How is it possible for size(intersect(MyData(i),MyDa...

1 year ago | 2 answers | 0

Question

Trouble calculating column mean from a matrix - using different indices for each row

Hello, I am trying to calculate a column of means from a 2-D matrix. The length of the mean is equally to the number of rows o...

1 year ago | 1 answer | 1

Question

Why does my log-normal distribution not fit my data?

Hello, I am fitting some realively simple data with a log normal distribution. I am then generating a probability distributio...

2 years ago | 2 answers | 0

Question

How can I get a stacked bar graph with a single bar?

Hello, I am trying to get a single bar using the stacked property: _figure; bar([0.2 0.8], 'stacked')_ This does not cr...

5 years ago | 2 answers | 2

Question

Concatenate along singleton dimension?

Hi, Is there a single-step way to concatenate two vectors along the singleton dimension? For example, a 10x1 vector and a 1x2...

5 years ago | 1 answer | 0

Question

Multinomial logistic regression with categorical predictors

Hello, I have (I hope) a relatively straight-forward question. I would like to use a multinomial logistic regression to predi...

5 years ago | 0 answers | 0