How to select a cell from an array when this array is made of functions of a parameter?
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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
Risposte (2)
Giorgos Papakonstantinou
il 6 Giu 2015
You can do
A{2}
or
A{1,2}
Marlon Saveri Silva
il 6 Giu 2015
Modificato: Marlon Saveri Silva
il 6 Giu 2015
Questa domanda è chiusa.
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!