Feeds
提问
Loops + Updating variables
I'm trying to do some iterative calculations by repeatedly calling a function 'calculate_box' which returns a column array of va...
5 years 前 | 0 个回答 | 0
0
个回答提问
How do I create a row vector 'r' that takes a value depending on whether 'nodelocation' is above or below 'd'?
I have a system where the properties change depending on the location within the system. Up to a certain point, 'd', vector 'r' ...
6 years 前 | 1 个回答 | 0
1
个回答提问
Graphs plotting blank - unsure why and how to fix
- mass = 1; SpringK = 200; Initial = 1; staticf = 0.2; dynamicf = 0.1; Period = 7; dt = 0.01; angle = 30; g = 9.81; ...
7 years 前 | 1 个回答 | 0
1
个回答提问
Unable to perform assignment because the left and right sides have a different number of elements. Line "u(i) = u(I+1) + acceleration * dt" seems to be the problem.
How can I fix this code to run and print the table? % Default parameter values mass = 1; Spring = 200; Initial = 1; static...
7 years 前 | 1 个回答 | 0

