Answered
Nonlinear iteration is not converging (using ode23t) in Simscape Multibody
For situations like this, it is possible that changes to the model and the solver settings could enable the simulation to run wi...

1 year ago | 0

Answered
Single degree of freedom
This example shows you how to model this system in two ways: https://www.mathworks.com/help/simscape/ug/mass-spring-damper-...

1 year ago | 0

Answered
Plotting a potential energy function
Please read this post: https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a...

1 year ago | 0

Answered
Getting started solving ODE's - solve m [d^2(theta)/dt^2] + c [d(theta)/dt^2] + k sin(theta) = 0
As mentioned by Roger above: I think you have no choice but to solve it numerically. Even without the friction term in the midd...

1 year ago | 0

Answered
how can improved gray scale quantization
As mentioned above: Improved over what? What's wrong with the way you're doing it now? Read this link then come back with an im...

1 year ago | 0

Answered
Index exceeds matrix dimensions
As posted by Geoff in the comments above: The usual procedure is to read the error message, go to the source file and line numb...

1 year ago | 0

Answered
What is the code to integrate a fixed equation ; Cp = a + bT + cT^2 + dT^3 with varying values of a, b, c, d and T?
Please see this post: https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-...

1 year ago | 0

Answered
plot
Please see this post: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-f...

1 year ago | 0

Answered
Help creating a function file
As suggested above, read this post: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answe...

1 year ago | 0

Answered
How to define inertia of a body block in SimMechanics?
For symmetrical objects, such as a sphere or a cylinder, the inertia matrix will have the moments of inertia along the diagonal ...

1 year ago | 0

Answered
about design of High Gain observer & sliding mode observer for rotatory inverted pendulum system
This File Exchange submission contains a model of a rotary inverted pendulum: Virtual Hardware and Labs for Controls https://ww...

1 year ago | 0

Answered
How to analyse a STEP file in Matlab?
From this answer: https://www.mathworks.com/matlabcentral/answers/56904-how-to-import-and-plot-step-file STEP is a complicated...

1 year ago | 0

Answered
Add external torque data with motor-wheel mechanical domain link in simscape
Hi @Sean Your question is not very clear. Based on your image, I think you want to apply a torque between those two points. Y...

1 year ago | 0

Answered
MATLAB for Regenerative Braking of Train
This very simple example demonstrates regenerative braking in an electric vehicle: Power Split Hybrid Vehicle Electrical Ne...

1 year ago | 0

Answered
How to coupling two bevel gears?
Hi @Linzhu Yue, An example showing two bevel bears is included in the Simscape Multibody Parts Libary https://www.mathwork...

1 year ago | 0

Answered
Why in simscape the Piston Engine has a default damping value of crankshaft of 1000Nm*s/rad.
Hi @Jian Cao, The documentation for the Piston Engine block describes the Damping parameter. That parameter is enabled when ...

1 year ago | 0

Answered
Error with Simscape Driveline vehicle will not initialize.
You need to give the wheels independent rotational connections. Apply half the torque independently to each wheel, rather than ...

1 year ago | 0

Answered
Derivative of a signal (position) as velocity input to the simscape mechanical terminal, does't match with the position sensed at the ideal translational motion sensor.
Hi @Halil Yahya Yesilyurt If you had attached your model, we could give you a more specific answer. Here are my best guesses b...

1 year ago | 0

| accepted

Answered
为什么不能在齿轮工具块的两侧同时测输入输出的扭矩
扭矩源正在向无法移动的点施加扭矩。 (translated from Google Translate) The torque source is applying torque to a point which cannot move. --Ste...

1 year ago | 0

Answered
Incorrect velocity of gears in Gearbox
The simulation results you have plotted are correct. You are applying a constant torque to both gears. Applying a constant tor...

1 year ago | 0

Answered
How to model regenerative braking
This very simple example demonstrates regenerative braking in an electric vehicle: Power Split Hybrid Vehicle Electrical Ne...

1 year ago | 0

Answered
Cant open Simscape Driveline example "winch with a brake"
As mentioned in the comments above, you need to determine if you have Simscape Driveline installed, and you need to verify if yo...

1 year ago | 0

Answered
The Generic engine block in Simscape is showing zero torque and speed at all throttle values
Hi @Abhijeet Gite, If your engine reaches 0 speed, it will stall (just like in a real car). You can adjust the stall speed thr...

1 year ago | 0

Answered
Restricting motion for a sinusoidal force input in simscape
Hi @AHMED OUBAED Without seeing your exact model, it is hard to say exactly what the problem is. Here are my best guesses: Yo...

1 year ago | 0

| accepted

Answered
How to simulate pick and place application with matlab only?
Hi @snow John, You can assemble the robot arms using parts and joints. The joints you use depend on how many degrees of freedo...

1 year ago | 0

| accepted

Answered
Simscape Driveline model will not initialize.
Hi @Pranav Soni, In your model, you tried to use one brake model for both the left and right wheels. In doing so, you rigidly ...

1 year ago | 0

Answered
Fixed Caliper Disk Brake simulation results
Hi @Dovydas Ne, This model of the brake applies the force from the hydraulic brake system to a simple clutch block. You can ta...

1 year ago | 0

Answered
Is it possible to start a vehicle simulation with non-zero vehicle speed using my Simscape model?
Hi @Matthew Payne You can set the initial vehicle speed directly in the Vehicle Body block of Simscape Driveline (see below). ...

1 year ago | 0

Answered
ROTATING SHAFT PIEZOELECTRIC EFFECT
You have a few options: You can use the Flexible Shaft block in Simscape Driveline to model the shaft. You can measure the def...

1 year ago | 0

Answered
How to define the nonlinear stiffness of the hard stop component in a Simscape model?
There are many ways to create a nonlinear hard stop. Custom code: The most flexible way would be to take the source code for ...

1 year ago | 0

Load more