Réponse apportée
Solving 4 nonlinear equation for 4 unknowns numerical - doesn't find an answer [0×1 sym]
Hi @Faraz j Fixing the vpasolve() syntax does return some complex-valued solutions, with their real parts close to the values o...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to fix such type of problem ?
Hi @Assen Beshr Correct me if I interpreted your problem incorrectly. If you want to maximize the real part of the stabilizing ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Time responses of the steering angle
Hi @Nguyen Finding the values to plot the graph is less useful than having a reliable algorithm to determine the steering angle...

plus de 2 ans il y a | 0

Réponse apportée
Second order approximation of a third order system
Hi @Keaton Looper For versions before R2023b release, use the balred() command. Now you can use the newer reducespec() command ...

plus de 2 ans il y a | 0

Réponse apportée
how to see training, validation and test regression lot in ANN
Hi @Sunita Here is an example using the plotregression() command. x = 0:10; targs1 = x.^2; outs1 = targs1 + 7*randn(1...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I obtain the bode plot of the given transfer function?
Hi @bebo You need to improve your skills in identifying math operators. There are many missing '*' operators % Parameters of t...

plus de 2 ans il y a | 0

Réponse apportée
can I ask a several question about automatic control ?
Hi @영석 윤 When a differential equation is given, modeling a system in Simulink requires converting the equation into integral fo...

plus de 2 ans il y a | 0

Réponse apportée
Water Storage Tank Modelling
Hi @Abdelmoniem Abomosalam Your question is quite broad, so I recommend starting with the modeling of water tank level control....

plus de 2 ans il y a | 0

Réponse apportée
Modeling a water tank system using h(t)
Hi @Maria The equation you showed, , is actually the analytical solution of a 1st-order linear system that exhibits an exponent...

plus de 2 ans il y a | 0

Réponse apportée
please help me to this error "Derivative of state '1' in block 'ex/Integrator1' at time 1.3765443114784894 is not finite. The simulation will be stopped. There may be a sing
Hi, your system is unstable and it grows without bound, thus making the simulation stops. Check the formulas of each Gain block....

plus de 2 ans il y a | 0

Réponse apportée
Root Locus Plot Is Way Off
Hi @Walter Roberson Based on the description from the OP, the compensated system should form a closed-loop system. The formula ...

plus de 2 ans il y a | 0

Réponse apportée
Root Locus Plot Is Way Off
Hi @Arpad It seems that employing the place() command is a more efficient approach to solving the pole placement problem. I wil...

plus de 2 ans il y a | 0

Réponse apportée
Root Locus Plot Is Way Off
Hi @Arpad I am uncertain about what your professor intends for you to learn. Initially, the problem seems akin to a standard Po...

plus de 2 ans il y a | 0

Réponse apportée
Tune FIS with Training Data
Hi @Ahmad Long story short, the MATLAB data file 'tunedfismpgprediction.mat' contains 2 pre-trained FIS files because this is a...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Please help. The first input argument of the "tf" command cannot be a string.
Hi @Melissa Variable K doesn't a specific value, I want multiply K other variables like TR2... From the root locus, it appear...

plus de 2 ans il y a | 0

Réponse apportée
Lotka volterra model for 3 species (1 prey - 2 predators)
Hi @José Manuel This isn't strictly a MATLAB-related question, but I believe animal behaviorists might be able to advise you. A...

plus de 2 ans il y a | 2

Réponse apportée
PID simulation for heating with heat pump
Hi @Branko What is the best way to simulate the system and ... If you are a newbie, I'd recommend modeling the system in Simul...

plus de 2 ans il y a | 1

Réponse apportée
transfer function zeros are more than poles
Hi @aiman You can try these configurations (2 methods). Both should produce nearly the same output signals.

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Plotting issue where the curve is missing
Hi @Lutfi The reason is that Phi_b is a constant, and time is a vector. They don't have the same dimension. Phi_b = (1 - 0.930...

plus de 2 ans il y a | 2

Réponse apportée
Plot interval in y
Hi @Maria The ylim() command can be used to set the interval on the y-axis. x = -1:0.01:1; y = x.^3 - 0.25*x.^2 - 0.5*x; f...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Inverse Laplace transform of a 4 by 4 matrix
Hi @Sunday Aloke Since this is a linear dynamic system described in state-space, the output can be found using the dsolve() com...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
particle swarm optimization code to minimize cost function
Hi @REENA Regarding the particleswarm() solver, I believe you can define constraints using the Problem-Based Optimization appro...

plus de 2 ans il y a | 0

Réponse apportée
How would I plot this and then achieve minimum and maximum.
Hi @Tom The cubic function does not have global extrema, but it does have a local maximum point and a local minimum point. Are ...

plus de 2 ans il y a | 1

Réponse apportée
ode45 errorI have
Some corrections in the ODE function (ODAYRK1) Tol = 1e-12; Tol0 = 1e-9; tspan = [0 10]; options = odeset('RelTol',...

plus de 2 ans il y a | 0

Réponse apportée
Find zeropoints with interpolation
Hi @malik abdelli Check this out to see if this approach, using the zerocrossrate() function, is acceptable for finding the ind...

plus de 2 ans il y a | 1

Réponse apportée
Help With for loop with tranfer function and step
Hi @Davide Cannavacciuolo You probably want to plot like this: s = tf('s'); G = 1/(s^2 + 0.4*s + 0.1); K = [1 2 3 4 5 6]; ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to type sin function with square
@John Sanjai J, are you expecting this? syms x expr = sin(x)^2

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
What is the function to use to find the intersection of two graphs?
Hi @Lê It is possible to find intersections using the fsolve() command. f = @(x,y) y - 2 - (x.^2).*cos(x); fimplicit(f), grid...

plus de 2 ans il y a | 0

Réponse apportée
Solve ODE without initial condition
Hi @sudhir I also couldn't obtain the analytical solution using dsolve(). However, when I tested this problem on Wolfram Alpha,...

plus de 2 ans il y a | 0

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

Charger plus