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

Réponses (1)

Yusuf Suer Erdem
Yusuf Suer Erdem le 25 Nov 2021
Modifié(e) : Yusuf Suer Erdem le 25 Nov 2021

0 votes

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 commentaires

armin m
armin m le 25 Nov 2021
. 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 le 25 Nov 2021
That one I am not able to do it.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by