I need to add this equation in simulink

How to build a simulink model with this equation? I am not able to understand how the modulus of x and the x^3 will be in the model.

3 Comments

Sam Chak
Sam Chak on 19 Jul 2022
Edited: Sam Chak on 19 Jul 2022
What is delta δ?
By the way, are you having trouble building the entire differential equation or just the absolute value term?
At first glance, it looks a nonlinear spring equation.
The term |X|X^3 alone. I don't know to build this part. Is it possible for you to show in a drawing? Like as in blocks

Sign in to comment.

Answers (1)

Hi !
  1. To implement x^3: use math block, open the block and change function to pow .
  2. To implement |x| , use abs block
Hope this helps

2 Comments

@Abderrahim BELISSAOUI Yes I understand that . Should it be like this, The |X| should be before X^3 or after that
@Anish Sundar Gowthaman there is a block called Product that you can use to do the multiplication of |X| and X^3 .

Sign in to comment.

Categories

Find more on Get Started with Simulink in Help Center and File Exchange

Commented:

on 19 Jul 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!