Statistiques

MATLAB Answers

0 Questions
6 939 Réponses

RANG
14
of 301 127

RÉPUTATION
17 248

CONTRIBUTIONS
0 Questions
6 939 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
2 010

RANG
 of 21 175

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 172 925

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • 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

Afficher les badges

Feeds

Afficher par

Réponse apportée
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.

5 jours il y a | 0

| A accepté

Réponse apportée
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....

6 jours il y a | 0

Réponse apportée
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 ?

7 jours il y a | 1

Réponse apportée
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)...

12 jours il y a | 0

| A accepté

Réponse apportée
different in Poisson distribution test
"kstest" is not applicable since the Poisson Distribution is a discrete, not a continuous distribution. Since the example "Test...

16 jours il y a | 1

| A accepté

Réponse apportée
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...

20 jours il y a | 0

| A accepté

Réponse apportée
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...

27 jours il y a | 0

| A accepté

Réponse apportée
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; ...

29 jours il y a | 1

| A accepté

Réponse apportée
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...

environ un mois il y a | 1

| A accepté

Réponse apportée
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 = ....

environ un mois il y a | 0

Réponse apportée
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...

environ un mois il y a | 0

Réponse apportée
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 ...

environ un mois il y a | 1

| A accepté

Réponse apportée
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...

environ 2 mois il y a | 1

Réponse apportée
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...

2 mois il y a | 0

| A accepté

Réponse apportée
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 ...

2 mois il y a | 0

| A accepté

Réponse apportée
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...

2 mois il y a | 0

| A accepté

Réponse apportée
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) ...

2 mois il y a | 0

| A accepté

Réponse apportée
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; ...

2 mois il y a | 1

Réponse apportée
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 ...

2 mois il y a | 1

Réponse apportée
Setting constraint between estimation parameters in nonlinear grey box estimation
I doubt that you can set lower and upper bounds on parameters as nonlinear functions of other parameters. In my opinion, Paramet...

3 mois il y a | 0

| A accepté

Réponse apportée
Help implementing 4th-order Runge–Kutta for ODEs with Dirac impulses (discontinuous system)
Look at figure 3 (a) and (b) of the article. Each time the curve for U becomes discontinuous, a dosing is applied to the mice. I...

3 mois il y a | 0

Réponse apportée
Defining a function in one file and using it in a second file
The calls must be for i = 2:NumTimesteps % for each timestep % 1. Soil Respiration % as per Reich, 2002 SoilResp_gC = S...

3 mois il y a | 0

Réponse apportée
real part of eigenvalues vs damping plot
I don't know what you try to plot, but the cell matrix lamda below should contain all information you need. mr=306, mj=141.5, m...

3 mois il y a | 0

Réponse apportée
First value of an array does not display with a decimal
If you like it more, you can use sprintf('%f %f %f',[x, y, z]) instead of disp([x y z]);

3 mois il y a | 1

Réponse apportée
How to integrate a control system by ode45 with PID control input ?
Add a second differential equation dV/dt = P.Xd - X with initial condition V(0) = 0 Then V(t) = integral_{0}^{t} (P.Xd -...

3 mois il y a | 0

Réponse apportée
Matlab's polyfit gives different results when the independent variable is integer than when the independent variable is floating point. Why is that so?
To be consistent, you must either use numDataPointsMinutes = [0,1,2,3, ... 27359]; instead of numDataPointsMinutes = [1,2,3, ...

3 mois il y a | 0

| A accepté

Réponse apportée
How to remove the time dependence of an equation?
Use fimplicit(eq_14(t)==0,"r","LineWidth",2) instead of fimplicit(eq_14==0,"r","LineWidth",2) Why do you use a time-dependen...

3 mois il y a | 0

| A accepté

Réponse apportée
Seeking advice from experts
Use one of the below codes instead. You can't nest functions within a script, but only within another function. So either defi...

3 mois il y a | 0

Réponse apportée
Newtonian Mechanics vector solution needed to find the range of forces (P) that satisfy Fnetx = 0
Your search will never find a value for P for which Fnetx is exactly 0. Better use "fsolve" to solve for the corresponding roo...

3 mois il y a | 0

| A accepté

Réponse apportée
can anyone help me. I am getting error of the following problem
Let's ignore the fifth differential equation in your code for a moment. Then you set up code for the differential equation y''...

3 mois il y a | 1

| A accepté

Charger plus