EDIT NUMBERS IN EDITORS

2 次查看(过去 30 天)
armin m
armin m 2021-11-25
hi. i have large amount of numbers in editor which i have copy and pasted them.
5
6
9
8
...
i wanna convert it to this form:
5 6 9 8 ...
how can i do that? tnx

回答(1 个)

Yusuf Suer Erdem
Yusuf Suer Erdem 2021-11-25
编辑:Yusuf Suer Erdem 2021-11-25
Write these codes into your script and you will see and also search for transpose operation. Good luck.
clc; clear; close all;
x=[1;2;3;4;5;6]
y=[1;2;3;4;5;6]'
  2 个评论
armin m
armin m 2021-11-25
. i think u did not understand my question. i said it is in editor window. so i wanna i take less enviroment
Yusuf Suer Erdem
Yusuf Suer Erdem 2021-11-25
That one I am not able to do it.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by