
Sam Chak
統計
MATLAB Answers
0 質問
933 回答
ランク
of 128,637
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Content Feed
回答済み
How to model PI flow control with throttling (butterfly) valve in hydraulic centriful pump Simscape/Simulink model?
Hi @DB Due to the static nonlinearity of the valve characteristics, it is possible to find an inverse function for the valve in...
How to model PI flow control with throttling (butterfly) valve in hydraulic centriful pump Simscape/Simulink model?
Hi @DB Due to the static nonlinearity of the valve characteristics, it is possible to find an inverse function for the valve in...
約22時間 前 | 0
回答済み
Solving a differential equation using ode45
Hi @GOBIND KUMAR, The code for the ode45 part can run. No issue with that. So, I think the problem lies in the computation of ...
Solving a differential equation using ode45
Hi @GOBIND KUMAR, The code for the ode45 part can run. No issue with that. So, I think the problem lies in the computation of ...
3日 前 | 0
回答済み
Why Fuzzy logic Designer unable to open the Fis File?
Hi @Yara Physically check if the mamdanitype-01.fis is still there in the target folder. Check if the contents in the mamdani...
Why Fuzzy logic Designer unable to open the Fis File?
Hi @Yara Physically check if the mamdanitype-01.fis is still there in the target folder. Check if the contents in the mamdani...
3日 前 | 0
回答済み
Derivative of state '1' in block ' 1/s Integrator' at time 42.104565484973058 is not finite
Hi @Yingxin Zhang Without a set of mathematical model to compare with the Simulink model, it is rather difficult to identify th...
Derivative of state '1' in block ' 1/s Integrator' at time 42.104565484973058 is not finite
Hi @Yingxin Zhang Without a set of mathematical model to compare with the Simulink model, it is rather difficult to identify th...
3日 前 | 0
回答済み
Fuzzy Logic Toolbox - addRule throws "Do not use a rule keyword as a membership function name" error
Hi @tulu There are several typos. If you make the code less 'cluttered', you can spot the mistakes easily. The code is now is f...
Fuzzy Logic Toolbox - addRule throws "Do not use a rule keyword as a membership function name" error
Hi @tulu There are several typos. If you make the code less 'cluttered', you can spot the mistakes easily. The code is now is f...
5日 前 | 1
回答済み
simulation of a levitating object
Hi @Andeol Gillet Generally, you can follow these 3-D's steps to design the controller for a Maglev system: Derive the mathema...
simulation of a levitating object
Hi @Andeol Gillet Generally, you can follow these 3-D's steps to design the controller for a Maglev system: Derive the mathema...
6日 前 | 0
回答済み
tf and damp, all need the numerical coefficients of the transfer function
Hi @li hu Finding the poles (roots of the denominator) is like solving polynomial equations. However, if it is 5th-degree and ...
tf and damp, all need the numerical coefficients of the transfer function
Hi @li hu Finding the poles (roots of the denominator) is like solving polynomial equations. However, if it is 5th-degree and ...
6日 前 | 0
回答済み
What is the best objective function to avoid the overshot when optimizing a PID controller?
Hi @aymene bacha First of all, you need to understand what causes the overshoot in the system, and what does not. Do you have ...
What is the best objective function to avoid the overshot when optimizing a PID controller?
Hi @aymene bacha First of all, you need to understand what causes the overshoot in the system, and what does not. Do you have ...
13日 前 | 1
回答済み
How can we represent this transfer function into state space representation in MATLAB?
Hi @Hind Aljallaf As far as I know, there is no MATLAB command in the Control System Toolbox for directly computing the control...
How can we represent this transfer function into state space representation in MATLAB?
Hi @Hind Aljallaf As far as I know, there is no MATLAB command in the Control System Toolbox for directly computing the control...
17日 前 | 0
回答済み
I get error when I try to plot sigmoid function
Hi @cindyawati cindyawati A pure sigmoidal logistic function looks like this x = linspace(-10, 10, 20001); S = 1./(1 + exp(...
I get error when I try to plot sigmoid function
Hi @cindyawati cindyawati A pure sigmoidal logistic function looks like this x = linspace(-10, 10, 20001); S = 1./(1 + exp(...
18日 前 | 1
回答済み
how to right math functions
Hi @Abdulelah AlQahtani For simplicity, the signal can be defined like this. t = linspace(-5, 10, 15001); u1 = 0*(t <= 0); ...
how to right math functions
Hi @Abdulelah AlQahtani For simplicity, the signal can be defined like this. t = linspace(-5, 10, 15001); u1 = 0*(t <= 0); ...
19日 前 | 0
回答済み
How to use MATLAB's lqi.m function?
Hi @Craig Chambers I'm unfamiliar with you system. So, I tested with the LQR first. It seems that a properly scaled step inpu...
How to use MATLAB's lqi.m function?
Hi @Craig Chambers I'm unfamiliar with you system. So, I tested with the LQR first. It seems that a properly scaled step inpu...
19日 前 | 0
回答済み
ODE45 to solve multiple degree of system free vibration
Hi @Karolina Kugiel ode45 solves the problem by integrating where . So I guess you looking for states . m1=10; m2=10; m3=10; ...
ODE45 to solve multiple degree of system free vibration
Hi @Karolina Kugiel ode45 solves the problem by integrating where . So I guess you looking for states . m1=10; m2=10; m3=10; ...
21日 前 | 0
回答済み
How to find kp ki values by having pm and gcf in matlab ?
Hi @Basava I guess you are not looking for the analytical formulas for and because you asked in this forum. So, when the pha...
How to find kp ki values by having pm and gcf in matlab ?
Hi @Basava I guess you are not looking for the analytical formulas for and because you asked in this forum. So, when the pha...
22日 前 | 0
回答済み
Include a new condition to solve a system using ODE45
Hi @Mikel You can try the two approaches in the code. However, the step value should not exceed fs = 130, or else your designe...
Include a new condition to solve a system using ODE45
Hi @Mikel You can try the two approaches in the code. However, the step value should not exceed fs = 130, or else your designe...
24日 前 | 0
回答済み
Optimisation PID Using Sliding mode script
Hi @Tarek I don't think that SMC can optimize the PID gains. The structure of SMC is not an optimization algorithm. Before op...
Optimisation PID Using Sliding mode script
Hi @Tarek I don't think that SMC can optimize the PID gains. The structure of SMC is not an optimization algorithm. Before op...
26日 前 | 0
回答済み
Positive definite and LQR
Hi @Scott Not exactly sure what you want. But I think there is no absolute rule saying that the state-cost weighted matrix has ...
Positive definite and LQR
Hi @Scott Not exactly sure what you want. But I think there is no absolute rule saying that the state-cost weighted matrix has ...
約1ヶ月 前 | 0
回答済み
Write code and driver MR damper
Hi @kerollos The code can run now. However, you have to review the initial values and define for . The system looks unstable. ...
Write code and driver MR damper
Hi @kerollos The code can run now. However, you have to review the initial values and define for . The system looks unstable. ...
約1ヶ月 前 | 0
回答済み
how to use the anfis command
Hi @Alessio Centamore I think the syntax is for old anfis() input arguments. OutputFismat = anfis(dati_all, FisMatrix, [40 nan...
how to use the anfis command
Hi @Alessio Centamore I think the syntax is for old anfis() input arguments. OutputFismat = anfis(dati_all, FisMatrix, [40 nan...
約1ヶ月 前 | 0
回答済み
Why is the output u always 0.166instead of 0 when my input e and es are both 0
Hi @罗雪峰 罗 The reason is because output 0.166 is computed from the Center of Area (CoA) defuzzification method. During the initi...
Why is the output u always 0.166instead of 0 when my input e and es are both 0
Hi @罗雪峰 罗 The reason is because output 0.166 is computed from the Center of Area (CoA) defuzzification method. During the initi...
約1ヶ月 前 | 1
| 採用済み
回答済み
How do I use a root locus to find a value of K such that the damping ratio of dominant closed loop poles is a specified value?
Hi @Thomas and @Luke McDevitt The steps are generally described in the following documentation, as well as in most undergrad co...
How do I use a root locus to find a value of K such that the damping ratio of dominant closed loop poles is a specified value?
Hi @Thomas and @Luke McDevitt The steps are generally described in the following documentation, as well as in most undergrad co...
約1ヶ月 前 | 0
回答済み
Obtaining MIMO kinematic model (+ controller) using data-driven approaches
Hi @mgf_04 This sounds like a system identification problem. If you have the System Identification Toolbox™ installed, then try...
Obtaining MIMO kinematic model (+ controller) using data-driven approaches
Hi @mgf_04 This sounds like a system identification problem. If you have the System Identification Toolbox™ installed, then try...
約1ヶ月 前 | 0
回答済み
how to sine wave plot
Hi @Raouf You can scroll down and find one example that is related to plotting a sine wave. 😉 help fplot
how to sine wave plot
Hi @Raouf You can scroll down and find one example that is related to plotting a sine wave. 😉 help fplot
約1ヶ月 前 | 0
回答済み
Derivative of state '1' in block 'PP_poly/Integrator1' at time 0.0 is not finite.
Hi @Dogukan It's good to hear that your problem is solved now. I moved my comment to the Answer section because it helped you t...
Derivative of state '1' in block 'PP_poly/Integrator1' at time 0.0 is not finite.
Hi @Dogukan It's good to hear that your problem is solved now. I moved my comment to the Answer section because it helped you t...
約1ヶ月 前 | 0
回答済み
Track a circular trajectory by solving a QP and using quadprog solver (using CLF approach)
Hi @Pallov Anand Sufficiently increasing the value of alpha reduces the tracking error between the x-y trajectory and the desi...
Track a circular trajectory by solving a QP and using quadprog solver (using CLF approach)
Hi @Pallov Anand Sufficiently increasing the value of alpha reduces the tracking error between the x-y trajectory and the desi...
約1ヶ月 前 | 0
回答済み
Сan not identify block
Hello @Anton It is possible to create the block using "block mask" techniques. However, I think the authors probably (and simpl...
Сan not identify block
Hello @Anton It is possible to create the block using "block mask" techniques. However, I think the authors probably (and simpl...
約1ヶ月 前 | 1
| 採用済み
回答済み
Error when simulating an adaptive control system with an inverse reference model: Derivative is not finite.
Hi @Anton There is no obvious division-by-zero component. So, the system must be unstable, which causes the output to grow out ...
Error when simulating an adaptive control system with an inverse reference model: Derivative is not finite.
Hi @Anton There is no obvious division-by-zero component. So, the system must be unstable, which causes the output to grow out ...
約1ヶ月 前 | 2
| 採用済み
回答済み
Control vehicles velocity according to speed signs
@Purvil Patel, Here is th basic idea. Even though some speed limit signs maybe out of the sensor's range, the controller should...
Control vehicles velocity according to speed signs
@Purvil Patel, Here is th basic idea. Even though some speed limit signs maybe out of the sensor's range, the controller should...
約1ヶ月 前 | 0
回答済み
Plot the function sin (x) on the interval [0, 5]. Now generate the discrete time signal from the sine function with 6 discrete values. Using this fundamental period, generate
Hi @Woods, follow this example. fcn = @(x) 2*x - x.*abs(x); fplot(fcn, [-1 1]) grid on title({'Plot of $y = 2 x - x |x|$ ove...
Plot the function sin (x) on the interval [0, 5]. Now generate the discrete time signal from the sine function with 6 discrete values. Using this fundamental period, generate
Hi @Woods, follow this example. fcn = @(x) 2*x - x.*abs(x); fplot(fcn, [-1 1]) grid on title({'Plot of $y = 2 x - x |x|$ ove...
約1ヶ月 前 | 0
回答済み
Solving coupled differential equations
Hi @Jon I'm unsure if the system has a general analytical solution. In Pure Math, from the properties of a stable 2nd-order OD...
Solving coupled differential equations
Hi @Jon I'm unsure if the system has a general analytical solution. In Pure Math, from the properties of a stable 2nd-order OD...
約1ヶ月 前 | 0