Community Profile

photo

J Chen


Last seen: Today
83 total contributions since 2019

J Chen's Badges

  • 5-Star Galaxy Level 1
  • 12 Month Streak
  • Personal Best Downloads Level 2
  • Revival Level 2
  • GitHub Submissions Level 3
  • Thankful Level 1
  • First Review
  • First Submission
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

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

17 Tage ago | 0

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

17 Tage ago | 1 answer | 0

1

answer

Answered
Replacing a for loop with matrix multiplication
Try x'*inv(SIG)*x. Matlab can directly handle vectors and matrices.

26 Tage ago | 0

Answered
CONVERTING MATLAB SIMULINK MODEL INTO Programming
Try the Simulink coder.

26 Tage 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).

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

etwa ein Monat 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...

etwa ein Monat ago | 2 answers | 0

2

answers

Submitted


Euler angles to axis-angle vector conversion for Simulink 3D
Calculate the corresponding axis-angle vector for given Euler angles

etwa 2 Monate ago | 3 downloads |

Thumbnail

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

etwa 2 Monate 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...

etwa 2 Monate 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...

etwa 2 Monate 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 ...

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

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

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

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

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

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

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

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

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

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

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

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

9 Monate 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

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

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

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

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

10 Monate ago | 0

Answered
Modeling Simscape Spherical Air Bearings
Use the Spherical Joint in the Simscape Multibody to represent the air bearing.

10 Monate ago | 0

Load more