I saw this topic talking about map: Map function in MATLAB?
As a result, I wondered if there are similar ways to do this with indexes in mind. For example, if I want to do something like (x_i) ^ i.
Many thanks!
Example:
>> x = randi(10, [1 5]) x = 9 7 4 10 1 >> x.^(1:numel(x)) ans = 9 49 64 10000 1
Source: https://habr.com/ru/post/1733786/More articles:Setting up Sharethis - javaIs there a way to get the order in which the OOP method is called? - oopDetecting end of function chain? - javascriptWhy is it necessary to check the cast time when uncorking? - c #Can the Mock framework do this for me? - databaseHow to recognize mouseDragged and mousePressed events in one listener? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1733788/thinking-logically-about-a-database-structure-adding-tags-to-things-users-post-a-seperate-table-or&usg=ALkJrhjIIhOISzwrLgvxBvxljXRzdw7R-QDatabase design for tags of several types of objects - database-designWorking generic lists of base types and inherited types - genericsКак получить уведомление об открытии нового окна? - eventsAll Articles