Réponse apportée
Struggling to Solve 2nd Order ODE with Multiple Initial Values
Hi @David Bloom I'm not an expert in self-trapped optical spatial solitons, but I'm attempting to reproduce the graph shown in ...

plus de 2 ans il y a | 0

Réponse apportée
How can I fix the error message : Each rule must have a consequent pointing to a different output membership function.
Hi @Ahmad As requested, Stage 1 is tuned using PSO, and Stage 2 is tuned using Simulated Annealing. %% Sam's Data for 2 inputs...

plus de 2 ans il y a | 1

Réponse apportée
How can I fix the error message : Each rule must have a consequent pointing to a different output membership function.
Hi @Ahmad The tunefis() command enables the tuning of fuzzy systems by specifying one of the five optimization methods and thei...

plus de 2 ans il y a | 1

Réponse apportée
State space system gives incorrect plot
Hi @Julian Thank you for sharing the code. I didn't simulate this in Simulink but in MATLAB using the lsim() command. I plotted...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Cannot find a suitable controller for my state space system
Hi @Ethan Nobre The performance requirements are not clearly specified, other than addressing unwanted oscillations. Furthermor...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to use a global variable when using ode45()?
Hi @David Before delving into the technical aspects of constructing the time-based event-triggered control signal, there are a ...

plus de 2 ans il y a | 0

Réponse apportée
How can i connect this plot line
Hi @Near Fiern It seems that the endpoint of LxAB is not the same as the starting point of LxCB. You can perform a logical test...

plus de 2 ans il y a | 0

Réponse apportée
Why my graphic always on straight line?
Hi @Nugroho Wisnumurti Although you haven't provided the Simulink file 'simulasi.slx', I believe your result indicates that the...

plus de 2 ans il y a | 0

Réponse apportée
How can I get a time response from FRD model
Hi @Bentolila Yedidia There isn't a direct function called 'frd2ss()' for the conversion you're looking for. However, you can e...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I create a transfer function using the zp2tf function with following poles and zeros
Hi @Matthew I didn't know what code you have tried. But you just need to specify the zeros, poles, and the gain correctly, and ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 2

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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]) ...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Charger plus