已提交


Quaternions to Euler angles conversion
Convert quaternions to Euler angles using Z-Y-X rotation sequence

4 years 前 | 3 次下载 |

已回答
Sum of matrix signals in Simulink
Something wrong with the dB that comes in from Inport 2. The picture shows Inport 2 has a dimension of 1 instead of 5.

4 years 前 | 0

已回答
Processing 2D into 3D matrix
You need to change the following statement x = 0:1:11 x has 12 elements but the modeshapes array only allows 11 elements in th...

4 years 前 | 0

已回答
How can I produce a Torque signal to activate an External Force and Torque simulink block?
Connect a Solid to a Revolute joint. Change the Actuation-Torque property of the Revolute Joint to Provided by Input. You then a...

4 years 前 | 0

已回答
How can I model a Whitworth quick return mechanism in SimScape?
Download this model and take a look: https://www.mathworks.com/matlabcentral/fileexchange/74465-whitworth-quick-return-mechanism...

4 years 前 | 0

| 已接受

已提交


Whitworth Quick Return Mechanism
Simulate Whitworth Quick Return Mechanism with Simscape Multibody

4 years 前 | 11 次下载 |

已回答
Gauss Siedel code not working
Put three dots (...) after the = at line 20 to signal that line 21 is the continuation of line 20.

4 years 前 | 0

已回答
Arduino Encoder Application with Simulink Problem
You can use Simulink Delay block which store you last data. Type delay in the search box in the Simulink Library Browser to loca...

4 years 前 | 1

| 已接受

已提交


CRC-16
A function to generate CRC-16 (16-bit Cyclic Redundancy Check)

5 years 前 | 4 次下载 |

已回答
How do I select only 100 images in a folder of 200 images, according to a list of 100 different names ?
Use the folllwoing command to get a structure that contains file information listing = dir('*.jpg'); Use the folllwoing comman...

5 years 前 | 0

已回答
How to take mean of each row/column of matrix with while loop
You need to update i and j (add 1 to them) at the end of each while loop.

5 years 前 | 0

| 已接受

已回答
Help writing this integral
Use integral or trapz to integrate, then take the log. You need to find out the expression for p and the integration limits.

5 years 前 | 0

已回答
Hello, I am getting this error. Can anyone please help me solving it? Thanks
I guess that the temperature units are 'K', 'degC', 'degF', etc.

5 years 前 | 0

已回答
Difference between Simscape and Simulink
Simulink uses block diagram approach. The signal flow is unidirection. Simscape uses physical modeling approach. The signal flow...

5 years 前 | 1

已回答
How do you add physical signal lines programmatically?
use h1 = get_param('mymodel/mySubsystem/C_1','PortHandles'); to get the port handles. Use add_line to draw line between the hand...

5 years 前 | 0

已回答
User-defined MATLAB function block in Simulink/Simscape
use a statement like z = t / k; % don't use x to get the argument for the table lookup. Then use interp1(x,y,z) to find your ...

5 years 前 | 1

| 已接受

已回答
modelling in matlab of differential equation
you need an equation for dhw/dt, then use a matlab ode solver to solve the equations. see https://www.mathworks.com/help/matlab/...

5 years 前 | 0

已回答
step response of Linear parameter varying model's response different from the step response of original non linear plant
You probably didn't specify the "State derivative/update offset" correctly. You need to uncheck the "Assume equilibrium operatin...

5 years 前 | 0

已回答
Offset ticks and gridlines
Use xticks to place the ticks at the left of each group, e,g,, xticks([0.5 1.5 2.5]). You can use xt = xticks to get the coordn...

5 years 前 | 0

已回答
Vector between vectors in intervals
vec1 = [-0.0345;0.9984;-0.0447]; angle = 5*pi/180; % angle of rotation in rad v = vec1 + tan(angle)*vec2; % length of ve...

5 years 前 | 0

| 已接受

已回答
xlsreaderror: "Unable to resolve the name (filename)"
Change the statement to data_final = xlsread('Raw_data_2.xls');

5 years 前 | 2

已回答
How to do animation properly
Draw the cylinder first. Use the "rectangle" command in a loop to draw the piston, e.g., rectangle('position',[x,y,w,h],'FaceC...

5 years 前 | 0

| 已接受

已回答
how to subtract/divide corresponding rows and columns of two tables?
put the tables in to two variables of matrices. Use element-wise operation: ./ or .*

5 years 前 | 0

已回答
coverting fortran to matlab
The following statements are wronng h(i,j) = ( h(i-1,j) + h(i+1,j) + h(i,j-1) + h(i,j+1)/4) ; .. e = abs(h(i,j)) ...

5 years 前 | 0

提问


Find the help for sim command in the MPC Toolbox
The sim command can be used to simulate Simulink models or MPC objects. How can I open the Help Browser from the command line fo...

5 years 前 | 1 个回答 | 0

1

个回答

已回答
About the correct connection method of SimscapeMultibody and Simscape block in the calculation of inverse dynamics.
You input torque to the revolute joint block in forward dynamics. Doucle click the block. Expand Actuation and set the Torque to...

5 years 前 | 0

已回答
Connect multiple joints to one solid
You should use a revolute joint between cylinder C and cyliner A. Use another revolute joint between the other end of cylinder C...

5 years 前 | 0

已回答
Can anyone please tell me in which release i find this example ?
Probably R2019a and newer. R2018b doesn't have the example.

5 years 前 | 0

已回答
How to determine if my equation is equal to, less that or more then 0?
The result of sqrt((b^2/(4*a^2))-(c/a)) is a complex number. You can't compare it with 0 (a real number) The formula for dampin...

5 years 前 | 0

| 已接受

已回答
how to solve this ?
use s1 = a1*sin(w1*t+phi1), where w1=2*pi*f1 and t is time vector to generate signal 1. Do the the same for signal 2 and 3 and a...

5 years 前 | 0

| 已接受

加载更多