回答済み
Water Storage Tank Modelling
Hi @Abdelmoniem Abomosalam Your question is quite broad, so I recommend starting with the modeling of water tank level control....

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 1

| 採用済み

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

2年以上 前 | 0

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

2年以上 前 | 2

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

2年以上 前 | 1

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

2年以上 前 | 1

| 採用済み

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

2年以上 前 | 2

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

2年以上 前 | 1

| 採用済み

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

2年以上 前 | 0

| 採用済み

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

2年以上 前 | 0

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

2年以上 前 | 1

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

2年以上 前 | 0

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

2年以上 前 | 1

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

2年以上 前 | 0

| 採用済み

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

2年以上 前 | 0

| 採用済み

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

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 1

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

2年以上 前 | 0

| 採用済み

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

2年以上 前 | 0

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

2年以上 前 | 0

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

2年以上 前 | 0

| 採用済み

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

2年以上 前 | 0

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

2年以上 前 | 1

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

2年以上 前 | 1

| 採用済み

さらに読み込む