How to make an assignment for my for loop?
Show older comments
Hello,
I have some data that I am trying to manipluate to get some other data. For instance I have a time history data, and I am trying to convert it to a set of SRS data. So, SBOB already has a ton of data stored in it. But for some reason it doesn't like it when I try to make the assignment SBOB.x. Can anyone please help me resolve my issue, it will be most appreciated.
Sincerely,
Robert
Error: Unable to perform assignment because dot indexing is not supported for variables of this type.
Error in Drop_Table_DATA_Extraction (line 73)
SBOB.x{p} = [SBOB{1,p}.tt,SBOB{1,p}.Acc(:,r)];
CODE:
for r = 1:16
for p = 1:length(SBOB)
SBOB.x{p} = [SBOB{1,p}.tt,SBOB{1,p}.Acc(:,r)];
SBOB.SRS{p} = gsrs(SBOB.x{p});
end
end
1 Comment
Robert Flores
on 13 Sep 2019
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!