社区资料

照片

Jan


最后见:今天|自2009年以来活跃

It is easier to solve a problem than to guess, what the problem is.

问题about FileExchange submissions are welcome - get my address from the code. I do not answer mails concerning questions in the forum.

统计数据

All
  • Grand Master
  • 复兴级别4
  • 发起人
  • Commenter
  • 资源管理器
  • Personal Best Downloads Level 4
  • 编辑的选择
  • First Review
  • 5星银河级5
  • 首先提交
  • 36 Month Streak
  • Thankful Level 4

View badges

内容提要

回答
why is my vector empty
对于i = 1:size(a,1)disp(double(a {i}))结束i = size(a,1)。然后:行_ =(double(a {i}));是ASCII值的向量。

etwa 6 Stunden ago | 0

回答
Add a textbox in a subplots inside a loop
Move the repeated code out of the loop to simplify the code: z = [0.44, 4.7, 7, 8, 17.9, 31, 57]; dim = [.2 .5 .3 .3]; c ...

etwa 6 Stunden ago | 0

回答
Why does mldivide solve equations so fast that FORTRAN can't compare it?
MATLAB的矩阵部门没有公开。使用内部优化的BLAS库和MKL。Taskmanager ...

etwa 6 Stunden ago | 0

回答
将二进制矩阵转换为十进制。
错误消息是明确的:BIN2DEC需要一个char矢量为输入或单元字符串。请参阅:DOC BIN2DEC您提供数值...

etwa 12 Stunden ago | 0

回答
Error in Bvp4c
您可以在代码之上定义变量beta,但这并不意味着它在所有子功能中都是已知的。PR,Gamma和Lam ...

etwa 12 Stunden ago | 0

回答
How to normalize a matrix in such a wat that every row sum of X(:,:,i) should be 1 except for ith row
x = rand(6,3,6);n = sum(x,2);n(sub2ind(尺寸(n),1:6,一个(1,6),1:6))= 1;y = x ./ n;现在sum(y(i,:,j))是1是i〜 = j ...

etwa 13 Stunden ago | 0

回答
更快地循环/或如何切割时间
a = randn(50,1);b = randn(50,1);tic [aa,bb] = used_cells2(a,b);eloopc =长度(aa);eloopp =长度(bb);对于i = 1 :( eloopc)...

ein Tag ago | 0

回答
获取消息的时间
Try: Time_Matching = Time_AIS1(msg_match{K}) % curly braces

ein Tag ago | 0

回答
find maximum number in a range of data
在最大(t(s1,6))中,您正在搜索在t(s1,:)的cobsatrix t(:)中。但是您将结果用作完整矩阵T中的索引。

ein Tag ago | 0

|accepted

回答
我如何在不重叠的情况下绘制平方(100*100 m^2)的圆形尺寸?
This is an extremly challeging task. See https://en.wikipedia.org/wiki/Circle_packing https://en.wikipedia.org/wiki/Circle_pac...

ein Tag ago | 1

回答
cannot calculate mean on for loop
The elements of neg_m are overwritten repeatedly in the inner loop. Maybe you want: for ni = 1:35 neg_m(ni, :) = mean(resh...

3Tage ago | 0

回答
How to make the negative sign in the legend easier to see?
strcat removes interior spaces. This is not useful here and it is not in general. I consider this as a design error. Use cat in...

3Tage ago | 0

|accepted

回答
索引超过数组元素的数量(1)
替换为j = 1:n-1 by j = 1:i-1顺便说一句,您可以写入s = 0;j = 1:i -1 s = s + u(i,j) * x(j);...

3Tage ago | 1

|accepted

回答
How can I create three different axis?
参见例如:https://www.tianjin-qmedu.com/matlabcentral/fileexchange/67349-plot-with-with-multiple-multiple-y-axes https://www.tianjin-qmedu.com/matworks.com/matl ...

3Tage ago | 0

|accepted

回答
如何以一致的方式洗牌两个矩阵
I assume, X is a matrix and you want to shuffle the rows. Then: X = X(P, :); % ^

3Tage ago | 1

|accepted

回答
How to get rid of a loop that depends on its previous iterations
Start with calculating the average manually instead of the slower mean() function: % Timings: R2018b, Win10, i7 data0 = rand(1...

4Tage ago | 0

|accepted

回答
Solving problem with ODE45
在循环中,您正在计算从0到2*t(i)的集成,其初始值设置为y2(i-1,:)。但这是我...

6 Tage ago | 0

回答
Check for equality in the contents of two arrays ignoring order
唯一的,setdiff,Union和Ismember在内部也调用该功能。因此,%断言(iSequal(stort(a),stort(b)))是一个非常e ...

6 Tage ago | 0

回答
How to identify duplicate values in an n dimensional array , then club the linked values related to it in another array
a = [1 8 10 4;... 1 8 4 0];t = iSmultiple(a);b = a(t)%?或者您想要什么?a(t)= 0;功能...

7 Tage ago | 0

回答
涉及1x4矩阵的迭代
while abs(P - Pgiven) > 1e-6 ... end

7 Tage ago | 0

|accepted

回答
从function_handle不可能转换为double。
目标= 0(1、3);%的目标是两倍le for i = 1:Nc % And here you want to store a function handle in the d...

7 Tage ago | 1

回答
运行MEX函数的问题(.mexw64)
领先的“ ./”表示它正在当前文件夹中搜索。假设按预期选择当前文件夹是...

7 Tage ago | 0

回答
为什么我写文件工作的功能不做?
"Not enough input arguments" might mean, that you call this function without inputs. Therefore the most important part of the co...

8 tage前|0

|accepted

回答
Too many for loops, how to approach rearranging arrays problem differently?
Pre-allocate the output and avoid repeated calculations: a = 1:50; b = 10:50; tic aa = f2(a); bb = f2(b); for i = 1:le...

9 tage前|0

|accepted

回答
我不知道如何找到R
a = 6 * 18 * 18 a = 4 * pi * r。^2 r = sqrt(6 * 18 * 18 /(4 * pi))

9 tage前|0

回答
估计PI的价值
您的代码运行正常,很干净。它可以简化,但是索引A的应用是有效的。我不确定你为什么...

10级tage前|0

|accepted

回答
Dot indexing is not supported for variables of this type - ISSUE?
从实验开始:img2 = reshape(img,[4,376,672]);rgb = permute(img2([3 2 1],:,::),[2,3,1]);图,图像(r ...

10级tage前|0

|accepted

回答
Remez Exchange算法进行近似
如果a <= m

11级tage |0

|accepted

回答
Not enough Input arguments
Stephen hits the point: >>qardlecm This shows, that you call the function without input arguments. Perhaps you start it by cli...

11级tage |1

回答
我的“情节”有一些问题
Did you update the graphic drivers and install all updates of Matlab? Try different graphic modes: opengl software opengl har...

11级tage |0

|accepted

装载更多