Statistica
0 Domande
6.956 Risposte
RANK
14
of 301.522
REPUTAZIONE
17.288
CONTRIBUTI
0 Domande
6.956 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
2.016
RANK
of 175.118
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
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...
3 giorni fa | 1
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...
4 giorni fa | 0
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. ...
7 giorni fa | 0
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 "...
8 giorni fa | 0
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))...
9 giorni fa | 0
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...
11 giorni fa | 0
| accettato
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...
21 giorni fa | 0
| accettato
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...
22 giorni fa | 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...
25 giorni fa | 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...
27 giorni fa | 1
| accettato
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: ...
28 giorni fa | 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...
30 giorni fa | 0
| accettato
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...
circa un mese fa | 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://...
circa un mese fa | 1
| accettato
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 ...
circa un mese fa | 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...
circa un mese fa | 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 ...
circa 2 mesi fa | 1
| accettato
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 mesi fa | 0
| accettato
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 mesi fa | 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 mesi fa | 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 mesi fa | 0
| accettato
different in Poisson distribution test
"kstest" is not applicable since the Poisson Distribution is a discrete, not a continuous distribution. Since the example "Test...
3 mesi fa | 1
| accettato
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...
3 mesi fa | 0
| accettato
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...
3 mesi fa | 0
| accettato
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; ...
3 mesi fa | 1
| accettato
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 mesi fa | 1
| accettato
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 mesi fa | 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 mesi fa | 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 mesi fa | 1
| accettato
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...
4 mesi fa | 1









