Frage


Finding a needle in a matrix
Hello, Let's say I have a 10 x 10 matrix filled with numbers (10 X 10 double) which can only be 1, 2 or 3. I need a code that...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Basic if statement with a cell array
Hello all, Let's say I have a basic cell array : x = {1 2 3 4 5 8}. Now, I want to verify that this array only contains those...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find columns by name in a cell aray
Hello all, Let's say I have a large cell array with similar variable names in the first row (A_F1 , B_F2 , A_F2 , G_F5 .....

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I merge two rows into one
Hi all, Newbie question here. Let's say I have 6 variables (A-F) and values in 2 rows like this: A B C D E F 1 ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to delete rows that contain NaN in a table
Hello all, So how do you delete all the rows that contain NaNs in a table (not a matrix or a cell array)? I have tried vario...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to format a cell array
Hi, Quick question here. I have a 1x15 cell which contains 15 24x1 double (i.e 15 cells, each containing 24 numbers). Is ther...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Interpolation by pressure using interp1
Hello all, I have a table with 3 variables: sampling station, pressure (decibar) and temperature. For each of my 46 stations,...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to copy and rename files in a different folder
Hi all, Let's say I have 3 text files (001X, 002Y and 003Z) in the folder A. Now, I want to first move these files to a creat...

fast 8 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Time conversion in a table
Hi all, Let's say I have a table and one of my variable is a mix of numbers and NaNs, like so: [1010, NaN, 1256, NaN, 1345...]....

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Easy question converting numbers to hours
Hi all, I know this should be easy, but how would you convert whole numbers into HH:MM format? Like say 1156 into 11:56 ? Than...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to delete specific lines in a table
Hello all, Let's say I have a table A with 15 variables. In this table, I have variable B which contains a weird mix of numbers...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to delete empty lines in a table
Hello all, I have an easy question for you. How would you delete all empty lines in a table? Thank you

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Easy columns merge question
Hi all, I have an easy merge question.Let's say I have 2 columns that look like this: A = [1 NaN 3 NaN 5 6 ...] and B = [NaN 2 ...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Newbie question about table indexing,loops and logical arguments (should be easy)
Hello all, Lets say I have a table with two variables. X contains either characters or various empty cells(,) like so: X = [A...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Newbie question about date format
Hi all, I have a 100 x 1 cell array with with a date format like 19-7-66 that I want to change into 19-September-1966. How woul...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten