# Sim

Followers: 0 Following: 0

**Statistics**

RANK**1,613**

of 295,211

REPUTATION**41**

CONTRIBUTIONS

**239** Questions

**43** Answers

ANSWER ACCEPTANCE **
85.77%
**

VOTES RECEIVED**24**

RANK**19,444** of 20,193

REPUTATION**0**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**3**

RANK

of 153,380

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Fittype and fit do not work as expected (in a curve fitting)

Let's consider the following curve fitting of a set of data, by using the fittype and fit functions: % inputs x = [1 4 9 15 25...

13 days ago | 1 answer | 0

### 1

answerQuestion

How to remove some xticklabels (but still keeping all the xticks)?

How can I remove some xticklabels, but still keeping all the xticks? Let's consider the following example: x = 1:100; y = exp...

14 days ago | 2 answers | 0

### 2

answersQuestion

Bootstrapping Two Medians with the "bootstrp" function

Any idea on how to implement the Bootstrapping Two Medians method - here below explained - with the "bootstrp" function? Bootst...

2 months ago | 1 answer | 0

### 1

answerQuestion

Is there a function to create the P-P plot in Matlab, to compare two cumulative distribution functions against each other?

Is there a function to create the P-P plot in Matlab, to compare two cumulative distribution functions against each other? Fr...

2 months ago | 2 answers | 0

### 2

answersQuestion

Add a label to a minor tick, in an inset plot

How to add a label of one minor tick (in the x-axis) of an inset plot? % create a plot x1 = linspace(0,1000); y1 = sin(2*pi*x...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to get the values of the XAxis Minor Ticks (of an inset plot)

I have an inset plot, in a log-scale, and I would like to get the values of its XAxis Minor Ticks, with the following command: ...

2 months ago | 3 answers | 0

### 3

answersQuestion

How can I draw a frame around the inset plot?

How can I draw a frame around the inset plot? x1 = linspace(0,1); x2 = linspace(3/4,1); y1 = sin(2*pi*x1); y2 = sin(2*pi*x2)...

2 months ago | 2 answers | 0

### 2

answersQuestion

A simple/efficient way to add one additional xtick, and the corresponding xticklabel, to the existing xticks and xticklabels

What is a simple/efficient way to add one additional xtick, and the corresponding xticklabel, to the existing xticks and xtickla...

2 months ago | 1 answer | 0

### 1

answerQuestion

Is it expected to (always?) obtain identical p-values from the the Wilcoxon rank sum test and from the Kruskal-Wallis test ?

In the examples here below I compare two datasets, "r1" and "r2", by using both the Wilcoxon rank sum test and the Kruskal-Walli...

3 months ago | 0 answers | 0

### 0

answersCrosstab by using the same input for both arguments

I feel the right way should be to have the equivalent of the following R function (and maybe someone @MathWorks Support Team cou...

3 months ago | 0

Question

Automatically select the right number of bins (or combine the bins) for the expected frequencies in crosstab, in order to guarantee at least 5 elements per bin

I have two observed datasets, "x" and "y", representing "future stock prices", and I want to compare the observed frequencies in...

3 months ago | 1 answer | 0

### 1

answerQuestion

Draw a line between a point, which has non-normalised coordinates, and a legend, which has a normalised position

I want to draw a line between a point (which has non-normalised coordinates) and a legend (which has a normalised position). xp...

3 months ago | 1 answer | 0

### 1

answerHow can I create an offset of a boundary?

Maybe I found it.... :-) External offset rng('default') x = rand(30,1); y = rand(30,1); k = boundary(x,y); polyout1 = poly...

3 months ago | 0

| accepted

Question

How can I create an offset of a boundary?

How can I create an offset of a boundary? rng('default') x = rand(30,1); y = rand(30,1); plot(x,y,'.') xlim([-0.2 1.2]) yl...

3 months ago | 1 answer | 0

### 1

answerQuestion

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

3 months ago | 2 answers | 0

### 2

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

3 months ago | 0

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]} {[...

3 months ago | 0

Question

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

3 months ago | 2 answers | 0

### 2

answersQuestion

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

3 months ago | 1 answer | 0

### 1

answerQuestion

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

3 months ago | 2 answers | 0

### 2

answersQuestion

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

3 months ago | 1 answer | 0

### 1

answerQuestion

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

3 months ago | 1 answer | 0

### 1

answerQuestion

Bayes Factor functions/packages

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

3 months ago | 0 answers | 0

### 0

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

4 months ago | 0

Question

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

4 months ago | 1 answer | 0

### 1

answerQuestion

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

4 months ago | 1 answer | 0

### 1

answerQuestion

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

5 months ago | 2 answers | 0

### 2

answersQuestion

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

5 months ago | 1 answer | 0

### 1

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

5 months ago | 1

Question

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

5 months ago | 2 answers | 0