Réponse apportée
Newtons law of cooling
Hi @Habiba I understand that you are grappling with a certain problem. That's why you've outlined the challenge of not knowing ...

plus de 2 ans il y a | 1

Réponse apportée
X(t)=0.1179e-25.2tsin(50t+0.3224π } Use MATLAB to Plot X (t)with time and determine the amplitude and phase angle of the transient response within the system
Hi @Talha I wanted to help, because you probably wouldn't be asking this question if you already knew which MATLAB functions to...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to locate the answer in the given code?
Hi @Sadiq I've provided the necessary inputs for the Novel Bat Algorithm function. It will return the optimal values, bestX, fo...

plus de 2 ans il y a | 0

Réponse apportée
How to design an oustaloup filter for fractional order controller in FOMCON toolbox?
Hi @Milad A Google search reveals that the third-party FOMCON toolbox on FileExchange includes a 9-parameter function named ous...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
fractional order PID controller tunning/optimization
Hi @Farai Gatawa I received the following warning: Warning: Unable to load block diagram 'fod' >> because the Simulink sto...

plus de 2 ans il y a | 0

Réponse apportée
solving a circuit with multiple-objective optimization algorithm to find resistors and voltages values
Hi @Moussa Update: This is not a complete solution, but it could serve as a starting point by applying Kirchhoff's Voltage Law,...

plus de 2 ans il y a | 0

Réponse apportée
Plotting the aircraft pitch angle response to elevator
Hi @Daniel Jackson, I just replied to your other question, and then I noticed this new but similar question. Anyway, the secon...

plus de 2 ans il y a | 1

Réponse apportée
how can i solve this problem?
Hi @worod FOPID, like the ordinary PID, is a static control architecture. The control parameters require the designer to mathem...

plus de 2 ans il y a | 0

Réponse apportée
Aircraft pitch angle response to elevator inputs
Hi @Daniel Jackson If all the equations are correct, you can use the MATLAB Function block to enter each equation. https://www...

plus de 2 ans il y a | 0

Réponse apportée
Two figures in to two plots. I need to plot (the density Vs pressure) and ( the density vs. Temperature) for the data itself and using Peng Robinson model.
Hi @Hanadi Previously, didn't @Torsten successfully demonstrate how to plot the Peng–Robinson equation here? Are you expecting ...

plus de 2 ans il y a | 0

Réponse apportée
Facing difficulty to resolve code problem
Hi @Shakeel Ahmed I recommend using the numerical approach directly when the state equations are available, as in your case. It...

plus de 2 ans il y a | 0

Réponse apportée
Matlab step() from Simulink dataset
Hi @Oleg Some information is unavailable in your code, but I managed to guess and reproduce the result of the computed LQR gain...

plus de 2 ans il y a | 0

Réponse apportée
Design and Simulation of optimized Anti-surge Adaptive control system for Centrifugal Compressor
Hi @MADUKA CHIKA To simulate the dynamics and control of the Centrifugal compressor system in MATLAB, you must adhere to a syst...

plus de 2 ans il y a | 0

Réponse apportée
Simulation and Modelling of a compressor
Hi @MADUKA CHIKA There won't be any detailed technical answer for this general question. However, based on your image, we can a...

plus de 2 ans il y a | 0

Réponse apportée
My code fails to get value for M (M and K should be very small numbers, close to zero I believe).
Hi @Sean Rotmansky You have one equation, 'g', but you are attempting to solve for two unknown variables, M and K. The system i...

plus de 2 ans il y a | 0

Réponse apportée
Plotting the derivative of infected population SI model
Hi @Amal Matrafi You can use deval() to obtain the first derivative. Alternatively, as suggested by @Star Strider, you can also...

plus de 2 ans il y a | 0

Réponse apportée
How to make a phase diagram plot?
Hi @Wing Nam If the analytical solution exists, then you can solve the ODE symbolically using the dsolve() command. From the re...

plus de 2 ans il y a | 0

Réponse apportée
step response comparison of linear and non linear model
Hi @kruthika u To compare the results, you need to solve the linear system and generate the linear outputs, just as you would f...

plus de 2 ans il y a | 0

Réponse apportée
how can I keep track of last n sec of data at each time step in Simulink model itself?
Hi @Sowmya Payyavula You can test out this Tapped Delay block. It can store data for the specified number of delay steps.

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Can you share a thesis example about modelling of Unmanned Aircraft Vehicle for Simulink ?
Hi Tahsin, For modeling, reference books are usually very detailed in explaining the derivations of the governing state-space...

plus de 2 ans il y a | 0

Réponse apportée
I am looking for advice on the best way to learn matlab. I am a second year PhD student trying to familiarize myself with problems or projects. Any advice?
Hi @Mac Kenzie Some prefer to read books, and some learn faster by watching videos. If you are a beginner, I suggest you should...

plus de 2 ans il y a | 0

Réponse apportée
Error in pole placement
Hi @Ho Pui Sum That is the limitation of the place() command, and it is documentated here. In your case, the rank of the input ...

plus de 2 ans il y a | 0

Réponse apportée
How to find the Transfer function of a Simulink output plot?
Hi @Atefeh Given the piecewise function defined for I propose a more intuitively understandable Heaviside-based formula, whi...

plus de 2 ans il y a | 1

Réponse apportée
Help using fsolve (theta beta mach)
Hi @Evan Gehret If you have all the information on the right-hand side of the equation, then I think applying the inverse tange...

plus de 2 ans il y a | 1

Réponse apportée
Need help to make a ode function asign a value
Hi @Lucas Resende As mentioned by others, we cannot directly test your code because some information about the parameters is no...

plus de 2 ans il y a | 0

Réponse apportée
I need a help to plots pressure vs. Temp at equilibrium from the attached paper and in the same graph another plot using Peng Robinson model.
I'm not an expert in gas laws, but when the data is available (for example, in the fictional dataset below), you can plot the gr...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
step response of non linear model
Hi @kruthika u Alternatively, you can describe the ODEs and the Outputs in a nonlinear State-Space System: In other words, y...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
step response of non linear model
Hi @kruthika u For general nonlinear ODEs, you can refer to some examples in the ode45 documentation. To plot the state-depende...

plus de 2 ans il y a | 1

Réponse apportée
Trying to enter a transfer function in simulink (tauD s + 1)
Hi @Wouter Mathematically, is equivalent to in continuous-time domain. As a simple test, if we inject a signal, , which is al...

plus de 2 ans il y a | 0

Réponse apportée
adding noise to the solution obtained from ode45/dde23
Hi @Muhammad, Does it work if you execute the following? [t, y] = ode45(@odefun, tspan, y0); noise = mynoise(t); % user-...

plus de 2 ans il y a | 0

| A accepté

Charger plus