Respondida
Can anyone please help me in plot of detaec' and taln. In this Iam getting error Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Ot
Hi @Nudrat Sufiyan From your parameters, ThisTerm returns a vector of very small values, because of your chosen value in p. If...

alrededor de 4 años hace | 1

| aceptada

Respondida
Build expert system in Matlab
Hi @Sarah Since you now have the idea how to create the rules, then you can build the Expert system.

alrededor de 4 años hace | 0

Respondida
ODE45: Solving a system of ODEs, except one of the equations changes based on certain parameters. How can I code this?
@Josh Ciesar Assuming that the right direction of the piston is defined by , then this graph shows exactly what you described. ...

alrededor de 4 años hace | 0

Respondida
bode diagram of the quarter car
Hi @Federico Paolucci Say the car model is given by . Then you can use the bode() function. omega = 1; zeta = 0.125/8; s = ...

alrededor de 4 años hace | 0

Respondida
square wave not "limited"
@Federico Paolucci Doesn't seem to have any issue. t = linspace(0, 3*pi, 3001)'; f = 2; duty = 50; x = 0.03*square...

alrededor de 4 años hace | 2

Respondida
how to only plot a certain area of an existing plot
Hi @rman Generally, this imcrop() command is used to crop image, but it can only crop rectangular shape. To crop a circular sh...

alrededor de 4 años hace | 0

Respondida
How can I output the bode plot of a closed control circuit in simulink?
Hi @3a4 In Calculus, we learned Laplace Transform as a strategy for resolving linear differential equation. Applying Laplace ...

alrededor de 4 años hace | 1

| aceptada

Respondida
Math equation for MFCC bit rate
Hi @Jogger If you had begun your journey into the unknown, then perhaps MATLAB Reinforcement Learning Toolbox can help you with...

alrededor de 4 años hace | 0

Respondida
Please I am working on gait planning but I hwve to determine the position angles
@Eric Andoh Perhaps you can try fitting that using the Sum of Sines Model. https://www.mathworks.com/help/curvefit/sum-of-sine...

alrededor de 4 años hace | 1

| aceptada

Respondida
Recover the best individual of each population in GA
Yes, @Jaime Trivino, it is possible according to this section. state.Score % gives you the scores of the current population...

alrededor de 4 años hace | 1

| aceptada

Respondida
the error "The function values at the interval endpoints must differ in sign" + fzero
Hi @Mohamed Adam The function values between the endpoints in this interval x_int have the same sign. If they have different si...

alrededor de 4 años hace | 0

Respondida
Simulink model of RLC circuit (2nd order differential equations)
Hi @Tech The first impression is that the singularity might be caused by the "Division by zero" issue. Looking at your differe...

alrededor de 4 años hace | 2

| aceptada

Respondida
How can i solve this cost function?
Hi @Volcano I converted the matrix equation into a scalar equation. Since there is no constraint, fminunc() is used and the loc...

alrededor de 4 años hace | 2

Respondida
How can I solve this second order equation?
@Shada ahmed This is not exactly the equation given, but it should give you the idea of ''visualizing' the relationship between...

alrededor de 4 años hace | 0

Respondida
Design 2nd order band Pass filter on MATLAB using any windowing technique , then find magnitude and phase response.
Hi @Razzaq Maybe it looks like this: Flo = 5e3; % low cutoff, (rad/s) Fhi = 10e3; % high cutoff R1 ...

alrededor de 4 años hace | 1

Respondida
Too Many Input Arguments - I am new to matlab and not sure how to solve this
Try fixing these lines function dhdt = thesis(t, h) dhdt = x1*(K1*t-(Vsto*fPr));

alrededor de 4 años hace | 2

| aceptada

Respondida
Dear researchers, how can can I simulate nonlinear disturbance observer for UAV on Simulink?
Hi @ALABA PHILIP OPAYEMI As you didn't provide sufficient explanations for the problem and I don't know what it is, so I just i...

alrededor de 4 años hace | 2

| aceptada

Respondida
Simulating linear systems with nonuniform time vector
Hi @Paolo Rapisarda I think you can possibly use the 1-D data interpolation technique, interp1() function at certain intervals ...

alrededor de 4 años hace | 2

| aceptada

Respondida
Find Intersection between curves
Hi @Anfal AlShehhi I think the script shared File Exchange works. However, if you want something mathematically simple to under...

alrededor de 4 años hace | 0

Respondida
Efficiently handle nonlinear models in Matlab (not Simulink)
Hi @Moritz Sigg For non-stiff nonlinear models, the ode45() is the general way of simulating them, and the nonlinear model is t...

alrededor de 4 años hace | 1

Respondida
Finding Kp,Ti,Td with PID tuner
Hi @Esin Derin, Kind of remember seeing a similar question few days ago. Probably your classmate. Anyway, this is how you can p...

alrededor de 4 años hace | 0

Respondida
Model of two differential equations of RLC circuit (Simulink)
Hi @Techie, I have requested that the differential equations to be provided, but you seemed to overlook the message. So, I'm un...

alrededor de 4 años hace | 1

| aceptada

Respondida
hybrid power system design
Hi @Tanvir Ibn Touhid Have you managed you to build the hybrid system from the suggestions and examples given here? https://ww...

alrededor de 4 años hace | 0

Respondida
How to build PID controller on command Line
Hi @Bahar Ebru Not exactly sure what you are trying to do (your description and code are not tally). After checking the documen...

alrededor de 4 años hace | 0

Respondida
Find the nearest point of intersections of circles
@Marek Konopka Some very simple calculations and math concepts (no looping) that you can definitely follow to find the intersec...

alrededor de 4 años hace | 1

Respondida
Disturbance Rejection with PID turner
Hi @Esin Derin For simplicity, you can do something straightforward and plot the time responses like this. Case 1a: , rad/s ...

alrededor de 4 años hace | 1

| aceptada

Respondida
Control System with Feedback Loop
Hi @Esin Derin It can be very frustrating when one is not familiar with the MATLAB coding + Loop, and pressurized to complete t...

alrededor de 4 años hace | 1

| aceptada

Respondida
I have three coupled differential equation and need help to solve them
Yes @Captain Rituraj Singh, The equations are rearranged. However, to simulate at , where division-by-zero occurs, I'm unable t...

alrededor de 4 años hace | 2

| aceptada

Respondida
Two degree of freedom PID controller
Hi @Bahar Ebru It seems that you are not required to write MATLAB code to simulate this. More like running a simulation in Simu...

alrededor de 4 años hace | 0

Respondida
PID Control Systems with Ziegler
Hi @Esin Derin Edit: For Q1, I'm unsure what a Kupfmuller model is. Please find out from your lab instructor. For Q2, The GO(s...

alrededor de 4 años hace | 1

| aceptada

Cargar más