统计数据
All
Content Feed
Answered
寻找可视化方法以呈现2D中有限差数值解决方案
You may use the low-level patch function. Since I don't have your data, please find below a self-consistent example showing the ...
寻找可视化方法以呈现2D中有限差数值解决方案
You may use the low-level patch function. Since I don't have your data, please find below a self-consistent example showing the ...
1month ago | 0
问题
随着时间的上升时间平稳的步骤功能
Hi everyone, I know this question is more related to math than Matlab, but I know there are many gurus out there who can easily...
6个月前|3个答案|1
3
answers
Answered
How can I calculate the sum of the absolute error?
Please check the code below. clear all, close all % model F = @(c,x)c(1)+c(2)*x+c(3)*(x.^2-1); % data xk = [-2 -1 0 1 ...
How can I calculate the sum of the absolute error?
Please check the code below. clear all, close all % model F = @(c,x)c(1)+c(2)*x+c(3)*(x.^2-1); % data xk = [-2 -1 0 1 ...
7个月前|1
|accepted
Answered
Drawing a rotating circle on a sphere
该代码应自我解释[X,Y,Z] = Sphere;%图,保持轴相等,视图([1 1 1]);%球体智慧...
Drawing a rotating circle on a sphere
该代码应自我解释[X,Y,Z] = Sphere;%图,保持轴相等,视图([1 1 1]);%球体智慧...
7个月前|0
|accepted
Answered
How can you solve a system of second order differential equation, which is not time, but length and radius dependent?
This is not an ODE but a PDE. you should have a look at pdepe
How can you solve a system of second order differential equation, which is not time, but length and radius dependent?
This is not an ODE but a PDE. you should have a look at pdepe
7个月前|2
|accepted
Answered
我们有一个相同长度的列向量和一个行矢量。如何使用总和函数获取两个向量的元素明智和在行矢量中的最终答案显示
vect3 = vect1.'+vect2 If you want to be sure of the element by element sum, regardles the shape of the two vectors (row or colu...
我们有一个相同长度的列向量和一个行矢量。如何使用总和函数获取两个向量的元素明智和在行矢量中的最终答案显示
vect3 = vect1.'+vect2 If you want to be sure of the element by element sum, regardles the shape of the two vectors (row or colu...
7个月前|0
|accepted
Answered
How to randomly change element of matrix?
您可以使用线性索引%矩阵a = rand(10,100);%创建文件夹mkdir(“存储”);i = 1:100 ...的%循环
How to randomly change element of matrix?
您可以使用线性索引%矩阵a = rand(10,100);%创建文件夹mkdir(“存储”);i = 1:100 ...的%循环
7个月前|2
Answered
如何通过在笛卡尔中使用特定半径来创建一系列圆圈?
Try something like this % anonymous function to plot a circle given the center coordinates and the % radius plotcircle = @(x,...
如何通过在笛卡尔中使用特定半径来创建一系列圆圈?
Try something like this % anonymous function to plot a circle given the center coordinates and the % radius plotcircle = @(x,...
7个月前|0
|accepted
Answered
Converting Euler ODE to the MATLAB code
f是匿名函数f = @(t,y)[-2*y(1)+y(2)+15*cos(t);2*y(1)-y(2)];请注意,您的脚本不正确,因为T是...
Converting Euler ODE to the MATLAB code
f是匿名函数f = @(t,y)[-2*y(1)+y(2)+15*cos(t);2*y(1)-y(2)];请注意,您的脚本不正确,因为T是...
7个月前|1
|accepted
Answered
How to compare two time signals with different amount of samples?
使用Interp1重新采样矢量以具有相同的长度清晰变量,关闭所有%time vector t1 = 0:1/1 ...
How to compare two time signals with different amount of samples?
使用Interp1重新采样矢量以具有相同的长度清晰变量,关闭所有%time vector t1 = 0:1/1 ...
7个月前|1
Answered
how to ascribe two values to a parameter such that it will be time dependent
You can pass an extra parameter to RiceG1 function using an anonmymous function. In your driver function add % extra anonimous ...
how to ascribe two values to a parameter such that it will be time dependent
You can pass an extra parameter to RiceG1 function using an anonmymous function. In your driver function add % extra anonimous ...
8个月前|1
Answered
有人可以帮助我随时间延迟实施我的库拉莫托模型吗?
Your function requires additional parameters. One way to pass them is to use an anonymous function as extra layer % params N =...
有人可以帮助我随时间延迟实施我的库拉莫托模型吗?
Your function requires additional parameters. One way to pass them is to use an anonymous function as extra layer % params N =...
8个月前|0
|accepted
Answered
Matlab中的Euler方法
Any ODE solver gives the unknown function(s) as result, not its derivative. So, yes, your results are x and y. Note that in you...
Matlab中的Euler方法
Any ODE solver gives the unknown function(s) as result, not its derivative. So, yes, your results are x and y. Note that in you...
8个月前|0
|accepted
Answered
如何在周期中获取这个?
如果b和c是矩阵,请使用以下方式使其向量:而任何(ABS(A_0-A)> 1E-6)||任何(ABS(B_0(:)-B(:))> 1E-6)||任何(ABS(C_0)(...
如何在周期中获取这个?
如果b和c是矩阵,请使用以下方式使其向量:而任何(ABS(A_0-A)> 1E-6)||任何(ABS(B_0(:)-B(:))> 1E-6)||任何(ABS(C_0)(...
8个月前|1
|accepted
Answered
how to find out node coordinates for a simple quad element?
这取决于您的数据结构:现在您的量子很模糊。假设您在nx3 ar中具有节点坐标...
how to find out node coordinates for a simple quad element?
这取决于您的数据结构:现在您的量子很模糊。假设您在nx3 ar中具有节点坐标...
8个月前|1
Answered
Solving nonlinear DE by reduction of order on matlab
您对问题的描述中有一些错别字。这里的正确版本%您的颂歌 - 请注意(y(1)和y(2)是exc ...
Solving nonlinear DE by reduction of order on matlab
您对问题的描述中有一些错别字。这里的正确版本%您的颂歌 - 请注意(y(1)和y(2)是exc ...
8个月前|0
|accepted
Answered
Warning: Matrix is singular to working precision.
矩阵是单数的,因为前三行是线性依赖的。例如,您可以在那里获得第1行...
Warning: Matrix is singular to working precision.
矩阵是单数的,因为前三行是线性依赖的。例如,您可以在那里获得第1行...
8个月前|0
Answered
how can i let all number in matrix X between 0~1?
If you want to scale your output in [0 1] you can use this X1 = (X-min(X))/sum(X-min(X)); in fact >> sum(X1) ans = ...
how can i let all number in matrix X between 0~1?
If you want to scale your output in [0 1] you can use this X1 = (X-min(X))/sum(X-min(X)); in fact >> sum(X1) ans = ...
8个月前|0
|accepted
问题
Real time GMRES convergence and stop callback
Dear Matlab users, I usually solve large linear problems using gmres. These simulations could last for several tens of hours. T...
8个月前|0answers | 0
0
answers
Answered
Population growth in 7 years
在下面,您可以找到以下代码%速率r = 0.0063的输出;%t = 7;初始种群a = 5E6;t = ...
Population growth in 7 years
在下面,您可以找到以下代码%速率r = 0.0063的输出;%t = 7;初始种群a = 5E6;t = ...
10months ago | 1