How can i create a long matrix?
Show older comments
I am creating a Frame structure that will be solved using finite method element. I am currently discretizing my model into 40 elements. How can i input the node values in a faster way instead of manually listing the coordinates of each node. I have 3 beams in my frame. For the left beam i want to have 20 elements that increase by 1.5 in the y direction. For ex: nodeCoordinates=[0 0; 0 1.5; 0 3; 0 4.5; 0 6.......]
Answers (1)
Something like
N = 20;
A = [zeros(20,1) (0:1.5:(N-1)*1.5).']
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!