Pedagogic solution is available in position 2 (commented, same as solution 1 but more explicit thus suboptimal).
Renaming a field in a structure array
737 Solvers
341 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1525 Solvers
Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
42 Solvers
37 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!