Pregunta


How to plot specific range of values in a plot?
I have a question. I would like to plot specific values of a set of values. I have for example 10 values, but I would like to pl...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Using find command to group data into bins
I have one ascii file with 2 columns (1st X and 2nd Y) . I want to group the elements of X into bins (e.g. [2-4,4-6, etc) and ...

más de 1 año hace | 3 respuestas | 0

3

respuestas

Pregunta


Splitapply command and merge results
In general I am using this command "splitapply" in order to find mean (average) of a group of data. edges=1:0.5:10 [N, edges, ...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


How to set specific colors in horizontal error bars?
I am using herrrobar function (https://www.mathworks.com/matlabcentral/fileexchange/3963-herrorbar?s_tid=FX_rc2_behav) I found ...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use if statement for than one variables?
I would like to set one if statement. I am using the following code: filename2= 'OutputFile1L.xlsx'; [d2,tex]= xlsread(fil...

más de 1 año hace | 3 respuestas | 0

3

respuestas

Pregunta


How to ignore lines in file via rmmissing?
Hello I have a question about a code. I have an xlsx file that icludes three columns. The 3rd column has numbers and some NAN ...

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


How to plot an equation qith specific data range?
Hello I have a question about a code. I would like to plot an equation in a plot. But I would like to plot a specific data rang...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Questions on "Ordinary kriging"
hello, I have some questions about a matlab function. I found the following function https://www.mathworks.com/matlabcentral/f...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


How to create variogram ?
I would like to create variogram of gridding of the data. I find these matlab function variogramfit.m https://www.mathworks.co...

más de 1 año hace | 0 respuestas | 0

0

respuestas

Pregunta


How to create contour maps in MATLAB?
Hello I have a question about a code I would like to create contour maps in matlab with kriging method. I use meshgrid and gri...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


How to run a matlab code for all folders in a directory?
I have one directory with many folders. Each folder contains a .txt file (eg, file1 contain number1.txt, file2 contain number2.t...

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to run a .m script for all folders in a directory?
Hello, I have a question about a code. I have a .m script. This script requires 2 inputs in a folder in order to run. But I wou...

casi 2 años hace | 0 respuestas | 1

0

respuestas

Pregunta


How to replace specific values to all values of a bin ?
I have a code that reads my data, and distribute them into bins: [0,2),[2,4),[4 6]. T=readtable('data.txt') X=T(:,1) Y=discre...

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to make multiple execution of a code by loop ?
Hello, I have a code that uses one equation in order to take an output file. I use for my calculations randn so in each running...

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Help with if statement in a calculation loop
Hello, I have a problem with a code. I want to calculate some numbers but I want to "limit" my results via a loop. I want valu...

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to calculate and plot trendline (fit curve) in matlab?
I have one question. I have a X-Y plot. I would like to set the fit curve of this two data (X, Y). But I would like this curve/t...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to make calculations between two specific files via loop?
Hello, I have a question about a code. I have in a directory some .xlsx files and some .txt files. I want to make calculations...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to remove specific .xlsx files from a directory?
I have in a directory multiple .xlsx files. Some files have 1 coulmn and 1 row (1x1) (see attached file1.xlsx) and some files h...

casi 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How could I match data from two files?
I have two .txt files. The first column of a FILE 1 contains some of the strings/ names that also exist in the first column of t...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to delete empty files/spreadsheets in a directory ?
After your suggestions I wrote finally this script that works clc clear % C = readcell('EMPTY.xlsx'); % isempty(C) emp...

casi 2 años hace | 0

| aceptada

Pregunta


How to delete empty files/spreadsheets in a directory ?
Hello, I have a directory with milions of .xlsx files. The point is that I want to remove empty files. Is there a way to do it ...

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to change LineWidth and MarkerSize in plot fit curve ?
I am using this code in order to plot my data. The problem is that I can not change the size and the linewidth of my plot. I u...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Problem with fscanf command in creating .txt file
I would like to create an output .txt file. This .txt file is a result of merging vertically multiple .txt files with the same ...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Respondida
Create multiple files via for loop
The code that works is clc clear %mean IMM filename= dir('*km.xlsx') for k = 1:numel(filename) thisfile = filename(...

casi 2 años hace | 0

| aceptada

Pregunta


Create multiple files via for loop
I have a question about a code. I use this script in order to read file and making calculations. Finally i export my data to an ...

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Put specific name in file via writematrix
I want to create an output file. I would like my file to contains also one specific string (character) in its name. My code is:...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error in splitapply command
I am using this command "splitapply" in order to find mean (average) of a group of data. edges=1:0.5:10 [N, edges, bin] = hist...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


X, Y plot with errorbars on the same figure ?
I would like to plot errorbars on a X,Y plot. Errorbars should be computed based on mean and standard deviation for X data (X da...

casi 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to calculate moving average for data
How could I calculate moving average for specified data , having specific overllaping (For example I have a set of data, and I w...

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Group data in bins
I have a file with data numbers. I would like to group them , let's say in "bins", by a specific step (eg minimum value is 0, ma...

casi 2 años hace | 4 respuestas | 0

4

respuestas

Cargar más