Statistiques

MATLAB Answers

0 Questions
6 983 Réponses

RANG
14
of 301 990

RÉPUTATION
17 358

CONTRIBUTIONS
0 Questions
6 983 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
2 025

RANG
 of 21 481

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 177 922

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
Please help me determine positive values of s and h(s,h>0) such that L1 and L2 have opposite signs. Then print L1 and L2
For L1 and L2 to have opposite sign, you can remove equal multiplicative factors in both L1 and L2. So L1d and L2d in L1d=a1*s...

4 jours il y a | 0

Réponse apportée
knnsearch() fails when using kdtree NSMethod
This might be an explanation for the different results (from AI): KD-Trees optimize lookups by comparing bounding boxes and spl...

6 jours il y a | 2

| A accepté

Réponse apportée
How can I make maximum points of curves in 2nd region curves not as triangles?
Use % Plotting each curve with a distinct color and label plot(r_vec(1:100),real(u_vals(1:100)), '-', 'Color', colors(m,:)...

7 jours il y a | 0

Réponse apportée
How can I get the limit of function val as mu2 tends to zero & infty?
You must define all parameters involved in the computation of val - either as symbolic variables or as numerical values. Thus ...

10 jours il y a | 0

| A accepté

Réponse apportée
How can I get the inversion Laplace to function val?
According to the final value theorem, it holds that lim (t -> Inf) f(t) = lim (s -> 0) [s*F(s)] Where: t is the time in the t...

12 jours il y a | 0

Réponse apportée
Have I used the global variable in a wrong way?
The global variable has to be set to a certain value before it is first used. So as far as I understand your workflow, you can't...

15 jours il y a | 0

Réponse apportée
Unrecognised function or variable helperPlotPaths
If you open the Active Sonar Example in MATLAB Online, you will find this function. https://uk.mathworks.com/help/phased/ug/und...

15 jours il y a | 1

| A accepté

Réponse apportée
Rapid calculation of the number of points in a circular neighbourhood
Did you try "pdist" ? https://uk.mathworks.com/help/stats/pdist.html But maybe the distance matrix D will become too large in...

16 jours il y a | 1

| A accepté

Réponse apportée
i have coupled odes with slip boundary conditions.
Can't you deduce an analytical expression for w'' with only derivatives up to first order of the other solution variables and in...

19 jours il y a | 0

Réponse apportée
fitting is not working
As far as I can see, the function f(x) = p*(1-2*p./x.*tanh(x/(2*p))) is monotonically increasing (the first parameter params(1) ...

20 jours il y a | 0

Réponse apportée
How to call kummerU for a stand alone program
As far as I know, nothing in the symbolic toolbox can be compiled. And "kummerU" is a symbolic function ... Try to find a relia...

environ 2 mois il y a | 0

Réponse apportée
Can I solve a symetric system using only the lower triangular portion of the matrix?
Consider A = [0 0;1 0]. Then A is lower triangular and singular. But A + A' = [0 1;1 0] is regular. So why do you think Afull s...

environ 2 mois il y a | 0

Réponse apportée
Volume and Surface Area of a Compound Geometric Object
Code for volume and surface area. You might want to try to vectorize the for-loops. c1 = [0 0 0]; c2 = [sqrt(2) 0 0]; c3 = [s...

2 mois il y a | 1

| A accepté

Réponse apportée
error from Interpolation of the attached data
clear all load('data.mat'); [x1,i1] = unique(x1); y1 = y1(i1); [x2,i2] = unique(x2); y2 = y2(i2); figure(1);plot(x1,y1...

2 mois il y a | 1

| A accepté

Réponse apportée
PDEPE for root diffusion in soils
In my opinion, the boundary condition at x = 0 is not correctly set. Your boundary condition is D*dc/dx = h*(c-c_atm) "pde...

2 mois il y a | 0

Réponse apportée
my matlab says i dont have a valid licence
https://uk.mathworks.com/matlabcentral/answers/1819010-why-do-i-receive-mathworks-licensing-error-5005-you-do-not-have-a-valid-l...

2 mois il y a | 1

Réponse apportée
Solving diffeerntial equations numerically
If you want solutions at multiples of dt without interpolation, the only way I can think of is to call the ode integrator in a l...

2 mois il y a | 0

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

2 mois il y a | 0

| A accepté

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

3 mois il y a | 1

| A accepté

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

3 mois il y a | 0

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

3 mois il y a | 0

| A accepté

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

3 mois il y a | 0

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

3 mois il y a | 0

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

3 mois il y a | 0

| A accepté

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

3 mois il y a | 0

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

3 mois il y a | 0

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

3 mois il y a | 0

| A accepté

Réponse apportée
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 mois il y a | 1

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

3 mois il y a | 0

| A accepté

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

3 mois il y a | 0

Charger plus