Réponse apportée
inverse laplace transform from laplace transfer without using " ilaplace" instruction
Hi @Abdallah My integral skills get a little rusty due to over-relying on the Laplace transform look-up table. Anyhow, let's tr...

plus de 2 ans il y a | 1

Réponse apportée
Why my plot is wrong if I decrease dt
Hi @cindyawati cindyawati Please check if the differential equations and the initial values are enterer correctly or not. % Ca...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Why my - tf2sym - command is not working?
Hi @Enes Emre Öztürk, I guess you want to convert the transfer function to state-space nodel. Gs = tf(1, [1 10 27 18]) %% Me...

plus de 2 ans il y a | 0

Réponse apportée
How to use System Identification to estimate System Model with Process Variable (PV), Set Point (SP), and Output (OP) actual data over certain period?
Hi @Kiky Agustina Putri According to this article, a control system has three variables: the setpoint (SP), the process variabl...

plus de 2 ans il y a | 0

Réponse apportée
0% pwm output in pwm control of dc motor in fuzzy logic control
Hi @ser I've been contemplating the use of Mamdani FIS, particularly in the context of driving the PWM output from 0% to 100%, ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Multiplying and finding inverse of a matrix.
Hi @Omar Just wanted to share the three methods I sometimes use to compute the matrix inverse. G = [0.3 0 -0.2 0; ...

plus de 2 ans il y a | 0

Réponse apportée
how to find intersect with 2 lines
Hi @JEEVITHA If you post like this, your question will likely be closed by the mods later. Please plot the circle and the recip...

plus de 2 ans il y a | 1

Réponse apportée
How can I draw graph of y^2=x^2 * (x+3)?
Hi @Lê The fimplicit() function can be used. f = @(x, y) y.^2 - (x.^2).*(x + 3); fimplicit(f), grid on xlabel('x'), ylabel('...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Error while using transfer function 'tf'
Hi @Keerthik Dhivya Please check if you have a user-defined function m-file with the same name as 'tf' that is saved in the cur...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
I'd like to draw a graph of mechanical vibration with a matlap....
Hi @Hac Li Your teacher won't approve this code as it utilizes the MATLAB built-in ODE solver. However, you can compare the res...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Water Treatment Plant Modelling
Hi @hwee, @Vangala, & @Fernando Larraga I suggest that you refer to the definitive guide to water treatment engineering book in...

plus de 2 ans il y a | 3

Réponse apportée
How to build a model of Drone in Matlab Simulink?
Hi @Tris It is probably difficult to hire someone to model the drone. Your teacher most likely won't believe in your efforts or...

plus de 2 ans il y a | 0

Réponse apportée
ode45 function and solver errors for reactant conversion and temperature change
Hi @Maureen This should get the code running. Please edit the initial values as needed. If you are not very familiar with some ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
I want to make airfoil on Matlab..please tell me code of this
Hi @Aina Some aircraft instructors didn't teach the math behind drawing the airfoil. I had to dig up an old file to plot the NA...

plus de 2 ans il y a | 1

Réponse apportée
Optimization of Battery Design for a EV
Hi @Shardul I didn't watch the video. However, with the cost function, you apply the optimizer: fun = @costfun; x0 = 1; A ...

plus de 2 ans il y a | 0

Réponse apportée
Identifying Maximum Damping Factor and Frequency in Root Locus Plots
Hi @Chukwudalu, You can use the damp() command to find out the damping and frequency information. You can also use the looping ...

plus de 2 ans il y a | 0

Réponse apportée
dsolve problem got error
Hi @지웅 장 If dsolve() cannot return an analytical solution, then use ode45 solver to obtain a numerical solution. However, Wolf...

plus de 2 ans il y a | 0

Réponse apportée
Doubt in Coupled Ode
Hi @Susmita Panda Your 4th-order coupled system has two eigenvalues with positive real parts. Therefore, in theory, the state r...

plus de 2 ans il y a | 0

Réponse apportée
Setting a Specific Formula for PID Controller in Simulink (Matlab)
Hi @nora & @dorrin If you intend to use a PID controller to make the system behave similarly to the designed compensator, you'l...

plus de 2 ans il y a | 0

Réponse apportée
The main concern in this investigation to minimize the cost, volume and power loss of a BLDC motor
Hi @Debabrata Since you are an expert in BLDC motors, you should be able to write down relevant formulas in code. The syntax fo...

presque 3 ans il y a | 0

Réponse apportée
How to convert time varying state matrix to ss ?
Hi @Savvas The ss() function accepts real- or complex-valued state-space matrices. Nowhere in the documentation does it mention...

presque 3 ans il y a | 0

Réponse apportée
Using direct search and Bisection method to find roots above y=40.
Hi @Zainab I don't understand most part of your cluttered code and your code cannot find the roots. Thus, I have indicated chan...

presque 3 ans il y a | 0

Réponse apportée
How would I determine the gain required for a settling time of 1 second for the system G=(s+4)/((s+1)(s^2+6s+13))?
I think no gain can make the closed-loop system to settle at 1 second. The fastest is around 1.74 sec with the gain 16.89. You n...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Setting a Specific Formula for PID Controller in Simulink (Matlab)
Hi @nora Use the Transfer Funtion block instead. https://www.mathworks.com/help/simulink/slref/transferfcn.html

presque 3 ans il y a | 0

Réponse apportée
Transfer Function Sensitivity & Complete Derivations
Hi @Richard I followed the formulas you provided and arrived at these solutions. syms s a k1 k2 Gp = 1/(s^2 + a*s); Gc ...

presque 3 ans il y a | 0

Réponse apportée
How to exit an optimization function without error?
Hi @Sargondjani Can use return. Update: Editted the solution by using the function approach. %% Solving Stage A Problem firs...

presque 3 ans il y a | 0

Réponse apportée
how to fit the coupled differential equations and get the coefficients?
Hi @영훈 임 You can try the Batch Least Squares method to estimate values of the parameters L1 and L2. Update: The solution is up...

presque 3 ans il y a | 0

Réponse apportée
The output of solve(eqn, x) is still an equation instead of number
Hi @NGiannis In the comment above, if is set as constant, then the parameter appears in two terms. can be found by solving e...

presque 3 ans il y a | 1

Réponse apportée
Trouble using the ode45 input
Hi @Isabella From the ODE, the analytical solution is a sine wave. If the parameters are some fixed values, then you can place...

presque 3 ans il y a | 0

Réponse apportée
How to find out gain K in root locus for stable system through MATLAB program ?
@Ammon Traeden Click anywhere on the locus and the characteristic properties will appear. s = tf('s'); G = (s^2 + 10*s + 10)/...

presque 3 ans il y a | 0

Charger plus