I have imported a vector into MatLab from excel which was originally imported from ANSYS. I would like to plot this vector against another one, however each entry has a 'mm' after it, like so:
PinRadius = [0.01mm;0.02mm;0.03mm;0.04mm;...]
Is there a way in MatLab to ignore the letters and just read the numbers so I can produce a plot? I know I could manually do this but I have over 200+ entries.
Any help is greatly appreciated, thanks!
댓글 수: 2
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/502434-how-to-ignore-letters-in-a-numeric-cell#comment_790962
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/502434-how-to-ignore-letters-in-a-numeric-cell#comment_790962
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/502434-how-to-ignore-letters-in-a-numeric-cell#comment_790967
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/502434-how-to-ignore-letters-in-a-numeric-cell#comment_790967
댓글을 달려면 로그인하십시오.