Risposto
pinv function is supported for dlarray input while the pageinv function is not supported
Answer from AI: As of the latest MATLAB releases, pageinv does not directly support dlarray inputs. Standard matrix inversion f...

3 mesi fa | 0

| accettato

Risposto
How to pass step forcing function in system model to ode15s
You will have to stop the integration when the inputs get discontinuous and restart with the results obtained so far, maybe with...

3 mesi fa | 0

| accettato

Risposto
MATLAB Phase Plane App: Can I Increase the Precision of the Reported Equilibrium Eigenvalues?
@Kaylie This is what AI gives as an answer to your first three questions: No, there is no built-in toggle or setting to change...

3 mesi fa | 0

Risposto
How to import mf4 file and display in UITable within AppDesigner?
Answer from AI: To read .mf4 (Measurement Data Format version 4) files in MATLAB, use the built-in mdfRead function. This funct...

4 mesi fa | 1

| accettato

Risposto
Actualización de la fecha en la expedición de un certificado
Answer from AI: To update the date on your MathWorks certificate, make sure you select the specific current MATLAB release/vers...

4 mesi fa | 1

Risposto
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 mesi fa | 0

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

4 mesi fa | 2

| accettato

Risposto
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 mesi fa | 0

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

4 mesi fa | 0

| accettato

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

4 mesi fa | 0

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

5 mesi fa | 0

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

5 mesi fa | 1

| accettato

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

5 mesi fa | 1

| accettato

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

5 mesi fa | 0

Risposto
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) ...

5 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 1

| accettato

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

6 mesi fa | 1

| accettato

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

6 mesi fa | 0

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

6 mesi fa | 1

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

6 mesi fa | 0

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

6 mesi fa | 0

| accettato

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

7 mesi fa | 1

| accettato

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

7 mesi fa | 0

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

7 mesi fa | 0

| accettato

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

7 mesi fa | 0

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

7 mesi fa | 0

Risposto
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, ...

7 mesi fa | 0

| accettato

Risposto
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'' ...

7 mesi fa | 0

Carica altro