统计学

MATLAB Answers

0 个提问
6,950 个回答

排名
14
of 301,436

声誉
17,282

贡献数
0 个提问
6,950 个回答

回答接受率
0.00%

收到投票数
2,015

排名
 of 21,278

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 174,540

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • Most Accepted 2025
  • Most Accepted 2024
  • Most Accepted 2023
  • Most Accepted 2022
  • Explorer
  • Master
  • 36 Month Streak
  • Revival Level 2
  • Knowledgeable Level 5
  • First Answer

查看徽章

Feeds

排序方式:

已回答
In optimization toolbox, fmincon implemented both IPM and SQP. There are many versions of IPM and SQP. Can you please explain which IPM and SQP algorithms are implemented?
Description of the algorithms used / General and specific references to literature: https://uk.mathworks.com/help/optim/ug/cons...

4 days 前 | 0

| 已接受

已回答
How to use the nonlinear least square fitting to fit a transfer function?How to improve the fitting accuracy
Replace [cof,resnorm,residuals,exitflag,output] = ... lsqcurvefit(@OBJrealimag,T0,2*pi*ft,ydata2); by options = optimset...

5 days 前 | 1

已回答
How do I set up these three water application events in MATLAB and incorporate them into the boundary conditions?
The usual way to discretize the diffusion equation du/dt = d/dz (D(u)*du/dz) for a given flux q = -D*du/dz at z = z_0 on a gri...

8 days 前 | 0

已回答
Kinks/discontinuities in pdepe solution
Are you sure you want to solve your problem in cylindrical coordinates (since you set m = 1 in the call to "pdepe") ? Tighten y...

10 days 前 | 1

| 已接受

已回答
obtain an equation for the curve joining maximum points, using an appropriate interpolation or “curve fitting” process???
Follow @Matt J 's advice and maximize y=v0*sin(angle_rad)*t - 0.5*g*t.^2 over t for a given angle "angle_rad". For comparison: ...

11 days 前 | 0

已回答
How do I solve coupled PDEs and ODEs together using pdepe?
The usual setting in this case is c = 1 f = 0 s = according to your ODE pl = 0 pr = 0 ql = 1 qr = 1 for the ODEs. This...

13 days 前 | 0

| 已接受

已回答
What are possible causes of "Unable to meet integration tolerances without reducing the step size below the smallest value allowed" when calling ode15s() from Simulink?
What are possible causes of "Unable to meet integration tolerances without reducing the step size below the smallest value all...

17 days 前 | 0

已回答
Confidence interval in fit
Call "confint" (for the parameters) or "predint" (for the fit) from the command line with the wanted confidence level: https://...

17 days 前 | 1

| 已接受

已回答
what's wrong with matlab dsolve ?
If a > 0, insert C1 = const + log(a) in MATLAB's solution for the free constant C1, and you will recover your solution. For a ...

18 days 前 | 0

已回答
Curve fitting confidence intervals - discrepancy in manual CI plot and predint plot
Did you read https://uk.mathworks.com/help/curvefit/confidence-and-prediction-bounds.html ? The formulae to compute the diffe...

20 days 前 | 1

已回答
How do I find if a point is within the volume of a rotated ellipsoid
Apply the "anti-rotation" of the ellipsoid to the point P=(x,y,z) and check whether the image P'=(x',y',z') you receive lies in ...

1 month 前 | 1

| 已接受

已回答
In my code, I am getting plot on lambda=1, but rest plots are not reflecting. Please help to get all figures.
The results for the last 3 values of lambda are NaN (see above) - thus they are not plotted.

2 months 前 | 0

| 已接受

已回答
Wanting all results for an algebraic equation that is within a function .
One method: Define the algebraic variables as additional solution variables to the ODE system. This results in a DAE-system (i....

2 months 前 | 0

已回答
Simulating a system of damped PDEs with the Matlab PDE toolbox.
Did you try to set the problem as u1_dot = u3 u3_dot = delta(u1) + J1 u2_dot = u4 u4_dot = -u4 + delta(u2) +J2 ?

2 months 前 | 1

已回答
pdepe fails to solve PDEs with absorbing boundaries
This is what I get from AI when I type in your error message: This error occurs because a third-party package (usually MatCont)...

2 months 前 | 0

| 已接受

已回答
different in Poisson distribution test
"kstest" is not applicable since the Poisson Distribution is a discrete, not a continuous distribution. Since the example "Test...

2 months 前 | 1

| 已接受

已回答
Find all roots of a transcendental equation
Quite a hack and no guarantee that you will find all roots in the specified region, but I think there is no better method for th...

2 months 前 | 0

| 已接受

已回答
How to use the "Use weights for each response" option on simbiology model analyzer on a Fit program?
Did you study the example "Use Group-Specific Dosing Data for Parameter Estimation with Numeric Weights" under https://uk.mat...

2 months 前 | 0

| 已接受

已回答
Saving a matrix with a variable that could take any value
Either define the matrix as a function handle SM = @(L)[12/L^3 6/L^2 -12/L^3 6/L^2; 4/L -6/L^2 2/L 6/L^2; ...

2 months 前 | 1

| 已接受

已回答
Save variable number in matrix for later iteration
Maybe like this ? I'm not sure whether you want to take the elements of C and J according to the order of the elements in I or...

3 months 前 | 1

| 已接受

已回答
How to solve dy/dt=A(t)*y where y is a vector (3 elements) and A is 3x3 matrix with time dependent elements.
The code should somehow look like: Y0 = [1;0;0]; tspan = [0 1]; v1 = ...; % your first vector v1 needed to compute A v2 = ....

3 months 前 | 0

已回答
Please help me to run this simple code
Your solution for rr(3) becomes complex-valued. For complex-valued functions, you can plot e.g. their real part, their imagina...

3 months 前 | 0

已回答
How do I add summation to a symbolic equation in order to integrate across set bounds?
Use logncdf: https://uk.mathworks.com/help/stats/logncdf.html Use to compute f_act with the help of "logncdf" and use the ...

3 months 前 | 1

| 已接受

已回答
Implicit expansion with arrayfun (cpu vs gpu)
F3 = cellfun(@myadd, [{x}], [{y}], 'UniformOutput', false) will work. Arrayfun tries to apply "myadd" to [first element of x,f...

3 months 前 | 1

已回答
Inverse Problem, I have unknowns to solve it
L and N cannot be estimated separately. As long as phi is a single scalar value , L*phi + N must be treated as only one parame...

4 months 前 | 0

| 已接受

已回答
expanded vs unexpanded polynomials in symbolic integrals
Without giving the limits of integration, "int" returns an arbitrary antiderivative for the function you want to integrate. But ...

4 months 前 | 0

| 已接受

已回答
symbolic integrate and plot a function of one variable
syms x(u) y(u) g(u) C1 C2 v uref g(u) = 159648450049389632/(3991211251234741*(4 - (C1 + 2*u + 3)^(1/2))^(1/2)) + 14; x = C2*ex...

4 months 前 | 0

| 已接受

已回答
Trying to make a goal seek like program using fsolve?
clear all; close all; clc f= @(x) Average1(x)-65; engineering= 30; % Intiall estimate engineering = fsolve(f,engineering) ...

4 months 前 | 0

| 已接受

已回答
numerical Instabilities for bessel functions
Although it's slow, the full Newton method seems to work in this case (except for one value of X_kRE): clear all; close all; ...

4 months 前 | 1

已回答
i want to add cplex and yalmip on my mac how ?
This is the problem-based MATLAB code to set up your problem. I might have done some mistakes translating your constraints, but ...

4 months 前 | 1

加载更多