Answered

how to get eigenvalues and plot it

Use a loop to calculate and store the eigenvalues for each time point. Plot the data outside the loop.

how to get eigenvalues and plot it

Use a loop to calculate and store the eigenvalues for each time point. Plot the data outside the loop.

12 months ago | 0

| accepted

Answered

Does Simscape Multibody enable torsion system modeling consisting of 2 or 3 rotating masses / inertias connected by spring and damper elements?

Connect the inertias with revolute joints and specify the spring stiffness and damping coeficient in the joint parameters.

Does Simscape Multibody enable torsion system modeling consisting of 2 or 3 rotating masses / inertias connected by spring and damper elements?

Connect the inertias with revolute joints and specify the spring stiffness and damping coeficient in the joint parameters.

12 months ago | 0

Answered

Singularity error encountered when calculating inverse dynamics of a elastic joint.

Probably better to specify the desired angle at the output port (F port) of the Torsional elastiticity & damping block. You can ...

Singularity error encountered when calculating inverse dynamics of a elastic joint.

Probably better to specify the desired angle at the output port (F port) of the Torsional elastiticity & damping block. You can ...

1 year ago | 0

Answered

Heatmap - how to get the plotted colors

camp = colormap https://www.mathworks.com/help/matlab/ref/colormap.html

Heatmap - how to get the plotted colors

camp = colormap https://www.mathworks.com/help/matlab/ref/colormap.html

1 year ago | 0

Answered

Which Block for Frequency as input signal for a prismatic joint?

You can apply force or impose motion for a Prismatic Joint. Use SImulink blocks to generate the signal you want and feed the sig...

Which Block for Frequency as input signal for a prismatic joint?

You can apply force or impose motion for a Prismatic Joint. Use SImulink blocks to generate the signal you want and feed the sig...

1 year ago | 0

Answered

Extracting natural frequencies and mode shapes from a Simscape Multibody model

You probably can linerarize your Simscape model and calculate the eigenvalues and eigenvectors.

Extracting natural frequencies and mode shapes from a Simscape Multibody model

You probably can linerarize your Simscape model and calculate the eigenvalues and eigenvectors.

1 year ago | 0

Answered

How to design controller for models in Simscape multibody?

You can use MATLAB 'linearize' command to lineraize Simscape plant models, [sys, ~, info] = linearize(plantModel, opPoint). The ...

How to design controller for models in Simscape multibody?

You can use MATLAB 'linearize' command to lineraize Simscape plant models, [sys, ~, info] = linearize(plantModel, opPoint). The ...

1 year ago | 0

Answered

What can I do to import a complete assembly into Multibody if I'm using Fusion 360?

Can you export the model to a CAD software that supports Simscape Multibody Link?

What can I do to import a complete assembly into Multibody if I'm using Fusion 360?

Can you export the model to a CAD software that supports Simscape Multibody Link?

1 year ago | 0

Answered

I want to use variable as an input in a single run.

Try to feed the signal to the 'To Workspace block' directly to other blocks.

I want to use variable as an input in a single run.

Try to feed the signal to the 'To Workspace block' directly to other blocks.

1 year ago | 0

Answered

Finding pitch, yaw for a delta three wheeler using simscape or vehicle dynamics blockset

The Vehicle Body block only describes vehicle longitudial dynamics. You need a block that handle lateral dynamics to get roll an...

Finding pitch, yaw for a delta three wheeler using simscape or vehicle dynamics blockset

The Vehicle Body block only describes vehicle longitudial dynamics. You need a block that handle lateral dynamics to get roll an...

1 year ago | 0

Answered

how to change simulink matlab (bellow) to code matlab? How do I enter the initial value?

https://www.mathworks.com/help/matlab/ref/ode45.html

how to change simulink matlab (bellow) to code matlab? How do I enter the initial value?

https://www.mathworks.com/help/matlab/ref/ode45.html

1 year ago | 0

Answered

elevator motor modelling code

You need to model the system with a differential equation: . Solve the equation with MATLAB or Simulink for given N(t).

elevator motor modelling code

You need to model the system with a differential equation: . Solve the equation with MATLAB or Simulink for given N(t).

1 year ago | 0

Answered

Contact Forces/Torques for Robotics Applications

The Spatial Contact Force Block will automatically apply the forces to the elements connected to its two ports. You don't need t...

Contact Forces/Torques for Robotics Applications

The Spatial Contact Force Block will automatically apply the forces to the elements connected to its two ports. You don't need t...

1 year ago | 0

Answered

3D matrix with equation

does mean ? You can calculate the result using three loops on i, j, and l.

3D matrix with equation

does mean ? You can calculate the result using three loops on i, j, and l.

1 year ago | 0

Answered

How to interpolate when we have two different sizes

temps_B and B have different size. They need to be the same size.

How to interpolate when we have two different sizes

temps_B and B have different size. They need to be the same size.

1 year ago | 0

Question

Separate Simulink block name into several lines

How can I separate the name of a Simulink block into serveral lines in R2020b? The Retuen key doesn't seem to work in this new r...

1 year ago | 1 answer | 0

Answered

How can I get the value by choosing 't' and 'x'? ,How should I set the graph range?

Move the plot command outside the loop. Store the calculation at each time step in a buffer. For example: hist = nan(n,length(t...

How can I get the value by choosing 't' and 'x'? ,How should I set the graph range?

Move the plot command outside the loop. Store the calculation at each time step in a buffer. For example: hist = nan(n,length(t...

1 year ago | 0

Answered

Log simulink (variable step) data with with one sample time!

Uee the To Workspace block in the Simulink Sink category and specify the Sample time in the block parameters.

Log simulink (variable step) data with with one sample time!

Uee the To Workspace block in the Simulink Sink category and specify the Sample time in the block parameters.

1 year ago | 1

Question

Dispaly numbers in Simscape Mechanics Explorer or Simulink 3D animation viewer

How can I dispaly numbers in a Simscape Mechanics Explorer? The numbers need to be displayed in the Mechanics Explorer in order ...

1 year ago | 0 answers | 0

Answered

I can't plot this 3D matrix despite looking at other examples

The matrix has 3 independent variables. 3D plots using surf can only have 2 independent variable. You need to general 4 3D figur...

I can't plot this 3D matrix despite looking at other examples

The matrix has 3 independent variables. 3D plots using surf can only have 2 independent variable. You need to general 4 3D figur...

1 year ago | 0

Answered

If loop with character and two conditions

Use strcmp(t_adf_fdiff.reject,t_kpss_fdiff.reject) insteafd of t_adf_fdiff.reject == t_kpss_fdiff.reject. The two if statemen...

If loop with character and two conditions

Use strcmp(t_adf_fdiff.reject,t_kpss_fdiff.reject) insteafd of t_adf_fdiff.reject == t_kpss_fdiff.reject. The two if statemen...

1 year ago | 0

Answered

How can I print the heatmap as grayscale?

heatmap(A) colormap(gray)

How can I print the heatmap as grayscale?

heatmap(A) colormap(gray)

1 year ago | 1

| accepted

Answered

solving equations with trigonometric functions

format long % show more digits double(S1.theta3) double(S1.theta4) format % back to the default format

solving equations with trigonometric functions

format long % show more digits double(S1.theta3) double(S1.theta4) format % back to the default format

1 year ago | 0

Answered

How can I apply the same force on multiple objects in Simscape Mulitbody?

The problem is not with the force block. The problem is caused by incorrect configuration of the components, i.e., the component...

How can I apply the same force on multiple objects in Simscape Mulitbody?

The problem is not with the force block. The problem is caused by incorrect configuration of the components, i.e., the component...

1 year ago | 0

Question

Split Simulink 3D viewer into multiple panes

Is it possible to split the Simulink 3D Viewer into multiple panes? I can split the display pane of the 3D World Editor into mul...

1 year ago | 0 answers | 0

Question

How to add a ROUTE node in the 3D world?

How can I add a ROUTE node in the 3D world as hilighted in the screen shot? Thanks.

1 year ago | 0 answers | 0

Answered

I have a . Mat file of battery model how can i create simulink model from it

Mat file contain variables and their values. You can load it to the workspace. The file most likely contains test data. You need...

I have a . Mat file of battery model how can i create simulink model from it

Mat file contain variables and their values. You can load it to the workspace. The file most likely contains test data. You need...

1 year ago | 0

| accepted

Answered

Unable to find base block in simscape multibody

What do you mean by Base Block? You can find a World Frame block in the Frames and Transforms sub-category. The "Base Block" may...

Unable to find base block in simscape multibody

What do you mean by Base Block? You can find a World Frame block in the Frames and Transforms sub-category. The "Base Block" may...

1 year ago | 0

Answered

How can i obtain the final value of x and y?

Use sol = solve(prob) to solve the problem. The answer is in the sol object. You can also use sol.x and sol.y. Note that you may...

How can i obtain the final value of x and y?

Use sol = solve(prob) to solve the problem. The answer is in the sol object. You can also use sol.x and sol.y. Note that you may...

1 year ago | 0

| accepted