Statistics
Content Feed
将变量从结构保存到Excel文件
You have 3 conditions: each row in 'errors' corresponds to each condition. However, each row in 'distractors' is another matrix ...
11 Giorni前|0
|公认
以特殊方式减去矩阵
应该有一种更简单的方法,但这有效:a = [1 10 12; 2 12 3;3 15 4;4 16 7;5 18 9;6 10 10;7 12 9;9 5 6];b = [3 9 8;4 ...
12 Giorni前|1
|公认
为什么FITLM会受到可变量表的影响?
Well, the real question would be why not? You have introduced interaction terms to the model. Two models test different hypothe...
12 Giorni前|0
|公认
Repeated Measure ANOVA 2x2
您可以遵循此示例:在两个不同的条件下测量了%响应:C1和C2在两个不同的时间p ...中测量。
16 giorni ago | 2
Is it possible to make the background of a polar histogram transparent?
One way that comes to my mind is to save it as eps (or pdf): set(gcf, 'color', 'none'); set(gca, 'color', 'none'); exportgrap...
21 giorni ago | 0
|公认
I need help in the code. what am I doing wrong?
This may help: fnc = @(url) regexp(url, "(?<=https?://)(.*?)[^:]*", 'match'); fnc('https://en.wikipedia.org:443/wiki/Kitten?...
21 giorni ago | 0
如何找到行明智的线性回归系数?
nsample = 29; nvar = 3420; % sample data y = rand(nsample, nvar); x1 = rand(nsample, nvar); x2 = rand(nsample, nvar); x...
大约迈塞前|0
|公认
绘制表的统计数据
尝试一下,但请注意,您的变量高度偏斜,因此您应该尝试Boxplot或Boxchart(中位数和IQR而不是均值...
circa 2 mesi ago | 0
|公认
如何加快此索引代码?
避免比较循环中的字符串,而是利用唯一的索引向量:a = [“ a”,“ b2”,“ a”,“ c”,“ ...
circa 2 mesi ago | 0
|公认
如何在图函数中使用两个数据单位长度?
Either transform your data (e.g. log transformation), or break X-/Y-axes. There are several FEX already out there: mathworks.co...
circa 2 mesi ago | 1
在图上应用带有变量的文本
I don't have your dataset but you can follow this example: plot(3:10, (6:13).^2, 'k.-', 'LineWidth', 1.5) Rsq = 0.64645; h ...
circa 2 mesi ago | 0
|公认
filter cell array with strings
Try to work with tables, they're more versatile. Also check groupfilter for more advanced filtering schemes. tab = array2table(...
circa 2 mesi ago | 0
|公认
Merging rows of a matrix into a number
See here //www.tianjin-qmedu.com/matlabcentral/answers/299422-converting-a-double-into-a-matrix-of-its-digits#answer_231586 C = [...
circa 2 mesi ago | 1
|公认
忽略表组中缺少的数据
As Johan also suggested you may use omitnant flag. Also, consider using groupsummary and groupfilter : m = groupsummary(T, 'C',...
circa 2 mesi ago | 0
|公认
如何搜索从MATLAB到Excel的特定数据
tab = readtable('myExcel.xlsx'); % see doc for more options tab(ismember(tab.(1), 'R1280XS'), :) % the row at which the input...
circa 2 mesi ago | 1
|公认
检查.mat文件中的坐标对匹配
Assuming both x and y are vectors of same length, this might work: x = randi([0 5], 10, 1); y = randi([0 5], 10, 1); myPair...
circa 2 mesi ago | 0
如何在循环中创建过去值的数组?
这样的东西?n = 10;str =字符串(n,1);对于i = 1:n%做任何str(i,1)= gimmemystr;结尾
circa 2 mesi ago | 0
Plot the slope of a parabola with only the data points being known
在拟合之前,最好将数据可视化以更好地了解变量之间的粗糙关系。...
circa 2 mesi ago | 1
How to plot a function with summation and multiple variables?
Start by understanding MATLAB a bit better. For the time being this may help you: myfnc = @(A, s, t, i, T0, tau) sum(A.*s.*(t -...
circa 2 mesi ago | 0
处理输入中的错误
AFIK input doesn't let you control the error behavior. The better approach would be to return it as a string, and validate it: ...
circa 2 mesi ago | 0
提起装甲的循环和散射
You are not even reading your csv files; you just read the same file file4.csv over and over! Try this: fds = fileDatastore('*....
circa 2 mesi ago | 0
mean from intersection matrix
这应该有效:a = [1,3,3,2,2,3,3,3,4,3,1,3];b = [1,1,1,3,4,1,2,1,4,1,1];c = [2,2,2,4,2,3,3,2,1,3,8];x = [a;b];[〜,...
circa 2 mesi ago | 0
|公认
根据位置阅读并创建新的
Why not this? G = [0 115 0 0 0 0 0 0 0 0 111 0 0 0 0 110 0 0 0 110 0 0 0 0 82 0 0 0 0 111 0 0 0 111 0 0 0 0 0 0 0 0 0 87 114...
circa 2 mesi ago | 1
|公认
Bar plot error when plotting
The main problem is that your tick labels are too long to fit under the axes. You can try something like this: figure('Name', '...
3 mesi ago | 0
|公认
从Windows PowerShell中打开当前MATLAB实例中的.m文件
尝试此函数addme(a,b)fprintf(“ sum a + b equals%.2g \ n”,a + b),然后从powerShell(假设您的PS Insta ...
3 mesi ago | 0
What equivalent MATLAB commands plots PDF of data like 'hist' command plots histogram of data.
像这样的事情应该有效:data = normrnd(10,1,100,1);pd = fitdist(数据,'normal');x_values = 5:0.1:15;y_values = p ...
3 mesi ago | 0
符合条件的散点图数据
%一些随机值a = randi([0,100],8,2000);f = randi([0 1],8,2000);f =逻辑(f);%将您的标志转换为逻辑...
3 mesi ago | 1
|公认
How to calculate for significant difference between Cohen's Kappa values?
您可以围绕KAPPA值构建置信区间,然后看看它们是否重叠。
3 mesi ago | 0
假设我的数据以下是如何bootci的BCA方法表格的方法如何
To my understanding BCa tries to correct for bias and skewness (acceleration, calculated from jackknife sampling) in the distrib...
3 mesi ago | 1
Is there a way to turn off the scale over the graph
H = GCA;h.box ='on';h.xaxis.ticklength = [0 0];
3 mesi ago | 0
|公认