Hello, I have data from a program that outputs one column of complex values. It takes this form:
-3.94784161958372514789e-012-j6.28318528237456513067e-008
-4.60520922611340477459e-012-j6.78616917929321520919e-008
-5.37203701661548294055e-012-j7.32941813034424751869e-008
-6.26655173065204795790e-012-j7.91615544841966181044e-008
-7.31001500650640956280e-012-j8.54986248018396261909e-008
Whereas I would like the j to be on the outside for each value, i.e.
-3.94784161958372514789e-012-6.28318528237456513067e-008j
I know I could loop through the data with an if statement, but is there a more elegant/simple way to make this change on a massive data file? Thanks!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

제품

질문:

2018년 9월 18일

편집:

2018년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by