
Sam Chak
Content Feed
답변 있음
explanation of ode45 for constant force
Hi @Ajinkya Analysis shows that the steady-state value of of the linear system is given by . In your case, I guess that the ...
explanation of ode45 for constant force
Hi @Ajinkya Analysis shows that the steady-state value of of the linear system is given by . In your case, I guess that the ...
7일 전 | 1
답변 있음
Generate frequency spectrum of original and regenerated signal
Hi @Laveeza You can copy and paste it on the Workspace and hit [Enter] to run it. If you want to edit the code in the future, ...
Generate frequency spectrum of original and regenerated signal
Hi @Laveeza You can copy and paste it on the Workspace and hit [Enter] to run it. If you want to edit the code in the future, ...
14일 전 | 0
답변 있음
how to display an output on a plot itself?
Hi @Mohiedin Bagheri Do you want to plot something like this? x = linspace(-5, 2, 701); y = - x - 3; z = 2*x; figure(1) pl...
how to display an output on a plot itself?
Hi @Mohiedin Bagheri Do you want to plot something like this? x = linspace(-5, 2, 701); y = - x - 3; z = 2*x; figure(1) pl...
14일 전 | 1
| 수락됨
답변 있음
I have created a state space model for a pitch and bounce model of a vehicle, and I need help figuring out why one of my bode plots is not working and the other one is.
Hi @Tathva I provided some explanations below based on your queries about sys_2 and sys_3. ks1 = 34500; ks2 = 53400; ms = 1...
I have created a state space model for a pitch and bounce model of a vehicle, and I need help figuring out why one of my bode plots is not working and the other one is.
Hi @Tathva I provided some explanations below based on your queries about sys_2 and sys_3. ks1 = 34500; ks2 = 53400; ms = 1...
15일 전 | 0
답변 있음
6dof joint simulation problem
@Ridhi Bansal Most likely that the simulation ran into one of the singularities. You must identify the singularities and don't...
6dof joint simulation problem
@Ridhi Bansal Most likely that the simulation ran into one of the singularities. You must identify the singularities and don't...
15일 전 | 0
답변 있음
how to implement fuzzy logic code without using fuzzy Toolbox
Hi @merlin toche Some functions from the fuzzy logic toolbox in your code do not work on the much older R2015a release. The to...
how to implement fuzzy logic code without using fuzzy Toolbox
Hi @merlin toche Some functions from the fuzzy logic toolbox in your code do not work on the much older R2015a release. The to...
16일 전 | 1
답변 있음
Tune rules in type 2 fuzzy logic
Hi @mona ali You can probably copy and edit the algorithm in tunefis.m edit tunefis so that you can call your desired user-d...
Tune rules in type 2 fuzzy logic
Hi @mona ali You can probably copy and edit the algorithm in tunefis.m edit tunefis so that you can call your desired user-d...
17일 전 | 0
답변 있음
Where can I find Fcn block in simulink in matlab R2022a?
Hi @Adolfo Marro, @Andreas, @Harun GIRGIN You can try if the following blocks from the older release still work in your system....
Where can I find Fcn block in simulink in matlab R2022a?
Hi @Adolfo Marro, @Andreas, @Harun GIRGIN You can try if the following blocks from the older release still work in your system....
18일 전 | 0
답변 있음
struggling with plotting slope field of second-order ODE containing sign function
Hi @Kieth Duong, The slope field depends on how the mesh is generated. Denser mesh is more accurate but with quiver, it will pr...
struggling with plotting slope field of second-order ODE containing sign function
Hi @Kieth Duong, The slope field depends on how the mesh is generated. Denser mesh is more accurate but with quiver, it will pr...
18일 전 | 0
| 수락됨
답변 있음
How to plot the direction field of a system of first-order ODEs using MATLAB?
Hi @Kieth Duong, The basic code looks like the following: [X, Y] = meshgrid(-2:4/14:2, -2:4/14:2); U = 2*X + 9/5*Y; V = -5/...
How to plot the direction field of a system of first-order ODEs using MATLAB?
Hi @Kieth Duong, The basic code looks like the following: [X, Y] = meshgrid(-2:4/14:2, -2:4/14:2); U = 2*X + 9/5*Y; V = -5/...
22일 전 | 1
| 수락됨
답변 있음
Fuzzy Best-Worst Method
Hi @SOURAV MONDAL The Best Worst Method is relatively new, being conceived in 2015 for dealing with multi-criteria decision-mak...
Fuzzy Best-Worst Method
Hi @SOURAV MONDAL The Best Worst Method is relatively new, being conceived in 2015 for dealing with multi-criteria decision-mak...
25일 전 | 1
답변 있음
Getting error when building Fuzzy Logic on Simulink
Hi @Ajay My guts tell me that in one of the three fuzzy inputs {Temperature, Humidity, and Wind Speed}, the designed MFs did no...
Getting error when building Fuzzy Logic on Simulink
Hi @Ajay My guts tell me that in one of the three fuzzy inputs {Temperature, Humidity, and Wind Speed}, the designed MFs did no...
25일 전 | 0
| 수락됨
답변 있음
Membership Trapezoid function Plot
Hi @Ameri The range for Last Hop is not given. So, you might try something like this: fis = mamfis; % Option #1: using rect...
Membership Trapezoid function Plot
Hi @Ameri The range for Last Hop is not given. So, you might try something like this: fis = mamfis; % Option #1: using rect...
26일 전 | 0
답변 있음
Why wont the state-space block accept a mux input?
Hi @ymps Your given state-space model is , and you will obviously see that it takes only a SINGLE input after doing the ma...
Why wont the state-space block accept a mux input?
Hi @ymps Your given state-space model is , and you will obviously see that it takes only a SINGLE input after doing the ma...
27일 전 | 0
| 수락됨
답변 있음
Adaptive step size solver for an ODE
Hi @Ali Kiral After fixing the code, you can compare your result with the result by ode45(). A little analysis shows that the ...
Adaptive step size solver for an ODE
Hi @Ali Kiral After fixing the code, you can compare your result with the result by ode45(). A little analysis shows that the ...
27일 전 | 1
| 수락됨
답변 있음
Adding surface to a beheaded Gaussian function
Hi @Bernd I'm not sure if this is what you want because your code doesn't reflect what you described. Anyhow, take a look at th...
Adding surface to a beheaded Gaussian function
Hi @Bernd I'm not sure if this is what you want because your code doesn't reflect what you described. Anyhow, take a look at th...
27일 전 | 0
답변 있음
Error occurred while running the simulation
Hi Marco, In most cases, the problem is likely caused by the singularity event, something like approaching the division-by-ze...
Error occurred while running the simulation
Hi Marco, In most cases, the problem is likely caused by the singularity event, something like approaching the division-by-ze...
약 1달 전 | 0
답변 있음
Is there a way to change the value of the transfer function through MATLAB & Simulink?
Hi @영탁 한 On top of the Paul's proposed solution in Simulink, here is one of few solutions in MATLAB. If you like this solution...
Is there a way to change the value of the transfer function through MATLAB & Simulink?
Hi @영탁 한 On top of the Paul's proposed solution in Simulink, here is one of few solutions in MATLAB. If you like this solution...
약 1달 전 | 1
답변 있음
Tuning a PID controller to desired Overshoot, settling time and rise time
Hi @Muhammad This is the Root Locus compensator design approach, first attempt. s = tf('s'); Gp = 20/(s^2 + 4.5*s + 64) c...
Tuning a PID controller to desired Overshoot, settling time and rise time
Hi @Muhammad This is the Root Locus compensator design approach, first attempt. s = tf('s'); Gp = 20/(s^2 + 4.5*s + 64) c...
약 1달 전 | 0
답변 있음
Solving system of ODEs with ode45
Hi @shir levi Edit: Previously I've got the same results like you did. However, after thinking about it, those 2 sets of 3 valu...
Solving system of ODEs with ode45
Hi @shir levi Edit: Previously I've got the same results like you did. However, after thinking about it, those 2 sets of 3 valu...
약 1달 전 | 0
답변 있음
How quarter car modeling on MATLAB?
Hi @Mustafa Furkan, I prefer the simulation-based numerical solution over the formula-based analytical solution in the example ...
How quarter car modeling on MATLAB?
Hi @Mustafa Furkan, I prefer the simulation-based numerical solution over the formula-based analytical solution in the example ...
약 1달 전 | 0
| 수락됨
답변 있음
How to write the feedback command here.
Hi @Hardik These are the basic commands. You can find more examples in the documentations related to commands. Search MathWorks...
How to write the feedback command here.
Hi @Hardik These are the basic commands. You can find more examples in the documentations related to commands. Search MathWorks...
약 1달 전 | 1
| 수락됨
답변 있음
Algorithm for rlocus (internal code of rlocus)
Hi @Pushkar K You can browse through the folders, or you can type the following to view the code: edit rlocus
Algorithm for rlocus (internal code of rlocus)
Hi @Pushkar K You can browse through the folders, or you can type the following to view the code: edit rlocus
약 1달 전 | 1
답변 있음
How to solve nonlinear equation?
Hi @GUANGHE HUO The nonlinear matrix ODE with time-varying stiffness matrix K can be transformed into a nonlinear state-space m...
How to solve nonlinear equation?
Hi @GUANGHE HUO The nonlinear matrix ODE with time-varying stiffness matrix K can be transformed into a nonlinear state-space m...
약 1달 전 | 0
| 수락됨
답변 있음
How can i calculate the PI controller gains from my plant transfer function
Hi @Mads Olesen It appears that your intuition is right. The P-only controller is sufficient because the steady-state error is ...
How can i calculate the PI controller gains from my plant transfer function
Hi @Mads Olesen It appears that your intuition is right. The P-only controller is sufficient because the steady-state error is ...
약 1달 전 | 0
답변 있음
I've tried to simulate a catalytic reactor by solving 5 second order differential non-linear equations. I've used 'odetovectorfield' which I'm not pretty sure about that
Hi @Mahdi The system can be run now. However, the simulation shows that the system blows up, which may indicate that the system...
I've tried to simulate a catalytic reactor by solving 5 second order differential non-linear equations. I've used 'odetovectorfield' which I'm not pretty sure about that
Hi @Mahdi The system can be run now. However, the simulation shows that the system blows up, which may indicate that the system...
약 1달 전 | 0
답변 있음
Gyroscope simulation using State space
Hi @Saleem Jallet, You didn't provide the transfer function of the gyroscope with sensor dynamics. In short, you need to prov...
Gyroscope simulation using State space
Hi @Saleem Jallet, You didn't provide the transfer function of the gyroscope with sensor dynamics. In short, you need to prov...
약 1달 전 | 0
| 수락됨
답변 있음
pendulum with air resistance in simulink
Hi @Jordi van Selm Yes, your model is correct. In fact, the pendulum equation can be rewritten as a system of 1st-order ODEs: ...
pendulum with air resistance in simulink
Hi @Jordi van Selm Yes, your model is correct. In fact, the pendulum equation can be rewritten as a system of 1st-order ODEs: ...
약 1달 전 | 0
| 수락됨
답변 있음
Plot of three coupled oscillator.
Hi @Haya Ali I don't know what oscillators are since you didn't provide the math equations to compare with. However, on the pro...
Plot of three coupled oscillator.
Hi @Haya Ali I don't know what oscillators are since you didn't provide the math equations to compare with. However, on the pro...
약 1달 전 | 0
| 수락됨
답변 있음
Sinusodial Wave for PID controller
Hi @Juan Barragan After simplifying the expression, what does mean? If you want to simulate the system in transfer functions,...
Sinusodial Wave for PID controller
Hi @Juan Barragan After simplifying the expression, what does mean? If you want to simulate the system in transfer functions,...
약 1달 전 | 0