Risposto
I am attempting to code a function with a differential (temperature with respect to time) and i am unsure how to do so
Hi @tyler You probably won't post a question here if you're searching on Google for "how to solve an ordinary differential equa...

oltre 2 anni fa | 0

Risposto
6DOF joint accelerating without a force present
Hi @Nils van der Gaag In the absence of force, if the initial velocities are non-zero (or start from non-equilibrium states), t...

oltre 2 anni fa | 0

Risposto
How can I define this differential equation in matlab syntax to solve it using ode45 ?
Hi @Namit Dayal Depending on the values of , this is one way to solve the differential equations using the 'ode45()' solver. He...

oltre 2 anni fa | 0

| accettato

Risposto
How to build a plot differential equations
Hi @Maria Please check your second state equation. It does not produce a circle in the phase portrait. However, I will show you...

oltre 2 anni fa | 0

| accettato

Risposto
Matlab cant find the inverse of my function
Hi @Muhammad Adillah The main issue is caused by the product term because it lacks a functional inverse: . Perhaps you will g...

oltre 2 anni fa | 0

| accettato

Risposto
Tune FIS with Training Data
Hi @Ahmad, You have the option to select one of the five tuning algorithms as shown below: "ga" — genetic algorithm "particle...

oltre 2 anni fa | 2

Risposto
Please help for objectiveFunction command.
Hi @SOUVIK The input argument to call fmincon() is incomplete. I prefer the ode45 solver over the Euler integration method. How...

oltre 2 anni fa | 1

| accettato

Risposto
Design of Simulink block
Hi @Aniebiet, The GoTo block passes its input to its corresponding From blocks, which may be connected to the input port of so...

oltre 2 anni fa | 0

Risposto
How can I define this differential equation in matlab syntax to solve it using ode45 ?
Hmm... @Namit Dayal, but you declared that "gammadot is not a differential term". Thus, only is regarded as the differential te...

oltre 2 anni fa | 1

Risposto
Transfer Function Implementation with s and sqrt
Hi @Anastasios The transfer function that describes the mapping from the input (input Current) to the output (output Voltage) a...

oltre 2 anni fa | 0

Risposto
converging criteria problem in for loop in bisection method of finding roots.
Hi @MD You can change the for-loop to a while-loop and x(i) to xnew. Also, insert the initial count. The new search interval cr...

oltre 2 anni fa | 0

| accettato

Risposto
Hi. Can anyone provide the matlab code for spectrum sensing in cognitive radio using K-means?
Sure @Alcides, the code for computing the k-means clustering is available in this link: https://www.mathworks.com/help/stats/km...

oltre 2 anni fa | 0

Risposto
i need matlab function to minimize power losses for optimal allocation of ev charging station
Hi @Asmaa Naser There are several built-in optimizer functions you can try to minimize power losses. Find them here: https://w...

oltre 2 anni fa | 1

Risposto
How to evaluate the performance metrics Accuracy, precision, recall, f1Score on the tuned FIS?
Hi @Ahmad Most special performance metrics are user-defined, and only designers understand what they really mean. A simple test...

oltre 2 anni fa | 0

Risposto
Please how do i apply Particle swarm optimization to a sun tracking system while using IMC
Hi @Victor Francis Logically, if the solar tracker perfectly follows the trajectory of the Sun, ensuring that sunlight strikes ...

oltre 2 anni fa | 0

Risposto
How to find the max Phase lead provided by a Compensator?
Hi @Gidel You can also check using the bodeplot() for visual and the bode() for finding the max angle. sys = tf([1 1], [1 3]) ...

oltre 2 anni fa | 1

Risposto
can someone help me with this transfer function in simulink?
Hi @BT First, you need to transform the system model from a transfer function to state-space (obtain the matrices). Then, const...

oltre 2 anni fa | 0

| accettato

Risposto
How to convert symbolic transfer function to state space?
Hi @Ali Almakhmari @Paul's method is to use tf2ss(). In the past, I used this approach, but now I no longer use it since learni...

oltre 2 anni fa | 0

Risposto
Simulink add Transferfunction as binominal equation
Hi @Gunnar Schmidt Technically, if the parameters do not change during the simulation in Simulink, then the Zero-Pole block sho...

oltre 2 anni fa | 0

Risposto
How to convert symbolic transfer function to state space?
Hi @Ali Almakhmari I am uncertain about your intention regarding the symbolic state-space. The state-space object from the Cont...

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Carica altro