Community Profile

photo

Sam Chak


Last seen: Today 2020 이후 활성

Statistics

  • Thankful Level 1
  • Knowledgeable Level 5
  • Pro
  • 6 Month Streak
  • Revival Level 1
  • First Answer

배지보기

Content Feed

보기 기준

답변 있음
how to extract data from sys=ss(A,B,C,D) that is , inputs and outputs
Hi @welesh beyene A = [-300 0 0 0 0 0; 0 -300 0 0 0 0; 0 0 0 0 1 0; 0 0 0 0 0 1; 10.7206 -9.5648 10.7206 -9.5648 0 0; -9.5648 1...

약 5시간 전 | 0

| 수락됨

답변 있음
Division by zero error and Singularity error in my simulink model
Hi @BISMARK Can you insert a picture of the Block Diagram under the Mechanical model mask? If Simulink throws this kind of 'is...

약 22시간 전 | 0

답변 있음
Is it possible to switch between multiple adaptive MPC controller?
Hi @Artem Wendler I'm not sure how complicated is your problem. If the ON/OFF switching is triggered by a simple event that dep...

1일 전 | 0

답변 있음
How to calculate IAE between zero-crossing
@PAOLO OLIVIERI Are you looking for a MATLAB or Simulink solution? sys = ss([0 1; -1 -1], [0; 1], [1 0], 0); [y, t] = step(sy...

4일 전 | 0

답변 있음
Cubic poly trajectory function
Hi @Odesanmi Gbenga Abiodun One practical alternative and a mearning way to learn how to generate 3rd-order trajectories is to ...

6일 전 | 1

답변 있음
Transition from one condition to another with a certain pattern - Simulink
Hi @patr chri Mathematically yes, the smooth path of transition can be designed. Here is an example: Guess you have found th...

7일 전 | 0

답변 있음
How to model a rotating heat source in Simulink?
Hi @Mukti Chaturvedi To model a process (rotating heat source) in Simulink, you need a mathematical equation and some parameter...

7일 전 | 0

답변 있음
How to input (A/s) as source input signal in Simulink?
Hi @CHUN-KUAN CHIH The symbol 'A' probably stands for a reference amount of the setpoint to be entered. You insert a Gain Block...

7일 전 | 0

답변 있음
How to programe clipping sine wave
Hi @Mvana Cannot open your jpg (I'm lazy to fix the link). If you study Pure Math in high school, you need to use the sign func...

8일 전 | 0

| 수락됨

답변 있음
fuzzy and ode system
Hi @fateme zrbd Say the ODE is given by where and are the coefficients of the state and the input , respectively. From ...

8일 전 | 0

| 수락됨

답변 있음
How can I create a pulse train which is not periodic? A sample program has been attached.
Hi @BIPIN SAMUEL I followed an example in this link and modifed values of the parameters. Do you think it can be applied to you...

8일 전 | 0

답변 있음
How to plot this function
Hi @Dinh Le Dung Think it should look like this: [X, Y] = meshgrid(-0.5:1/40:0.5); Z = X.*Y.*(X.^2 - Y.^2)./(X.^2 + Y.^2); s...

9일 전 | 0

답변 있음
Solving Differential Equation by Laplace Transform
Hi @Addison Harley Tiangco Follow the example to solve Differential Equations (RLC Circuit) using Laplace Transform. You can t...

9일 전 | 0

답변 있음
simulink model of wind turbine lqg regulation does not work properly
Hi @Helia Bisadi I suspect that the instability is caused by the signs in these two summation blocks: If you look into the c...

9일 전 | 1

답변 있음
Calcul of Vehicle steering angle
Hi Mouna The examples in this toolbox will be helpful <https://www.mathworks.com/products/sysid.html System Identificatio...

12일 전 | 0

답변 있음
Solve nonlinear 2nd order ODE numerically
Hi @Lucas You can follow the example here https://www.mathworks.com/help/matlab/ref/ode45.html#bu3uhuk and try something lik...

13일 전 | 0

| 수락됨

답변 있음
Does this represent a 3DOF system if not how can I incorporate it as such?
@Keenan, Looks like no error. % Based on X-34 launch specs and parameters % Variable List: % Delta = Time step (s) % t = T...

13일 전 | 0

답변 있음
How to add a sine wave with a frequency of 50hz and a magnitude of 20 in Simulink
Hi @Pranav Enter the values for the Amplitude and Frequency in the Sine Wave block. In MATLAB, it looks like this: t = 0:0....

13일 전 | 1

| 수락됨

답변 있음
Derivative of state is not finite (integrator error)
Hi @Hanne Grov I don't see any division-by-zero issue, unless there are some divisive terms hidden inside the MATLAB Function B...

13일 전 | 0

답변 있음
How to find out TSP of a graph.
Hi @Ashish Verma You want to plot the graph like this? s = [1 1 1 1 2 2 2 3 3 4]; t = [2 3 4 5 3 4 ...

13일 전 | 0

답변 있음
I have a differential equation in which the equation contains a function. I don't know how to input and call the function to generate the graph I want. can you help me fix it
Hi Ms. @Latifah Hanum, Equation 6 is a kind of ON/OFF switch that can be constructed using a scaled version of the signum funct...

13일 전 | 0

| 수락됨

답변 있음
Generate waveform using basic matlab code
Hi @Abhibrata Adhikary The given waveform is a piecewise smooth function, and it can be constructed as follows: t = 0:0.1:2000...

13일 전 | 0

| 수락됨

답변 있음
How we can give input to ANFIS
Hi @Gagandeep Kaur Maybe you can try something like this: IN = [in01(:) in02(:) in03(:) in04(:) in05(:) in06(:) in07(:) in08...

13일 전 | 0

답변 있음
How to build the sensor subsystem in SIMULINK like this video ?: https://www.youtube.com/watch?v=qhIjIu-Zk10&list=PLn8PRpmsu08pQBgjxYFXSsODEF3Jqmm-y&index=6
Hi @Nam Nguyen I guess the video in the YouTube link is removed. It is not the end of the world if you can't model a sensor sys...

13일 전 | 0

답변 있음
How to reduce the simulation running time when fuzzy block gets included?
Hi @MALARVILI S I guess that your designed Fuzzy System is a Mamdani-type FIS, and it has too many Rules for the program to eva...

13일 전 | 0

| 수락됨

답변 있음
How to combine two fuzzy inference system in Simulink?
Hi @Swathi T I don't know how your Rules and FIS work, but you can try combining both FIS blocks in the additive way: Also, ...

13일 전 | 0

| 수락됨

답변 있음
How to Code Math Equation in Matlab.
Hi @bob Do you wish to learn only the specific code for solving the Heat Equation? Or, do you want to learn MATLAB from scratc...

14일 전 | 0

| 수락됨

답변 있음
i have unstable second order system and trying to make it follow square wave using reinforcement learning but the agent doesn't converge
@farouk I don't know how many iterations your RL will take to stabilize the system and track the square wave. But you can proba...

14일 전 | 0

답변 있음
Trying to code a state space modelling for thrust vector control of a rocket. I keep getting Error using plot, Invalid Data Argument, please help
@Chinmay Kundapur, alternatively, you can directly write the color code straightaway. Iyy = 2.186e8; m = 38901; ...

15일 전 | 0

답변 있음
how to draw graphs for optimal control
Hi @mallela ankamma rao Do expect plots like these? test = -1; % Test variable; as long as variable is negative ...th...

16일 전 | 0

더로드