回答済み
I have this code how can I do it in simpsons 1/3 and 3/8 rule on matlab
Hi @Gura Gwar Can't remember the Simpson's rules (since you didn't provide the math). But I guess you can find the relationship...

約4年 前 | 1

| 採用済み

回答済み
ODE friction-vibration system: unable to meet integration tolerances
Hi @Kasidit Suwannagarn Edit: Replaced the previous flawed answer with the system analysis. % constants mp = 0.0075; cp ...

約4年 前 | 0

回答済み
How to plot a line with specific line slope ?
But you can only determine the slope if you know the coordinates of the adjacent points. Are you trying to plot the vector of...

約4年 前 | 1

回答済み
need help with gauss elimination
Hi @Matt Thomas Can you show the Gaussian elimination method in pen and paper? This is not Gauss method, but requires the Inve...

約4年 前 | 0

回答済み
How can I add a Braking System to my Project ?
Hi @Abdelmoughit Miftah It is relatively easy to ADD an existing system into a Simulink file. Find someone who has the Simulin...

約4年 前 | 0

回答済み
Motion simulator using simulink
Hi @Wajih IMLIKI You multiply v with v, and then you take a square root of v²? In order to get the absolute value of v? By the ...

約4年 前 | 0

回答済み
PID not achieving required results
Hi @Desislava Petkova The Plant (a 3rd-order system) settles at around 123 seconds. s = tf('s'); Gp = 0.047/(s^3 + 3.88*s^2 ...

約4年 前 | 2

| 採用済み

回答済み
WhatsApp can i do to plot the fonction below respect to the variables x and t
Hi @Thomas TJOCK-MBAGA Are you trying to plot something like this? C = []; X = linspace(0,1,25); T = linspace(0,10,250); fo...

約4年 前 | 1

| 採用済み

回答済み
How to calculate differential equation with trigonometric function?
With the given ODE function dydx = odefcn(x, y) fcn = 2*x/y + (x^2)*(y^2)*cos(y); dydx = - 1/fcn; end you can...

約4年 前 | 1

回答済み
I have created the genetic algorithm program but execution of script ga as a function is not supported error is generated.
Looks like a nested problem where the execution of script creates a circular dependency of stalagmite/ga function outputs and in...

約4年 前 | 0

回答済み
Curve Fitting Toolbox do not provide decent fitting. Inf computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
Hi @Thomas Madoki I think the answer is to "correctly guess" the equation that fits the data by trial-and-error method. If you...

約4年 前 | 1

| 採用済み

回答済み
Taylor series plotting with an exp function
Hi @Faisal Al-Wazir, Like this acceptable? syms x f = exp(x^2/2) + exp(x)*cos(x); T4 = taylor(f, x, 'Order', 4); T7 = taylo...

約4年 前 | 0

回答済み
Random exponential function between two values
Hi @Nicola De Noni Are you looking for an exponential decay like this? t = linspace(0, 3000, 30001); tmin = 50; xmin = 16;...

約4年 前 | 1

| 採用済み

回答済み
Problem While Doing Libprog (Problem is unbounded)
Hi @Loke Yan Kuang You can also check if a feasible solution exists in other solver such as fmincon. A = [1.0 1.0 1.0 1.0 1.0 ...

約4年 前 | 1

| 採用済み

回答済み
Lithium Battery Charger Simulation
Hi @Panagiotis Soutzis & @SALAH alatai You can take a look if this example of battery charging in smartphone if helpful https:...

約4年 前 | 0

回答済み
Can I formulate an Linear Programming model to determine the optimal pumping for each pumping well?
Hi @KOLA AVINASH RAI Hope the following examples related to solving linear programming problems using the linprog() function in...

約4年 前 | 0

回答済み
Hello everyone please I have a problem. How to declare a function with two variables in MATLAB and plot the evolution according to one variable after having fixed the other ??
Because one is 1x25, and the other is 1x500. Now both are 1x100. x = linspace(0, 1, 100); t = linspace(0, 5, 100); y = exp(-...

約4年 前 | 1

回答済み
Solving response of tuned mass damper with ODE45
Hi @Frederik Rolighed Christensen Please note that your Tuned Mass–Damper System does not contain any damper. Also check if the...

約4年 前 | 1

回答済み
how can i plotting 3d this differantial functions
Hi @Mehmet Aktay The Mass(m)–Damper(c)–Spring(k) system behaves just like , a critically-damped system where and . Therefor...

約4年 前 | 0

回答済み
my mathlab didnt read my cftool command, how do i solve it?
Hi @Hafawati Rosdi Please check if a license exists for Curve Fitting Toolbox™. If a license exists, then the status returns 1....

約4年 前 | 0

回答済み
How to solve third order equation using ode45
@Álvaro Recalde, I'll show an example from https://www.mathworks.com/help/matlab/ref/ode45.html#bu3uhuk function dydt = odefcn...

約4年 前 | 2

回答済み
Calculate solar zenith angle
Hi @Arvind Gauns I did a web search and found the formula. It's a little strange that your browser didn't show references/guide...

約4年 前 | 1

回答済み
Create function that functionally same to polyfit
@종석 박 I find it a little strange. Should your Intructor/Professor send you to learn the essentials through MATLAB Onramp at the...

約4年 前 | 0

回答済み
how to solve an equation by using trial and error method?
@Ali Deniz I'm not sure what the trial-and-error method is for this, but I think that basic Algebraic methods can be used to re...

約4年 前 | 1

| 採用済み

回答済み
Who can help me with my convolution code please?
@Loh Sheng Ting, I look at your code directly (that is related to Question b) and it looks okay. step = 0.01; t = -5:step:5; ...

約4年 前 | 0

回答済み
is there a way to obtain F(-x) polynomial
@ali temsah Alternatively, the same you've got F(x). H(x) = poly2sym(f, -x)

約4年 前 | 1

回答済み
Why Does My Plot Not Match My Numbers?
Hi @Nick Moffatt Since the values for the parameters are not provided, they are assumed in the following, which should give you...

約4年 前 | 0

回答済み
Earthquake simulation - finite elements method
Hey @Steph Moty I remember seeing this book "MATLAB Codes for Finite Element Analysis: Solids and Structures" in the library. ...

約4年 前 | 0

回答済み
Can you help please?
Hi @Konian Jean Philippe Lionnel Moro Please find out relevant info about Newton-Raphson method here, and see if helps you in w...

約4年 前 | 2

| 採用済み

回答済み
Find using the method of Newton-Raphson (h(𝛼) = 𝑓(𝛼) − 𝑔(𝛼)) the two solutions with a tolerance equal 10-8.
Hi @saher haz I'm unsure if I understand your question clearly. But you can definitely find some info about Newton-Raphson meth...

約4年 前 | 0

さらに読み込む