Réponse apportée
Ga algorithm fitness value not improving
Hi @Phumelele Magagula To observe convergence, you should consider increasing the values of 'PopulationSize' and 'MaxGeneration...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How to calculate the length of a curve with known coordinates (x,y)?
Hi @albert WAN If you are referring to the arclength calculation, then refer to the following https://www.mathworks.com/matlab...

environ 3 ans il y a | 0

Réponse apportée
how to use ode45 from user input ode functions. I want to solve system of first order ODE (two equations).
% The ODEs f = @(t, x) [- x(1) + 6*x(2); - x(2) + 4*x(1)]; % time interval tspan = [0 0.7]; % initial ...

environ 3 ans il y a | 0

Réponse apportée
How to skip some rules in Fuzzy logic?
Hi @Yok Tungthamrongkul I believe that we could design the input membership functions so that the low rule firing strength does...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Where can I find this block?
Hi @Merin josy Looks like a Piezo Stack. https://www.mathworks.com/help/sps/ref/piezostack.html The block can be found in Sim...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
the mass matrix and Jacobian matrix in ode15s
Hi @Tony Cheng Following @Torsten's advice, perhaps showing you an example of obtaining the Jacobian matrix for a 2-DOF rigid r...

environ 3 ans il y a | 2

Réponse apportée
Can you help me get the graph I want in a PID control system given the transfer function and design? PLEASE HELP ME
Hi @veysel burçak Update: This basic signal (in veysel_problem.slx) produces the sawtooth pattern that starts from 0. Because t...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
Plotting trapezoids in one graph
Hi @davut This will be the final update. As shown in the previous approach, finding the one-line formulated trapezoid-like func...

environ 3 ans il y a | 1

Réponse apportée
the mass matrix and Jacobian matrix in ode15s
Hi @Tony Cheng is the state-dependent mass matrix. Therefore, you can specify the mass matrix using the 'Mass' option of odese...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
Expand a certain range on x axis
Hi @VICTOR COELLO ELOI Not sure if this is what you want. Perhaps you can try using xlim() to set the x-axis limits to range fr...

environ 3 ans il y a | 0

Réponse apportée
Plotting trapezoids in one graph
Hi @davut In the future, if the trapezoids are used for performing mathematical analysis later, then the formulated trapezoid f...

environ 3 ans il y a | 1

Réponse apportée
Plotting trapezoids in one graph
Hi @davut I'm revisiting your plotting problem. If you simply want to display the trapezoids and their flipped counterparts, yo...

environ 3 ans il y a | 1

Réponse apportée
Solve non linear equation with vector
Hi @Guilherme Lopes de Campos I have fixed the function f in the code. Now it should be working correctly. The dados.mass and d...

environ 3 ans il y a | 0

Réponse apportée
Plotting trapezoids in one graph
Hi @davut Mathematically, these plots represent piecewise linear functions. The easiest way is probably to use the trapezoidal ...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
One of the systems I want to control with PID is the state space equation with disturbances. Can someone help me to design matlab function of the system? Please
Hi @veysel burçak I have fixed the code in the MATLAB Function block. The initial condition is assigned in the Integrator block...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Lumped mass model of underwater tethered ROV
Hi @Dhruvit Without providing the governing physical laws, it is relatively difficult to show you how to model it in Simulink. ...

environ 3 ans il y a | 0

Réponse apportée
how to assign initial values to scalar quantities in simulink function. please help
Hi @John You can insert the initial values in the Integrator block as shown in the example below:

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Heat transfer modelling of motor
Hi @Kranz, Before modeling, I recommend creating a sketch of the heat transfer process in the form of a Piping & Instrumentatio...

environ 3 ans il y a | 0

Réponse apportée
why function giving error?
Hi @ANDREW Your incomplete Artificial Bee Colony (ABC) algorithm is largely unmodified. I just added Phase #6 (to find the best...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
How to solve the error "Gaussian membership function must have positive sigma value"
Hi @Avijit Paul and @林朝 潘 The error indicates that either you or your algorithm made a mistake by assigning a negative value to...

environ 3 ans il y a | 0

Réponse apportée
I want to plot Basin of attraction. I have written a few line of code given below.Please help some one
Hi @MD KAUSAR SK I'm unsure if the basin of attraction exists or not because a random sampling of the initial conditions in the...

environ 3 ans il y a | 0

Réponse apportée
I want to implement a switch which will open or close based on some conditions. Kindly suggest how can I achieve this?
Hi @Optimus I think the switch action can be mathematically described by , with the state '0' means disconnect, and '1' means...

environ 3 ans il y a | 0

Réponse apportée
Please suggest the online free course of modelling and simulation using matlab
Hi @Ali Asghar If you are referring to dyanmic systems, then you can find a lot of system modeling examples here: https://ctms...

environ 3 ans il y a | 0

Réponse apportée
Voltage control for buck converter
Hi @Usman I'm unfamiliar with the buck converter model. But I can show you a simple example below to demonstrate the basic mode...

environ 3 ans il y a | 0

Réponse apportée
Plotting an Spring Damper system, with an MR damper.
Hi @Gidel To log the data signals to workspace from the Simulink model, use the To Workspace block, as shown below. Double-c...

environ 3 ans il y a | 1

Réponse apportée
Gain block problem?
Hi @Rushi Patel If you have the Aerospace Blockset installed, then you can find and use this Angular Velocity Conversion block ...

environ 3 ans il y a | 0

Réponse apportée
RC Circuit in Simulink and Simscape
It's an Example that comes with Simscape toolbox. From the error message, most likely Simscape is not installed. help ssc_rc_ci...

environ 3 ans il y a | 0

Réponse apportée
Understanding the following line of code regarding Gaussian distribution.
Hi @charu shree This variable samples_gaussian is unused in plotting the pdf and cdf. The code runs without error. % Number of...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
Simulink state space observer output issue
Hi @Kenny See my analysis below: A = [0 1; 0 -32]; % state matrix B = [0; 8]; % input matrix C = [1 0]; ...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
How can i scale the action of DDPG agent in Reinforcement Learning?
Hi @awcii Sound like a constraint to me. This example shows how to train the RL agent for Lane Keeping Assist, where the front ...

environ 3 ans il y a | 0

Charger plus