why my Matlab calculate a simple code so solw?
3 views (last 30 days)
Asad (Mehrzad) Khoddam on 23 Dec 2020
Edited: Asad (Mehrzad) Khoddam on 23 Dec 2020
When you use this command:
two = 1 + 1
The program should display the results and it takes time to transfer data to graphic cards.
Morever, for timinh, it is better to do the operation for many time (1000 or more) and take the average.
change the code to this:
or in a loop