How to select a cell from an array when this array is made of functions of a parameter?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Dear all,
Consider an array
A = [a(t) b(t) c(t)].';
I want to select b(t). However, when I enter "A(2)", MatLab returns
a(2)
b(2)
c(2)
instead of
b(t).
How could we select get b(t) in this case?
Thanks
Answers (2)
Giorgos Papakonstantinou
on 6 Jun 2015
You can do
A{2}
or
A{1,2}
Marlon Saveri Silva
on 6 Jun 2015
Edited: Marlon Saveri Silva
on 6 Jun 2015
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!