Hi everyone
Can you help me for my code?.
I want to assign matrix b to struct g.a at position c.
g(1).a=[1 2 3 4]'g(2).a=[1 1 3 4]'g(3).a=[4 3 1 2]'c=[1 2]b=[ 3 3 3 3;4 5 4 4]'
My hope output is g.a =
3 4 4 3 5 3 3 4 1 3 4 2
Thank you so much.
Best Answer