Estadística

MATLAB Answers

0 Preguntas
6.966 Respuestas

CLASIFICACIÓN
14
of 301.652

REPUTACIÓN
17.310

CONTRIBUCIONES
0 Preguntas
6.966 Respuestas

ACEPTACIÓN DE RESPUESTAS
0.00%

VOTOS RECIBIDOS
2.017

CLASIFICACIÓN
 of 21.375

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 175.981

CONTRIBUCIONES
0 Problemas
0 Soluciones

PUNTUACIÓN
0

NÚMERO DE INSIGNIAS
0

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • 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

Ver insignias

Feeds

Ver por

Respondida
Error in simscape when computing derivative
Can you compute der(linPosition) ? If this is the case, you get an algebraic equation for omega = der(theta): Write the first...

1 día hace | 0

Respondida
Find x values where y values are the same from a set of data.
First column is voltage from D8 (multiplied by 1e-8), the following columns are the times this voltage repeats in D2 afterwards....

5 días hace | 1

| aceptada

Respondida
fegeometry telling my I have infs or nans when I do not
You already checked most of the following possible issues. Checking for very large/small values instead of NaN/Inf, checking for...

5 días hace | 0

Respondida
Anyone who can help on the bvp4c code?
Reducing the Deborah number gives smooth results. I guess 1-De*max(f)^2 (i.e. the factor in front of f''') should remain posit...

18 días hace | 0

| aceptada

Respondida
persistent variable from previous run is not deleted during a new run of my .m file
Using two .m-files instead of only one script seems to solve the problem according to https://uk.mathworks.com/matlabcentral/an...

19 días hace | 0

Respondida
Implicit finite difference scheme in MATLAB for 1D Mobile-Immobile Model (MIM) with linear sorption and degradation
Substitute the right-hand side of the equation for the Immobile Region for the expression theta_im*R_im*dC_im/dt in the equation...

20 días hace | 0

Respondida
Anyone with an idea on how can we make the plotting style of the bvp4c and the SRM method to be the same?
Write two functions sisko_bvp4c and sisko_SRM - thus one for bvp4c and one for your spectral relaxation method - that accept L, ...

22 días hace | 0

| aceptada

Respondida
How can we make the following spectral relaxation code to run?
Here is a code for the Blasius equation to give you an idea: N = 100; L = 10; % % Solve Blasius equation f''' + 0.5*f*f'' ...

23 días hace | 0

Respondida
How can we make the following spectral relaxation code to run?
I modified A1, B1, A2, B1 and A3 to get compatible dimensions for matrix multiplications without knowing whether these modificat...

25 días hace | 0

Respondida
input freqRange in bandpower doc example returning an error when it is a Mx2 matrix
The specification of "freqRange" as Mx2 matrix was introduced in R2026a. Do you use this MATLAB version already ? Alternatively...

26 días hace | 0

| aceptada

Respondida
textscatter example, and behavior, is mysterious
Most probably, text is set where possible and the rest positions are marked by blue points. The following example seems to sup...

29 días hace | 1

Respondida
Why is Preallocating arrays important in MATLAB, and how does it improve performance compared to dynamically growing arrays?
That's what AI answers: Preallocation in MATLAB—creating an array to its full size before filling it within a loop—is significa...

alrededor de 1 mes hace | 0

Respondida
can this code be improved?
Better use separate functions for problem setup, ODE solution and plotting and call these three functions from one main driver. ...

alrededor de 1 mes hace | 0

Respondida
Finding all eigen value between two given eigen value.
There is no special feature in "eig" or "eigs" to find all eigenvalues within a specified range. The best you can do is to use "...

alrededor de 1 mes hace | 0

Respondida
Can anyone help on the plotting of the Skin friction coefficient , Nusselt number and the Sherwood number on bvp4c?
If Skin friction coefficient = Cfx*0.5*Re^(1/(n+1)), Nusselt Number = Nux*Re^(-1/(n+1)) and Sherwood number = Shx*Re^(-1/(n+1))...

alrededor de 1 mes hace | 0

Respondida
Good day my good people, how can we plot the classical variables and the main equations under variation of parameters in bvp4c?
To compute the "classical" variables Cx, Nux and Shx, we need Reb. To vary parameters, use a loop. E.g. sisko5() function sis...

alrededor de 1 mes hace | 0

| aceptada

Respondida
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...

alrededor de 2 meses hace | 0

| aceptada

Respondida
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...

alrededor de 2 meses hace | 1

Respondida
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...

alrededor de 2 meses hace | 0

Respondida
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...

alrededor de 2 meses hace | 1

| aceptada

Respondida
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: ...

alrededor de 2 meses hace | 0

Respondida
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...

alrededor de 2 meses hace | 0

| aceptada

Respondida
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...

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 1

| aceptada

Respondida
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 ...

2 meses hace | 0

Respondida
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...

2 meses hace | 1

Respondida
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 ...

3 meses hace | 1

| aceptada

Respondida
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.

3 meses hace | 0

| aceptada

Respondida
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....

3 meses hace | 0

Respondida
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 ?

3 meses hace | 1

Cargar más