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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 2

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 2

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 3

Carica altro