1-Visitor
March 8, 2023
Solved
For loop outputs 1x1 vectors into a matrix instead of scalars
- March 8, 2023
- 2 replies
- 1298 views
I am analyzing a ground motion applied to a SDOF structure and finding the motion with Newmark's method.
To accomplish this I have read the ground motion in with the readexcel function and then use a for loop to find the relative displacement, acceleration and velocity for each time step.
The file used and the needed excel file are attached.


