MATLAB Answers

Sorting numeric data in char form

1 view (last 30 days)
Shritesh Jibhkate
Shritesh Jibhkate on 13 Feb 2019
Edited: Shritesh Jibhkate on 14 Feb 2019
Capture.PNG
I want to sort data as per row 1 which should give result as below-
'-25~0'
'0~25'
'25~50'
'50~75'
'75~100'
'100~125'
'125~150'
'150~175'
Sortarray instruction is giving following result-
'-25~0'
'0~25'
'100~125'
'125~150'
'150~175'
'25~50'
'50~75'
'75~100'
Does anyone has solution for this?
Note: All the data is in character form.

  0 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.


Translated by