Question

draw a max line in existing plot

Hi, I have the folowing plot: Now i want to create something like this: How can I create this?

1 year ago | 1 answer | 0

Question

Formula basic fitting curve Matlab

Hi, I am using the equation from the basic fitting function from matlab. I am using the cubic equation. Is there a way to f...

1 year ago | 1 answer | 0

Question

How to split table in new tables

Hi, I have a table like this: I want to splits this table in new tables based on the triggertype. I want to select the rows...

1 year ago | 1 answer | 0

Question

Make name in for loop and read table

Hi, How can I make this working? now i got the error "Dot indexing is not supported for variables of this type." I want to u...

1 year ago | 1 answer | 0

Question

Calculate Standard deviation in table

Hi, I have a table with 20 columns, I want to make a new column with the standard deviation of each row from column 4 to 6. ...

1 year ago | 2 answers | 0

Question

How to substract in table

Hi, How can I substract the first value of all columns from the other rows in a table? So I have a table like this: 1230764...

1 year ago | 2 answers | 0

Question

subtract value from column in table

hi, I want to subtract a table column from a value. like this: for c = 1:8 minus = table2array(Scan(1,c)); ...

2 years ago | 1 answer | 0

Question

Find indices of matching date times

Hi, I have 2 tables containing a column datetime. How can I find the first DateTime of table A in table B? So if Table B cont...

2 years ago | 1 answer | 0

Question

Get mean and stdev from all values

Hi, I have a list like below. in the first column I have values from 0 to 91 (there can miss values). 0 3 0 4.5000000000000...

2 years ago | 2 answers | 0

Question

smooth line in plot

hi, I have a plot which contains 6 points. Now i want to smooth the line. How can I do that? a = 0 1.56809885737654 1.0086143...

2 years ago | 1 answer | 0

Question

Make several tables from one table

Hi, I have a table like this: Now i want to make several single tables with data out of this. I want to cut rows from IGNI...

2 years ago | 2 answers | 0

Question

analyse table by row name

Hi, I have two questions. I read a csv file in matlab as below: Now i want to sort the table by the first column. I only ...

2 years ago | 1 answer | 0

Question

How can I write a table to .csv file

hi, How can i write a table to an .csv file and save it? Dion

2 years ago | 2 answers | 0

Question

Add xyz arrows in plot

Hi, I have a plot like this: Now i want to add in the middle of the plot some xyz arrows so that i can show how the lines a...

2 years ago | 1 answer | 0

Question

Stop for loop if value is bigger than 10

Hi, I want to add a while loop and start the for loop again if a value in dx > 10. So I have to stop the rest of the loop an...

2 years ago | 1 answer | 0

Question

Calculate mean of a matrix with different indices

Hi, I have a loop as below. RCAr = [] for k = 1:length(RCA); ... ... afstand = thisData(1:a,1); lengte = size(dx); l...

2 years ago | 1 answer | 0

Question

continue and return in a loop

Hi, See my script below. I added in this script what I exactly want. So if a value is what i want it is, go out of the loop a...

2 years ago | 1 answer | 0

Question

Delete all values except the max value

Hi, I have a 10x10 matrix Y. Now i want to make all elements 0 except the highes value of a row. So for example I have a matr...

2 years ago | 1 answer | 0

Question

remove double indexvalues in loop

Hi, I have a script where I take the maximum values out of a matrix for each column. I am using the index of the max value to ...

2 years ago | 0 answers | 0

Question

Write matrix or array without overwriting

Hi, I am getting a parameter called 'test' in a for loop. I want to write it to a matrix or array without overwriting. Each ...

2 years ago | 1 answer | 0

Question

save .csv file in given folder

Hi, I want to save a .csv file which i made by myself to a given path. The way I have it now it will be saved in de path whic...

2 years ago | 1 answer | 0

Question

Get index value of given input

Hi, I need the index value of a given input. I have a .xlsx file with in column1 values like 0000150 and M040. I open the ...

2 years ago | 1 answer | 0

Question

add cell or struct as title matlab plot

Hi, See my script below, I need to add the changing variable 'num' as title name. How can i fix that? for i = 3:3 num = ...

2 years ago | 1 answer | 0

Question

How to change a given name

Hi, An easy question but I can not find the solution. I have a number which is changing but i want to change it by myself. Ho...

2 years ago | 2 answers | 0

Question

Save and rename part of files in plot

Hi, I have a plot3 with 38 files in red and 12 files in blue. Now I want to select 12 files from red in the plot and rename t...

2 years ago | 1 answer | 0

Question

resample matrix by distance

I need to resample a matrix [x,y,z,rad,dist] by the distance. This is a non constant frequency. I want a frequency of 0,1 mm pe...

2 years ago | 1 answer | 0