EDIT NUMBERS IN EDITORS

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

Answers (1)

Yusuf Suer Erdem
Yusuf Suer Erdem on 25 Nov 2021
Edited: Yusuf Suer Erdem on 25 Nov 2021
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 Comments

. i think u did not understand my question. i said it is in editor window. so i wanna i take less enviroment
That one I am not able to do it.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

on 25 Nov 2021

Commented:

on 25 Nov 2021

Community Treasure Hunt

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

Start Hunting!