Azzera filtri
Azzera filtri

Optimization using tall arrays

1 visualizzazione (ultimi 30 giorni)
Vatsal Patel
Vatsal Patel il 3 Giu 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?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by