Feeds
질문
logarithmic binning of "x" values
The following code performs a logarithmic binning of the "x" values: clear all;clc; % Input x = [74.5, 149, 223.5, 298, 372...
대략 2개월 전 | 답변 수: 2 | 0
2
답변질문
Is it possible to orient the legend's symbols vertically instead of horizontally?
Is it possible to orient the legend's symbols vertically instead of horizontally? In the following example, the red and blue li...
3개월 전 | 답변 수: 3 | 0
3
답변질문
Ezyfit: Single vs. Two-Step Fitting Problem
Ezfit (actually I am using the updated version from Walter Roberson) fails to accurately determine all 4 parameters in a single ...
3개월 전 | 답변 수: 3 | 0
3
답변질문
extractHTMLText extracts only a part of a web page text
I was trying to extract the entire text of an open-access scientific article (I hope this is legal! :-) ), but it looks like tha...
7개월 전 | 답변 수: 1 | 0
1
답변질문
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...
8개월 전 | 답변 수: 1 | 0
1
답변질문
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...
8개월 전 | 답변 수: 2 | 0
2
답변질문
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...
9개월 전 | 답변 수: 1 | 0
1
답변질문
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...
10개월 전 | 답변 수: 2 | 0
2
답변질문
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...
10개월 전 | 답변 수: 1 | 0
1
답변질문
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: ...
10개월 전 | 답변 수: 3 | 0
3
답변질문
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)...
10개월 전 | 답변 수: 2 | 0
2
답변질문
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...
10개월 전 | 답변 수: 1 | 0
1
답변질문
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...
10개월 전 | 답변 수: 0 | 0
0
답변답변 있음
Crosstab 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...
Crosstab 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...
10개월 전 | 0
질문
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...
10개월 전 | 답변 수: 1 | 0
1
답변질문
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...
10개월 전 | 답변 수: 1 | 0
1
답변답변 있음
How 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...
How 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...
10개월 전 | 0
| 수락됨
질문
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...
10개월 전 | 답변 수: 1 | 0
1
답변질문
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...
10개월 전 | 답변 수: 2 | 0
2
답변답변 있음
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...
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...
10개월 전 | 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]} {[...
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]} {[...
11개월 전 | 0
질문
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...
11개월 전 | 답변 수: 2 | 0
2
답변질문
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...
11개월 전 | 답변 수: 1 | 0
1
답변질문
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...
11개월 전 | 답변 수: 2 | 0
2
답변질문
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개월 전 | 답변 수: 1 | 0
1
답변질문
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...
11개월 전 | 답변 수: 1 | 0
1
답변질문
Bayes Factor functions/packages
I am using the following two-sample tests for non-normal distributions: chi2gof kstest2 ranksum kruskalwallis and I would l...
11개월 전 | 답변 수: 0 | 0
0
답변답변 있음
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...
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...
11개월 전 | 0
질문
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...
11개월 전 | 답변 수: 1 | 0
1
답변질문
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...
11개월 전 | 답변 수: 1 | 0