已回答
How can I simulate two-rigid body-interactions when the complete motion of one body is known using Simscape Multibody?
@yang. You can add prescribed motion trajectory to the 6DoF Joint's actuation input port as illustrated in the following image. ...

3 months 前 | 0

已回答
how to change the size of the fonts inside the bar graph
use text function with FontSize option to change font size x = [1 2 3]; vals = [2 3 6; 11 23 26]; b = bar(x,vals); xtips1 ...

4 months 前 | 0

| 已接受

已回答
Iteratively remove the rows and columns of a matrix
M = 3; N = 8; [H00,H10,H20,H30,H40,H50,H60,H70] = deal(randi(10,M)); [H11,H21,H31,H41,H51,H61,H71] = deal(randi(20,M)); H ...

5 months 前 | 0

已解决


Project Euler Problem 48: Self Powers
The series,. Return a string of the last ten digits of the series:. Hint: Use modular arithmetic! Spoiler: The solution is...

5 months 前

已解决


Integer Division Without Remainder
Write a function that takes two positive integers, a and b, and returns the result of integer division (quotient) without remain...

6 months 前

已回答
Matrix Near Singularity Warning During the ODEs Solving Procedure
Through stepwise debugging, I find that the badly scaling issue was induced by the stiffness value K, which is a large value...

6 months 前 | 0

| 已接受

提问


Matrix Near Singularity Warning During the ODEs Solving Procedure
I am working with multi rigid body systems simulation utilizing Runge-Kutta (RK) numerical integration method. In the every ...

6 months 前 | 1 个回答 | 0

1

个回答

已回答
How to plot a string signal/array?
In the Documentation, the Simulink.sdi.plot function can plot different objects exported from simulations, it can reproduce the ...

8 months 前 | 1

| 已接受

已回答
The Parameter of ODE is not Updated When the EventCallback Function is Called
I have solved this isssue with the following odeEvent object definition: E = odeEvent("EventFcn",@impactEvent,"Direction","asce...

9 months 前 | 1

提问


The Parameter of ODE is not Updated When the EventCallback Function is Called
I was simulating ODEs which incorporate additional parameter (ydot = f(t,y,P)). There is an event occurs in the simulation proc...

9 months 前 | 1 个回答 | 2

1

个回答

提问


How to Output Updated Parameters Value in ode Integration Process When the odeEvent is triggered ?
I was working on multi-body systems collision simulation utilize ode MATLAB function and odeEvent function. The impact between ...

9 months 前 | 1 个回答 | 0

1

个回答

已解决


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

9 months 前

已解决


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

9 months 前

已解决


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

9 months 前

已解决


EZ9
EZ

9 months 前

已解决


Getting values from a vector
This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...

10 months 前

已解决


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

10 months 前

已解决


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

10 months 前

已解决


Neural Nets: Activation functions
Return values of selected Activation function type for value,vector, and matrices. y=Activation(x,id); where id is 1:4 for ReLU...

10 months 前

已解决


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

10 months 前

已解决


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

10 months 前

已解决


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

10 months 前

已解决


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

10 months 前

已解决


radius of a spherical planet
You just measured its surface area, that is the input.

10 months 前

已解决


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

10 months 前

已解决


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

10 months 前

已解决


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

10 months 前

已解决


Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...

10 months 前

已解决


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

10 months 前

已解决


Sum of series VIII

10 months 前

加载更多