Statistics
全部
Content Feed
Answered
最大化二阶多项式不等式的答案
Hi Luuk It makes more sense to find the boundaries of the inequality: syms x eqn1 = 0.99*x^2-99==0; x_num = solve(eqn1, x) ...
最大化二阶多项式不等式的答案
Hi Luuk It makes more sense to find the boundaries of the inequality: syms x eqn1 = 0.99*x^2-99==0; x_num = solve(eqn1, x) ...
2 days ago | 1
|公认
Answered
Distribute a sum using binomial distribution
嗨,Vorticella,在您使用的代码中,这两个数字是独立选择的,通常不会加起来为行总和。...
Distribute a sum using binomial distribution
嗨,Vorticella,在您使用的代码中,这两个数字是独立选择的,通常不会加起来为行总和。...
3天前|0
Answered
当使用符号工具箱简化表达式时,如何避免引入ABS()?
您好,prajwal,norm_v = abs(xdot)/abs(cos(x)),因此从根本上依赖于ABS。由于norm_v被分为quan ...
当使用符号工具箱简化表达式时,如何避免引入ABS()?
您好,prajwal,norm_v = abs(xdot)/abs(cos(x)),因此从根本上依赖于ABS。由于norm_v被分为quan ...
3天前|0
Answered
多项式指数的复发关系
Hello Jaime, Suppose you want the results up to a polynomial of degree p. The following code creates a (p+1)x(p+1) matrix c of...
多项式指数的复发关系
Hello Jaime, Suppose you want the results up to a polynomial of degree p. The following code creates a (p+1)x(p+1) matrix c of...
4天前|0
Answered
How can I represent the sparse mass, damping and stiffness matrices in state space?
嗨,M',假设您有N位置和N相应的速度。让状态空间(列)向量为y = ...
How can I represent the sparse mass, damping and stiffness matrices in state space?
嗨,M',假设您有N位置和N相应的速度。让状态空间(列)向量为y = ...
5天前|0
Answered
Adding matrices (to assemble global stiffness matrix)
Hi Ryan, here is an example. In the code below, a and b are the indices of the 4x4 submatrix of K that each stiffness submatri...
Adding matrices (to assemble global stiffness matrix)
Hi Ryan, here is an example. In the code below, a and b are the indices of the 4x4 submatrix of K that each stiffness submatri...
13天前|0
|公认
Answered
添加整数时给出错误的答案
Hello Matthew, this is happening because the image uses uint8 values (unsigned integer 8 bit), with a range of 0 to 2^8 -1 = 25...
添加整数时给出错误的答案
Hello Matthew, this is happening because the image uses uint8 values (unsigned integer 8 bit), with a range of 0 to 2^8 -1 = 25...
13天前|0
|公认
Answered
如何将矩阵中的每个列乘以不同的科学符号值,这些值应从TXT文件中导入?
HI Gabrielle, MODIFIED Looks like you have constructing the 128x256 matrix of values covered. The code below converts S{1} to...
如何将矩阵中的每个列乘以不同的科学符号值,这些值应从TXT文件中导入?
HI Gabrielle, MODIFIED Looks like you have constructing the 128x256 matrix of values covered. The code below converts S{1} to...
17 days ago | 0
|公认
Answered
Using numerical methods to plot solution to first-order nonlinear differential equation
Hello Aleem, You are saying that the analytical solution is not relevant because it involves complex numbers, but that's not th...
Using numerical methods to plot solution to first-order nonlinear differential equation
Hello Aleem, You are saying that the analytical solution is not relevant because it involves complex numbers, but that's not th...
18 days ago | 0
Answered
MATLAB确定矩阵是否可逆
Hi SS P+Q ans = 9 9 2 13 0 0 3 4 -3 -3 6 1 1 1 2 6 det(P+Q) ans = ...
MATLAB确定矩阵是否可逆
Hi SS P+Q ans = 9 9 2 13 0 0 3 4 -3 -3 6 1 1 1 2 6 det(P+Q) ans = ...
19 days ago | 1
Answered
Solve matrix series equation
Hi Ramesh, This is an overdetermined system, but if you define x as a 2x7 matrix of 2d coordinate values and X as a correspondi...
Solve matrix series equation
Hi Ramesh, This is an overdetermined system, but if you define x as a 2x7 matrix of 2d coordinate values and X as a correspondi...
21 days ago | 0
Answered
解释FFT中的频率与相图
Hello JL, Since sin(2*pi*f*t) = ( e^(2*pi*i*f*t)-e^(-2*pi*i*f*t) )/(2i), (1) the sine signal has both positive and ...
解释FFT中的频率与相图
Hello JL, Since sin(2*pi*f*t) = ( e^(2*pi*i*f*t)-e^(-2*pi*i*f*t) )/(2i), (1) the sine signal has both positive and ...
23天前|0
Answered
为什么MATLAB的CSCVN函数具有4*2*(N-1)系数?
您好Ashkan,(n-1)的因子,因为n个点 - >(n-1)间隔,并且多项式是根据间隔因素o ...定义的。
为什么MATLAB的CSCVN函数具有4*2*(N-1)系数?
您好Ashkan,(n-1)的因子,因为n个点 - >(n-1)间隔,并且多项式是根据间隔因素o ...定义的。
26天前|0
Answered
Solving a transcendental equation
Hi Kubilay, Finding an algebraic solution for this equation in terms of lambda is not going to happen. But a numerical solutio...
Solving a transcendental equation
Hi Kubilay, Finding an algebraic solution for this equation in terms of lambda is not going to happen. But a numerical solutio...
1个月前|1
|公认
Answered
如何使用泊松分布?
Hi Jaya, You appear to be saying that you can't use a loop to increment through event times. For example, though, just before ...
如何使用泊松分布?
Hi Jaya, You appear to be saying that you can't use a loop to increment through event times. For example, though, just before ...
1个月前|0
|公认
Answered
I want to treat w as a constant
你好HJ,尝试用年代取代第一行yms y(x) w real in which case the result is ySol(x) = (exp(-x)*(sin(w*x) + w*c...
I want to treat w as a constant
你好HJ,尝试用年代取代第一行yms y(x) w real in which case the result is ySol(x) = (exp(-x)*(sin(w*x) + w*c...
1个月前|0
Answered
ODE system with 2 degrees of freedom
Hi Nader, you only need four variables, theta1, theta1dot, theta2, theta2dot (not six). Try function dydt = ODEsystem(t,y) k...
ODE system with 2 degrees of freedom
Hi Nader, you only need four variables, theta1, theta1dot, theta2, theta2dot (not six). Try function dydt = ODEsystem(t,y) k...
1个月前|1
Answered
How to prove the positivity if this function?
嗨,安德里亚(Andrea),使用MATLAB的证明是一个很好的问题。如果对Isalways的答案(Y> = 0)出现为1,请...
How to prove the positivity if this function?
嗨,安德里亚(Andrea),使用MATLAB的证明是一个很好的问题。如果对Isalways的答案(Y> = 0)出现为1,请...
1个月前|0
Answered
固定随机数
Hi Irani, If I understand your question correctly, rng(1) Y = randi(10) rng('shuffle') node = randi(20) gives the same val...
固定随机数
Hi Irani, If I understand your question correctly, rng(1) Y = randi(10) rng('shuffle') node = randi(20) gives the same val...
1个月前|0
|公认
Answered
how to find the angle subtended from origin to the poles in complex plane?
Hello Muhammed, it's as easy as angle(65+65j) angle(65-65j) with each angle in radians subtended from the x axis, -pi < angl...
how to find the angle subtended from origin to the poles in complex plane?
Hello Muhammed, it's as easy as angle(65+65j) angle(65-65j) with each angle in radians subtended from the x axis, -pi < angl...
2 months ago | 0
|公认
Answered
Matlab and Fortran Precision Issue
你好,这是常数。首先,为简单起见,我评论了所有无关原始_...的计算。
Matlab and Fortran Precision Issue
你好,这是常数。首先,为简单起见,我评论了所有无关原始_...的计算。
2 months ago | 0
|公认
Answered
您如何仅在一个方向上转换2D数据?
嗨,加布里埃尔,我不确定“ x方向”的含义,但听起来像是维度2。无论如何,ifft(y,[],2)...
您如何仅在一个方向上转换2D数据?
嗨,加布里埃尔,我不确定“ x方向”的含义,但听起来像是维度2。无论如何,ifft(y,[],2)...
2 months ago | 0
|公认
Answered
Principal Component Analysis: difference between V matrix from SVD decomposition and coef from pca?
Hello Jessica, The set of column vectors that define V in svd, or define coeff in pca, can differ from each other by a factor o...
Principal Component Analysis: difference between V matrix from SVD decomposition and coef from pca?
Hello Jessica, The set of column vectors that define V in svd, or define coeff in pca, can differ from each other by a factor o...
2 months ago | 0
Answered
从3D转换中提取滚动俯仰偏航旋转角度
您好。“在” fwiw,这是一个从下面定义的3D旋转矩阵中查找三个旋转角th1,th2,th3的版本。ang ...
从3D转换中提取滚动俯仰偏航旋转角度
您好。“在” fwiw,这是一个从下面定义的3D旋转矩阵中查找三个旋转角th1,th2,th3的版本。ang ...
2 months ago | 0
Answered
我的问题是我的代码有什么问题,结果应该在第一张图片中而不是第二张图片中。
HI JANA,问题是IF语句IF MOD(ROW,2)== 0 && mod(col,2)== 1 && col> = 3%(b)和i ...
我的问题是我的代码有什么问题,结果应该在第一张图片中而不是第二张图片中。
HI JANA,问题是IF语句IF MOD(ROW,2)== 0 && mod(col,2)== 1 && col> = 3%(b)和i ...
2 months ago | 0
|公认
Answered
My solver is giving extremely large numbers for a straight forward system of linear equations, what's wrong?
Hi John, What the solver is trying to tell you is that a solution does not exist for this problem, or more correctly it exists ...
My solver is giving extremely large numbers for a straight forward system of linear equations, what's wrong?
Hi John, What the solver is trying to tell you is that a solution does not exist for this problem, or more correctly it exists ...
2 months ago | 1
Answered
Finding Argument of Bessel Function (1st Kind) to Return Known Solution
您好1:5,Syms r ex = 5;r = 160;f = besselj(0,(2.405*r)/(r + ex));比率= 0.3005;q = f ==比率;vpasolve(q,r,[0 ...
Finding Argument of Bessel Function (1st Kind) to Return Known Solution
您好1:5,Syms r ex = 5;r = 160;f = besselj(0,(2.405*r)/(r + ex));比率= 0.3005;q = f ==比率;vpasolve(q,r,[0 ...
2 months ago | 0
|公认
Answered
Multiplication of sparse matrix and a normal matrix
Hi Amit, sum(S)' where the result is still sparse, or full(sum(S)') if you want a regular vector at that point.
Multiplication of sparse matrix and a normal matrix
Hi Amit, sum(S)' where the result is still sparse, or full(sum(S)') if you want a regular vector at that point.
2 months ago | 0