Replace a number by next occuring number twice
Mostrar comentarios más antiguos
I have a large array, where i should search for 101 and replace it by 102102,,, 105 by 106106,,,,,109 by 110110,,,113 by 114114...and check upto 289 and replace by 290290... it is nothing but adding 4 and check for that number and replace it by next occuring number twice... Can anyone help me in generalizing this....
Thank you...
Respuesta aceptada
Más respuestas (1)
Categorías
Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!