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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

Risposto
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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

Risposto
ODE45 Output size
Hi @Sneh I think you want to compare the numerical solutions with the analytical solutions. %% Method 1: Numerical Solutions ...

oltre 2 anni fa | 0

Risposto
How do I modify the ball on a beam system to accommodate for Friction?
Hi @Kez If Fr is the friction, and you know the friction formula, then you inject it in this differential equation. I don't ...

oltre 2 anni fa | 0

| accettato

Risposto
Fisher's z transform with atanh() to rho goes to infinity
Hi @Alba Peris, If you make sure that rho stays in the range , then will be finite. rho = -0.999:0.001:0.999; y = atanh(rho...

oltre 2 anni fa | 1

| accettato

Carica altro