Feeds
已回答
How can I round a MATLAB calculation to a specified number of significant figures?
x = [0.004567 0.04567 4.567 45.67 4567]; significant_figures = 3; format long rounded_x = arrayfun(@(m)round_sig(x(m),signi...
How can I round a MATLAB calculation to a specified number of significant figures?
x = [0.004567 0.04567 4.567 45.67 4567]; significant_figures = 3; format long rounded_x = arrayfun(@(m)round_sig(x(m),signi...
14 hours 前 | 0
已回答
Nonlinear Newton solver fails near resonance for porous moonpool model
You cannot stick to the points "T" that you prescribe in advance to compute "eta". If the Newton solver diverges, you should hal...
Nonlinear Newton solver fails near resonance for porous moonpool model
You cannot stick to the points "T" that you prescribe in advance to compute "eta". If the Newton solver diverges, you should hal...
8 days 前 | 0
已回答
Topology Optimization - Multiple Loads with a circle
That's how I understand what changes have to be made to the code (although the free upper left zone isn't properly resolved). n...
Topology Optimization - Multiple Loads with a circle
That's how I understand what changes have to be made to the code (although the free upper left zone isn't properly resolved). n...
9 days 前 | 1
| 已接受
已回答
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...
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...
11 days 前 | 0
| 已接受
已回答
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...
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...
14 days 前 | 0
| 已接受
已回答
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...
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...
16 days 前 | 0
已回答
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...
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...
29 days 前 | 1
| 已接受
已回答
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...
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...
1 month 前 | 1
已回答
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...
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...
2 months 前 | 0
已回答
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...
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...
2 months 前 | 2
| 已接受
已回答
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,:)...
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,:)...
2 months 前 | 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 ...
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 ...
2 months 前 | 0
| 已接受
已回答
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...
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...
2 months 前 | 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...
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...
2 months 前 | 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...
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...
2 months 前 | 1
| 已接受
已回答
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...
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...
2 months 前 | 1
| 已接受
已回答
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...
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...
2 months 前 | 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) ...
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) ...
2 months 前 | 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...
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...
3 months 前 | 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...
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...
3 months 前 | 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...
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...
3 months 前 | 1
| 已接受
已回答
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...
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...
3 months 前 | 1
| 已接受
已回答
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...
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...
3 months 前 | 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...
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...
4 months 前 | 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...
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...
4 months 前 | 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...
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...
4 months 前 | 0
| 已接受
已回答
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....
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....
4 months 前 | 1
| 已接受
已回答
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...
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...
4 months 前 | 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...
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...
4 months 前 | 0
| 已接受
已回答
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...
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...
4 months 前 | 0









