回答済み
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...

2年以上 前 | 1

| 採用済み

回答済み
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...

2年以上 前 | 0

| 採用済み

回答済み
Water Treatment Plant Modelling
Hi @hwee, @Vangala, & @Fernando Larraga I suggest that you refer to the definitive guide to water treatment engineering book in...

2年以上 前 | 3

回答済み
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...

2年以上 前 | 0

回答済み
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 ...

2年以上 前 | 0

| 採用済み

回答済み
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...

2年以上 前 | 1

回答済み
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 ...

2年以上 前 | 0

回答済み
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 ...

2年以上 前 | 0

回答済み
dsolve problem got error
Hi @지웅 장 If dsolve() cannot return an analytical solution, then use ode45 solver to obtain a numerical solution. However, Wolf...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

| 採用済み

回答済み
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

2年以上 前 | 0

回答済み
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 ...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 0

回答済み
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...

2年以上 前 | 1

回答済み
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...

2年以上 前 | 0

回答済み
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)/...

2年以上 前 | 0

回答済み
How can I solve this problem by using Euler's method?
Mathematically, the solutions look like the following:

2年以上 前 | 0

回答済み
Help with simple nested function
Ciao @Davide Cannavacciuolo If I'm not mistaken, you probably want to plot something like this, right? Once you confirm that, w...

2年以上 前 | 0

回答済み
How to find the Transfer function of a Simulink output plot?
Hi @Atefeh I'm not an expert, but I have friends who are, and one of them said this is possible with this math function: whe...

2年以上 前 | 1

回答済み
How to solve these non-linear equations?
Hi @Samir Thapa If you have the Optimization Toolbox installed, then you can use the 'fsolve' function to solve the system of n...

2年以上 前 | 0

回答済み
Seeking help for find matrix A,B,C, D for a space rappresentation
Hi @Edoardo Moroni. Aha! Now I understand your fundamental issue. Your mathematics teacher should have covered this matrix top...

2年以上 前 | 0

回答済み
Fitting an exponential equation to this data with CFtool
Hi @Stefano Russo The data doesn't show the steady-state value. Nonetheless, we can still try fitting the exponential model to ...

2年以上 前 | 0

回答済み
Having problems with PID Control...
Hi @JAVIER Based on the provided information and without the mathematical model of the robotic arm and the PD controller gains,...

2年以上 前 | 0

回答済み
reinforcement learning will suddenly stop during the training process
HI @嘻嘻 The most common issue that the error message you've encountered in Simulink indicates that there is a "division by zero"...

2年以上 前 | 0

| 採用済み

さらに読み込む