# Sim

Last seen: Today Aktiv seit 2019

Followers: 0   Following: 0

#### Statistik

All

Abzeichen anzeigen

#### Feeds

Anzeigen nach

Frage

Crosstab by using the same input for both arguments
If I run one of the examples of crosstab, I get the same result as indicated in the crosstab webpage: rng default; % for repro...

etwa 5 Stunden vor | 0 Antworten | 0

### 0

Antworten

Beantwortet
Using chi2gof to test two distributions
Shouldn't you use the two-sample chi-square test? The CHI2TEST2 Version 1.0.0.0 (2.44 KB) function by James Meldrum performs th...

ein Tag vor | 0

Beantwortet
An efficient way to round decimal numbers up to the n-decimal in a cell array
maybe I found it... (?) a = [ {[ 0.235089379668094 0]} {[0.0793405810870535 0]} {[ 0.142843392632868 0]} {[...

7 Tage vor | 0

Frage

An efficient way to round decimal numbers up to the n-decimal in a cell array
eIs there an efficient way to round decimal numbers up to the n-decimal in a cell array? In the following example, I would lik...

7 Tage vor | 2 Antworten | 0

### 2

Antworten

Frage

Import numpy and scipy (maybe through Anaconda) in Matlab
(1) Introduction. This is a follow up question of Call a Python function inside a MATLAB loop. I am trying to run the followin...

8 Tage vor | 1 Antwort | 0

### 1

Antwort

Frage

Call a Python function inside a MATLAB loop
In a Matlab script, is there a way to call a Python function, in loop for, in such a way that at every iteration the inputs of t...

10 Tage vor | 2 Antworten | 0

### 2

Antworten

Frage

Two-sample Anderson-Darling tests
Is there a function in Matlab which can perform a 2-sample Anderson-Darling test, as described/shown on Cross Validated or on R?...

11 Tage vor | 1 Antwort | 0

### 1

Antwort

Frage

Effect size, statistical power of the test, and confidence interval (of hypothesis testing)
I am using the following two-sample tests for non-normal distributions: chi2gof kstest2 ranksum kruskalwallis All of them r...

13 Tage vor | 0 Antworten | 0

### 0

Antworten

Frage

Bayes Factor functions/packages
I am using the following two-sample tests for non-normal distributions: chi2gof kstest2 ranksum kruskalwallis and I would l...

15 Tage vor | 0 Antworten | 0

### 0

Antworten

Beantwortet
Is ttest2 with the 'Vartype' set as 'unequal' essentially the same as a Welch's t-test?
First Comment. As @DJB wrote in his/her comment, we can go to the "More About" Section of Two-sample t-test, and read the follow...

16 Tage vor | 0

Frage

Reduce the inputs for the chi2gof function (follow-up question of: Using chi2gof to test two distributions)
This is a follow-up question of Using chi2gof to test two distributions. @Allie had the following inputs, i.e. the binned obser...

30 Tage vor | 1 Antwort | 0

### 1

Antwort

Frage

What is the correct input for the Two-sample Kolmogorov-Smirnov test, when I need to compare two histograms?
What is the correct input for the Two-sample Kolmogorov-Smirnov test, when I need to compare two histograms? Example 1. If th...

etwa ein Monat vor | 0 Antworten | 0

### 0

Antworten

Frage

legend symbol disappears when plotting a polyshape
If there is not any output from the legend, the symbol of the polyshape is visible: p=plot(polyshape([0 0 1 1],[1 0 0 1])); le...

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

Change coordinate system, from EPSG 3003 to EPSG 32632 (i.e. WGS 84 / UTM zone 32N)
I have the following point with x-y-coordinates in the EPSG 3003 coordinate system: a = [1.7202e+06 4.8998e+06] How can change...

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Beantwortet
A border/perimeter/rectangle around the inset plot, in a subplot environment
Got it, with the Control Axes Layout options! fig = figure; for i = 1 : 6 subplot(3,2,i) scatter(rand(1,10),rand(1,1...

etwa 2 Monate vor | 1

Frage

A border/perimeter/rectangle around the inset plot, in a subplot environment
In the following subplot environment, how can I draw a red border/perimeter/rectangle around/wrapping the inset plot? fig = fig...

etwa 2 Monate vor | 2 Antworten | 0

### 2

Antworten

Beantwortet
How can I bring the xticklabels closer to the x-axis/xticks?
Sorry, siilly question... I got it: plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... 'LineWidth',1,'TickDi...

etwa 2 Monate vor | 1

| akzeptiert

Frage

How can I bring the xticklabels closer to the x-axis/xticks?
How can I bring the xticklabels closer to the x-axis/xticks? plot(1:10,1:10) set(gca,'Fontsize',20,'FontWeight','normal',... ...

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

The farthest yticklabels do not appear when using ax.YAxisLocation = 'origin'
The two farthest ytickslabels (in this case both -1 and +1), do not show up if I use ax.YAxisLocation = 'origin' x=-1:0.1:1; p...

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

ylabel changes position with ax.YAxisLocation = 'origin'
If I use ax.YAxisLocation = 'origin'; the text of the ylabel changes position, going to the top of the plot and appearing hori...

etwa 2 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

How can I "connect" the colorbar to my values of a scatter plot?
How can I "connect" the colorbar to my values (between 0 and 1) of a scatter plot? a = rand(1000,1); C = 1-[a a a]; scatter(1...

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Beantwortet
A (simple) way to use ismember between datetime arrays with different formats
Maybe I found a way, but I am not sure about "dateshift(B, 'start', 'day')": % Input A = datetime(... ['19-Jun-2023', ...

etwa 2 Monate vor | 0

Frage

A (simple) way to use ismember between datetime arrays with different formats
Is there a (simple) way to use ismember between datetime arrays with different formats? In the following example, I want to fin...

etwa 2 Monate vor | 2 Antworten | 0

### 2

Antworten

Beantwortet
logspace with a different base
maybe I found it, but I am not sure: a = -2; b = 3; n = 6; B = 3.5; y = B .^ linspace(a, b, n)

etwa 2 Monate vor | 1

| akzeptiert

Frage

logspace with a different base
As far as I understood y = logspace(a,b,n) works for logarithms of base 10. For example we can have: format longG y = logspace...

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

Join Subgraphs into a new Graph
Is there a way or function in Matlab to merge/connect/join a number of Subgraphs into a new Graph? The following code shows tha...

etwa 2 Monate vor | 2 Antworten | 0

### 2

Antworten

Beantwortet
Error: Children may only be set to a permutation of itself
Solved just by adding "gca", as first argument of findobj, i.e. by using: b = findobj(gca,'Type','GraphPlot');

etwa 2 Monate vor | 0

Frage

Error: Children may only be set to a permutation of itself
When I use the following commands in a subplot environment getChildren = get(gca,'Children'); set(gca,'Children',[getChildren(...

etwa 2 Monate vor | 2 Antworten | 0

### 2

Antworten

Beantwortet
Uistack with a Graph and Subgraphs (GraphPlot)
I might have found a solution: % Graph s = [1 1 1 3 3 6 7 8 9 10 4 12 13 5 15 16 17 18 19 19 20 20 17 24 25 4 27 28 29]; ...

2 Monate vor | 0

Frage

Uistack with a Graph and Subgraphs (GraphPlot)
Introduction. I have the following Graph and Subgraphs: % Graph s = [1 1 1 3 3 6 7 8 9 10 4 12 13 5 15 16 17 18 19 19 20 20...

2 Monate vor | 1 Antwort | 0

Antwort