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

Antworten (1)

Yusuf Suer Erdem
Yusuf Suer Erdem am 25 Nov. 2021
Bearbeitet: Yusuf Suer Erdem am 25 Nov. 2021

0 Stimmen

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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 25 Nov. 2021

Kommentiert:

am 25 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by