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

Réponse apportée
Error with Fuzzy Tree Model
HI @Layla Mohammad Please check this out and see if these MFs, Surfaces, and the FIS Tree are what you are expecting. % Fuzzy ...

environ 3 ans il y a | 2

| A accepté

Réponse apportée
How to integrate varying-size signals in simulink?
Hi @Dhruvit The error seems to indicate that there is a problem with the dimensions of your acceleration term (3xn matrix) when...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
I want to isocline induced step function
Hi @MD KAUSAR SK The above code seems to be generated by ChatGPT and it has flaws. You shouldn't directly use or blindly trust ...

environ 3 ans il y a | 0

Réponse apportée
One of the systems I want to control includes disturbances in the input matrix. How can I convert this state space equation into a transfer function?
Hi @veysel burçak Sounds interesting. I wonder how you will design the controller for the system subject to the mismatched dist...

environ 3 ans il y a | 2

Réponse apportée
plot w=exp(-x/0.3042) (when 0<w<1)
Hi @haeri The plotting is merely a basic skill that you can learn in MATLAB Onramp. More importantly, you need to know some pro...

environ 3 ans il y a | 0

Réponse apportée
Hello: i want to give a step input to my simulink function which starts at 1 second and ends at 1.1 seconds and having an amplitude of 0.1. Step block not working
Hi @John, Mathematically, the functions looks like this: where is the amplitude. So, you just need to construct the blocks ...

environ 3 ans il y a | 1

Réponse apportée
How do I curve fit the data set
Hi @Prajwal Magadi Not sure if this is what your want. But you can try finding the best math function to fit. data = load('cur...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
I am not finding directional control valve in MATLAB R2022a, how to proceed? Have MATLAB deleted control valves?
Hi @KANGKAN If you are looking for directional valve blocks in Simulink, they can be found in the Simscape Fluids library. htt...

environ 3 ans il y a | 0

Réponse apportée
How to design a robust PI controller based on the Sensitivity peak value
Hi @Rinitha Rajan From the excerpt below, the and are the parameters to be determined to make up for the Proportional–Integra...

environ 3 ans il y a | 0

Réponse apportée
How to convert state space to transfer function
Hi @Ali Almakhmari I think you can rearrange the matrices manually because can be expressed as . So, if , then in comp...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
I'd like help with the ode45 function for a biological model
Hi @Chatowa Try if you are expecting this result for tspan = [0 96]; y0 = [1.06 1.06]; [t, y] = ode15s(@odepharm, tspa...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
How to Implement 3rd order equation in matlab script?
Hi @Prajwal Magadi If and are functions of , and is the independent variable, then what exactly is ? How does it look like o...

environ 3 ans il y a | 1

Réponse apportée
Discrepancy in PI Controller Outputs for voltage control and current control for droop control strategy in MATLAB
Hi @Abdul Moiz Qureshi I do not understand the logical operations of the two lines, because they are in code form and my mind i...

environ 3 ans il y a | 0

Réponse apportée
Is there any specific document and tutorials available to simulate linear electric actuator using Aerospace blockset in simulink?
Hi @SADIQ ALI MIR You can find the documentation about the second-order linear actuator here: https://www.mathworks.com/help/a...

environ 3 ans il y a | 0

Réponse apportée
How can a single line plot have two colors?
Hi @Tunde Adubi If you have the data, and you can find exactly where the two intervals are from scrutizing the data, then you c...

environ 3 ans il y a | 1

Réponse apportée
How to import 256*3 size input table into fuzzy?
Hi @Aberna P From your code, we can analyze something. fismat = readfis('Fuzzy2'); % fuzzy get loaded output = evalfis(S1...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
How can i generate .m file for a given simulink model?
Hi @Aditi What kind of code do you expect to see in the m-file? If you want to extract some information related to the system t...

environ 3 ans il y a | 0

Réponse apportée
PID Controller in Simulink question
Hi @Manikanta Aditya If you set the PID controller block to have external inputs for the control gains as advised by @Paul, the...

environ 3 ans il y a | 1

Réponse apportée
can I directly change the ODE?
Hi @Lo The initial values for MP0 and MPcircular0 are not provided. So I made up some values and it displays the trend similar ...

environ 3 ans il y a | 0

Réponse apportée
help for transfer function and your analysis
Hi @Camilo Mahnert Cataldo It is possible to manipulate the first variable to reach a certain setpoint using PI Controller. Ho...

environ 3 ans il y a | 0

Réponse apportée
How to control the house temperature using a fan system?
Hi @hunter manana I'm unsure of how your house temperature control mechanism works. But if based on the thermal dynamics provid...

environ 3 ans il y a | 0

Réponse apportée
Time variable for robot trajectory
Hi @Claude Mathias After checking your comment, I think you need to update the polynomials for each time interval. For one-time...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
I require frequency response from transfer function = 1/(s^2+(b/m)*s+k/m) where b= 0.0011, k= 87.88 , m = 0.99 in matlab and i need freq in khz
Hi @sia If you simply want to obtain the plot for the "transfer function 1/(s^2 + (0.0011/0.99)*s + 87.88/0.99)," WolframAlpha ...

environ 3 ans il y a | 0

Réponse apportée
lorentz simulation error what is the error please help
Hi @Numan I have fixed the code in f(t, r) function, by adding the definitions for x, y, z. Check if the results are expected. ...

environ 3 ans il y a | 0

Réponse apportée
Adaptive variable impedance control
Hi @Edgar Yang I'm unfamiliar with your control thing because I cannot find where the adaptive law of variable impedance is. N...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Identify rule that governs pattern in series.
Hi @Jake If you are 100% sure that the data is the response of a damped harmonic oscillator, then you should fit it using the m...

environ 3 ans il y a | 1

| A accepté

Charger plus