Statistics
0 Questions
6,981 Answers
RANK
14
of 301,958
REPUTATION
17,350
CONTRIBUTIONS
0 Questions
6,981 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
2,023
RANK
of 21,472
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 177,745
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
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,:)...
4 hours ago | 0
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 ...
3 days ago | 0
| accepted
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...
5 days ago | 0
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...
8 days ago | 0
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...
8 days ago | 1
| accepted
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...
9 days ago | 1
| accepted
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...
13 days ago | 0
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) ...
13 days ago | 0
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...
1 month ago | 0
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...
2 months ago | 0
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 months ago | 1
| accepted
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 months ago | 1
| accepted
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 months ago | 0
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 months ago | 1
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 months ago | 0
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 months ago | 0
| accepted
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....
2 months ago | 1
| accepted
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...
2 months ago | 0
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 months ago | 0
| accepted
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 months ago | 0
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 months ago | 0
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 months ago | 0
| accepted
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 months ago | 0
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 months ago | 0
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 months ago | 0
| accepted
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 months ago | 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...
3 months ago | 0
| accepted
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 months ago | 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 "...
3 months ago | 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))...
3 months ago | 0









