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...

8 meses ago | 0

| accepted

Answered

White background from "Print to Figure" in Simulink scope

I found that the background color is same as the scope for the figure generated from the "Print to Figure" command in the scope ...

White background from "Print to Figure" in Simulink scope

I found that the background color is same as the scope for the figure generated from the "Print to Figure" command in the scope ...

9 meses ago | 0

| accepted

Question

White background from "Print to Figure" in Simulink scope

The "Print to Figure" menu command in a Simulink scope generates a figure with a black background. How can I change the backgrou...

9 meses ago | 1 answer | 0

Answered

Replacing a for loop with matrix multiplication

Try x'*inv(SIG)*x. Matlab can directly handle vectors and matrices.

Replacing a for loop with matrix multiplication

Try x'*inv(SIG)*x. Matlab can directly handle vectors and matrices.

9 meses ago | 0

Answered

How do I store data that meet conditions of an if statement

You over wrote the variable data. One soluation is to change data to data(i).

How do I store data that meet conditions of an if statement

You over wrote the variable data. One soluation is to change data to data(i).

9 meses ago | 0

Answered

Impedance versus frequency plot in Simscape Simulink

Bode plot is the gain and phase of the impedance. Gain is the magnitude. Phase is the angle. You can use the magnitude and angle...

Impedance versus frequency plot in Simscape Simulink

Bode plot is the gain and phase of the impedance. Gain is the magnitude. Phase is the angle. You can use the magnitude and angle...

9 meses ago | 0

Question

Simulink Pixhawk Support Package System Requirements

What is the MINIMUM system requirement to generate code from Simulink and download to a Pixhwak in R2020b? Will I be able to jus...

9 meses ago | 2 answers | 0

Submitted

Euler angles to axis-angle vector conversion for Simulink 3D

Calculate the corresponding axis-angle vector for given Euler angles

10 meses ago | 3 downloads |

Answered

How can I convert a double variable to uint8 and convert it back to double?

Very interesting. In R2019b, I got >> d = 163.0 d = 163 >> d == double(uint8(d)) ans = logical 1 >> d == (uint8(...

How can I convert a double variable to uint8 and convert it back to double?

Very interesting. In R2019b, I got >> d = 163.0 d = 163 >> d == double(uint8(d)) ans = logical 1 >> d == (uint8(...

10 meses ago | 0

Answered

how to use a revolute joint to rotate a body around it's local frame x axis not the global frame

Insert a rigid transform between the revolute joint and the object. Align the z-axis of the joint to the x-axis of the object (e...

how to use a revolute joint to rotate a body around it's local frame x axis not the global frame

Insert a rigid transform between the revolute joint and the object. Align the z-axis of the joint to the x-axis of the object (e...

10 meses ago | 1

Answered

Spectrum Analyzer continuous issue

The spectrum analyzer requires discrete input and the frerquency span needs to be adjusted according to the sampling period. The...

Spectrum Analyzer continuous issue

The spectrum analyzer requires discrete input and the frerquency span needs to be adjusted according to the sampling period. The...

10 meses ago | 0

Answered

How does SFRotation works in Simulink 3D world Editor?

Simulink 3D rotation input use axis-angle (x, y, z, angle) format, where the first 3 elements specify the axis direction. Euler ...

How does SFRotation works in Simulink 3D world Editor?

Simulink 3D rotation input use axis-angle (x, y, z, angle) format, where the first 3 elements specify the axis direction. Euler ...

10 meses ago | 0

Answered

Unrecognized function or variable

You need to put the genCand function in a file named genCand.m (in the same directory of the calling m-file or in the search pat...

Unrecognized function or variable

You need to put the genCand function in a file named genCand.m (in the same directory of the calling m-file or in the search pat...

10 meses ago | 0

| accepted

Answered

How do I add input to VR sink?

Use Nodes - Insert From - Component Library to add objects (simple shapes such as box, circle are in the Shapes folder) in the 3...

How do I add input to VR sink?

Use Nodes - Insert From - Component Library to add objects (simple shapes such as box, circle are in the Shapes folder) in the 3...

10 meses ago | 0

Answered

How Do I Delete a Linear Analysis Point from a Block Diagram?

Choose Model Lineraizer in the APPS tab. Select Edit Model I/Os in the Model I/Os drop down menu. Highlight the signal and click...

How Do I Delete a Linear Analysis Point from a Block Diagram?

Choose Model Lineraizer in the APPS tab. Select Edit Model I/Os in the Model I/Os drop down menu. Highlight the signal and click...

11 meses ago | 0

| accepted

Answered

Simscape Mechanics Explorer plot a dynamic line

You can use a slender cylinder to represent the line and attached it to the camera.

Simscape Mechanics Explorer plot a dynamic line

You can use a slender cylinder to represent the line and attached it to the camera.

12 meses ago | 0

Answered

Does SM uses Featherstone's algorithm?

Simscape solver is not well documented. The attached paper offers some clues. Simscape uses physical (or object oriented) modeli...

Does SM uses Featherstone's algorithm?

Simscape solver is not well documented. The attached paper offers some clues. Simscape uses physical (or object oriented) modeli...

alrededor de 1 año ago | 0

Answered

Simscape compiling takes forever

My guess is that you have too many components. Each components has associated Differential Algebraic Equations (DAEs). The Simsc...

Simscape compiling takes forever

My guess is that you have too many components. Each components has associated Differential Algebraic Equations (DAEs). The Simsc...

alrededor de 1 año ago | 0

Answered

Help with Simscape Multibody

The z-axis of the revolute joint needs to align with the desired roration axis. Use the Rigid Transform block in the Simscape/Mu...

Help with Simscape Multibody

The z-axis of the revolute joint needs to align with the desired roration axis. Use the Rigid Transform block in the Simscape/Mu...

alrededor de 1 año ago | 0

| accepted

Answered

How do I build pulley systems with 3 or more pulleys?

I think you need to put some mass in the system for non-ideal pulley. The pulleys output forces and torques at the terminals. Th...

How do I build pulley systems with 3 or more pulleys?

I think you need to put some mass in the system for non-ideal pulley. The pulleys output forces and torques at the terminals. Th...

alrededor de 1 año ago | 0

Answered

Hi, how do i make the block/ball/or table objects that the serial manipulators interact with?

You can use the Spatial Contact Force block to model the contact between a table and an object and between a gripper and an obje...

Hi, how do i make the block/ball/or table objects that the serial manipulators interact with?

You can use the Spatial Contact Force block to model the contact between a table and an object and between a gripper and an obje...

alrededor de 1 año ago | 0

Answered

Does force/torque get transfered throughtout an assembly consisting of solid blocks assembled with rigid transforms and connected with joints and gear constraints?

Simscape models are just link physical system. You apply force/torque at a particular point. The system with reponse to the forc...

Does force/torque get transfered throughtout an assembly consisting of solid blocks assembled with rigid transforms and connected with joints and gear constraints?

Simscape models are just link physical system. You apply force/torque at a particular point. The system with reponse to the forc...

alrededor de 1 año ago | 1

| accepted

Answered

How to follow a SimScape Multibody model in Mechanics Explorer

I couldn't figure out how to use the Keyframes camera either. So I settle with the Tracking camera. The easiest way to track an ...

How to follow a SimScape Multibody model in Mechanics Explorer

I couldn't figure out how to use the Keyframes camera either. So I settle with the Tracking camera. The easiest way to track an ...

más de 1 año ago | 1

| accepted

Answered

Simscape Multibody Add-On Download Error

Did you try to install the trial license? I had the same problem. Try to request a trial using the Mathworks website instead of ...

Simscape Multibody Add-On Download Error

Did you try to install the trial license? I had the same problem. Try to request a trial using the Mathworks website instead of ...

más de 1 año ago | 1

Answered

How to create Simscape multibody link with a hole

https://www.mathworks.com/help/physmod/sm/ug/compounding-body-elements.html#mw_14364c3d-f2ab-4f78-bc99-d6a67541e061

How to create Simscape multibody link with a hole

https://www.mathworks.com/help/physmod/sm/ug/compounding-body-elements.html#mw_14364c3d-f2ab-4f78-bc99-d6a67541e061

más de 1 año ago | 0

Answered

What physics engine does Simscape Multibody use?

Simscape, including all its toolboxes, is based on Simscape language. An introduction can be found at https://www.semanticschola...

What physics engine does Simscape Multibody use?

Simscape, including all its toolboxes, is based on Simscape language. An introduction can be found at https://www.semanticschola...

más de 1 año ago | 0

Answered

Symbolic and Jacobian Matrix

Try the following. They gave what you want in Matlab R2019b. syms m phi theta psi u1 u2 u3 u4 N = sym('n%d%d', [3 4]) T = [1 ...

Symbolic and Jacobian Matrix

Try the following. They gave what you want in Matlab R2019b. syms m phi theta psi u1 u2 u3 u4 N = sym('n%d%d', [3 4]) T = [1 ...

más de 1 año ago | 1

Answered

How to change the density of Simscape Multibody demos?

simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminu...

How to change the density of Simscape Multibody demos?

simmechanics.demohelpers.densities is a built-in matlab function. The output is a structure that contains the density of aluminu...

más de 1 año ago | 0

Answered

How to create a single link manipulator model in Simulink?

Use two integrators in series. The input of the first integrator is acceleration, the output is velocity. The input of the secon...

How to create a single link manipulator model in Simulink?

Use two integrators in series. The input of the first integrator is acceleration, the output is velocity. The input of the secon...

más de 1 año ago | 0