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

circa 4 anni fa | 2

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 1

| accettato

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

circa 4 anni fa | 2

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 1

| accettato

Risposto
Cascade control with PID
Hi @Bahar Ebru I don't know how to start reading the diagram with because it looks a little messy. Can you at least rearrange t...

circa 4 anni fa | 0

Risposto
Transformation of state space model
Hi @Alireza Aghdaei System 1 System 2 If I understand your description correctly, the dynamics of the system does not cha...

circa 4 anni fa | 1

Risposto
Finding Critical Value with Simulink
Hi @Esin Derin It's a bit confusing with all the manual switches around. You should also provide the closed-loop system for inv...

circa 4 anni fa | 2

| accettato

Risposto
arbitrary point with the know slope to another line to specify point on that second line
Hi @Ceren Ecemsu Varan Since you are unable to provide additional info, perhaps you can do something like this: % Analysis x1...

circa 4 anni fa | 0

Risposto
plot excel data in MATLAB
On the Home tab, in the Variable section, click Import Data. Then choose how you want the selected data to be loaded on the Work...

circa 4 anni fa | 0

Risposto
How to do Feedback Loop on Simulink with different frequinces
Hi @Esin Derin First, you need to construct the frequency {0.1, 0.2, 0.4, 0.8, 1.6, ...} based on the following sequence that d...

circa 4 anni fa | 2

| accettato

Risposto
How to use different dimensions for neural network?
@d https://www.mathworks.com/help/deeplearning/ref/network.train.html Documentation says that Network inputs must be specified...

circa 4 anni fa | 2

| accettato

Risposto
transfer function with delay
Hi @massimiliano frasca One of the common ways is to use the Transport Delay block: You can find an example here to see wher...

circa 4 anni fa | 2

| accettato

Risposto
Transfer function with transfer function numerator greater than denominator
@Nguyen BaoLong Not sure how to answer this. Evaluating from the mathematical perspective, you can probably understand the foll...

circa 4 anni fa | 0

Risposto
How does genetic algorithm derive the best fitness and average fitness values for each generation?
Hi @Time N The output here in the "Output Argument", only gives basic information about the optimization process returned as a ...

circa 4 anni fa | 1

| accettato

Risposto
How can simulate The system with Transfer function in ODE45?
Hi @Kaito Sato-kun Most likely the culprits come from this part up_num = [alpha 0]; and this part u_dash = C*integral(@(tau)...

circa 4 anni fa | 2

| accettato

Risposto
How to tune this model with this PSO coding? Is there any mistake in this coding or do I need to add something?
Your code is quite long. By the way, you are using Rosenbrock function as your fitness function, not your NARX model. for i = 1...

circa 4 anni fa | 0

Carica altro