Effacer les filtres
Effacer les filtres

Optimization using tall arrays

1 vue (au cours des 30 derniers jours)
Vatsal Patel
Vatsal Patel le 3 Juin 2020
Hello All,
I am learning on how to work with tall arrays. I am trying to optimize a cost function developed using tall array. When I compute the cost of my objective function, it returns "NaN". So I tried using a smaller set of data (but still using tall array). It returned the expected value. In the former case, is the number too large for the matlab to display and hence it is returning NaN? I doubt that. Then why it it happening like that?
Also, If I try to use fminunc for the smaller set of data, I get an error - "Conversion to logical from tall is not possible". Can someone please guide me through?

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by