Community Profile

photo

Heidi Mäkitalo


Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to remove everything from string except what's inside square brackets?
I have this cell array: {'0,11:1.03 SPEED MEASURED 1 [rpm]'} {'0,12:1.03 SPEED MEASURED 1 [rpm]'} {'0,13:1.03 SPE...

4 years ago | 1 answer | 0

1

answer

Question


How to define a variable as an integer that's equal to or greater than zero?
I have the following if statements: if struct_idx == 1 + 4*n % where n is an integer equal to or greater than zero ...

4 years ago | 2 answers | 0

2

answers

Question


How to read data from text file into class?
I have txt-files such as the one attached, where there are first lines describing the data in the file and then a table containi...

4 years ago | 1 answer | 0

1

answer

Question


How to turn a column of seconds into the datetime-type?
I have a table that looks like this: TIME_s SD1_SPEED_MEASURED_1_rpm SD2_SPEED_MEASURED_1_rpm SD3_SPEED_MEASURED_1_rpm...

4 years ago | 4 answers | 0

4

answers

Question


Pulling out a number and a date + time from text file after specific lines
Hello all, I have the following two lines in my text file: Time of Interval 0: 03/03/18 18:14:02 Interval: 0.02 sec First ...

5 years ago | 1 answer | 0

1

answer

Question


How to replace a part of string in a cell array with a string that changes?
Hello all, I find it a little difficult to describe my problem accurately but basically, I have the following cell array: ...

5 years ago | 1 answer | 1

1

answer

Question


How to create legend from cell array?
I have the following cell array: >> itm{2} ans = '0,31:1.03 SPEED MEASURED 1 [rpm]' '0,32:1.03 SPEED MEASURED 1 [rp...

5 years ago | 1 answer | 0

1

answer

Question


How to delete numbers from cell?
I have a cell array that contains the following lines: '0,31:1.03 SPEED MEASURED 1 [rpm]' '0,31:1.04 MOTOR SPEED [rpm]...

5 years ago | 2 answers | 0

2

answers

Question


How to extract number from cell array?
I have a cell array that contains only the following text: 'Interval: 0.02 sec'. How can I extract the number 0.02 from the cell...

5 years ago | 1 answer | 0

1

answer

Question


How to read specific lines from a text file and store them in a matrix?
Hello everyone, I want to create a matrix from the attached text file that only includes the lines after the one that reads "In...

5 years ago | 1 answer | 0

1

answer