Community Profile

photo

pink flower


Last seen: plus de 2 ans il y a Actif depuis 2020

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Question


How to accumulate values ​​from time 1 to the last time
I have more than 10000 files and I want to accumulate the values of given variable between all these times and then plot it on a...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


How to put a shape on top of an image?
Hello. I want to join two images: a shape (created by mapshow) and an image (created by imasgesc). Is it possible to overlap on...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to merge data with latitude and longitude?
Hi. I have a data matrix and I need to open it in an image. However, I need to cross this data with the latitude and longitude a...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to identify outliers and remove?
Hello! I have a .txt file with a lot of data and I need to identify and remove outliers. I already tried the command rmoutli...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to make a color scale like this?
Hello. How can I make a color scale with several different colors? I would like a scale exactly like this, with 100 colors. Th...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


How to do boxplot for vectors with differents lenghts?
Hello everyone. I have 3 files with 1 vector each, and each vector has a different size. File 1 has a vector with 12646482 line...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Using while loop to analyze lines repeated
Hello, everybody. I have a doubt: How can I compare three of the 7 columns in a file? I have a data file with 7 columns. data ...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

Question


How to use if/else to skip repeated lines?
I have a file like this: 20140101 0000 69760 -5.965 -36.250 26.0 02000 20140101 0000 69761 -5.974 -36.250 23.5 02000 20140101...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to find a value in a file from the index of another array?
I have a data column with 7 columns. Based on column 1, 2 and 7 of the .txt file, I need to open my .dat file. Next, I need to f...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Removing rows duplicates based on some conditions
Hello. I already asked a very similar question here, but I didn't understand the commands well, so I decided to ask for help aga...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How can I to convert a cell to a double without losing the leading zeros?
I have a loop where I am trying to extract the numbers and convert them to double. However, when the numbers are "0000", the res...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


How to open files based on information from another file?
I have a .txt file with 7 columns and thousands of rows, as follows: 20140101 2240 140213 -5.543 -34.973 32.4 2000 20140101 22...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


Extracting numbers from mixed string
I need to extract the four-digit information that is before the period. With these commands that I have, only the zero digit com...

plus de 3 ans il y a | 3 réponses | 0

3

réponses

Question


Find the values from the index in another matrix
I have a .txt file (file 1) with row numbers and 5 columns with information for an entire month, where the first column is the i...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

Question


Error using cat: Dimensions of matrices being concatenated are not consistent.
Hello! I have this program that, at the end, I need to assemble a matrix with 5 columns: var1, var2, var3, var4 and hh. Howeve...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to combine multiple columns into array?
I have 5 columns and I would like to join them and form a matrix with n rows and 5 columns. How can I do this?

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to save matrix using fprintf in .txt file?
I have a loop that opens several files. Then, 5 variables are extracted from each file and I want to save them as a matrix using...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Remove rows duplicates based on a condition
I have an array with 717136 rows and 5 columns. I need to exclude the rows where the value of the first column is the same, but ...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


How to insert file name into an array?
I have a sequence of 62496 files. Each file name has information about height, year, month, day, hour and minute, for example, 1...

plus de 3 ans il y a | 1 réponse | 1

1

réponse

Question


How do I create an array of one column and several lines with only a few characters from the name of my files?
I have several files with this structure. At each loop, a file is opened and I would like to write the first 5 characters of the...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to merge multiple files into one?
Hi! I have 6 binary files and I would like to merge them into one to generate a single image of the variable that is inside thes...

plus de 3 ans il y a | 1 réponse | 0

0

réponse

Question


How can I find the column values ​​for a given row?
Hello. I have a txt file with 1000000 rows and 5 columns and I want to know the values ​​of the 400000 row. Can anyone give me a...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to delete the first line in txt file?
Hi! I saw that there are already some solutions here, but none of them worked for me. I would like to remove first line from the...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to replace zero with NaN in the last column?
Hi! I need to replace zero with NaN in the last column of my txt file. But only those with zero. Values ​​that are 0.39, for e...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


Merge two files with different information
I have two .txt files and I would like to combine the two and put them in one. My files looks like this: file1.txt 1998 1 1 ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to save the data with the day, month and year data information?
Hi. I have an .m file that opens binary data and extracts soil information from it and divides the values ​​found by 6. Then I s...

presque 4 ans il y a | 1 réponse | 0

0

réponse

Question


How to sum up numbers in time series from .txt file
I have a .txt file with time series matrix like this: 2014,01,29,14,04,0.200 2014,01,29,14,50,0.000 2014,01,29,15,50,0.000 ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


Sum of numbers from a text file
I have a text file with 288 rows. I want to add the values of 6 in 6 lines. For example: 1,00 1,00 1,00 0,89 1,00 1,00 1,...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to store some values ​​in a txt file from a loop?
file = dir ('*.dat') for i = 1: lenght(file); data = fopen(file(i).name); soil = fread(data,[1000 1000], 'float32')...

presque 4 ans il y a | 1 réponse | 0

0

réponse