Question


How to plot the labels of contours
hello, I would to ask about contours plot in matlab. I am using thefollowing commands in order to plot contours. t=importd...

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

1

réponse

Question


How to delete the header of the 1st line of .txt
Hello, I would like to ask a question. I have multiple .txt files that I want to merge in vertical manner. the format of these ....

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

1

réponse

Question


How to merge cell arrays with different dimensions?
I have two cell arrays. The first one (A) has 1x14 cells, and the second (B) has 1x7 cells. I would like to create an array (or...

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


How to write a specific number via a loop
I have a code that 1)reads two files 2)calculates distances between points of file1 and point of file 2 3) writes an output ...

environ 3 ans il y a | 2 réponses | 0

2

réponses

Question


How to add legend in a map using geoscatter
I am using geoscatter in order to plot some values. I would like to plot the legend of this values, using a classifications (b...

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

0

réponse

Question


How to rise the resolution of a map in MATLAB using geoshow?
I would like to ask a question about resolution/quality of a map in MATLAB. I am using geoshow command but I observe tht my ...

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

1

réponse

Question


How to convert number format in yaxis?
I have a plot x-y. I would like to ask how to change the format of yaxis from arabic to roman number ? I tried to use the follow...

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

1

réponse

Question


Error in surfergrifmap function
I am trying to use surfergridmap function in order to make a map with contours in matlab (see here https://www.mathworks.com/mat...

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

1

réponse

Question


How to set specific colors in margin of errorbars line?
I use errorbar funtion in order to put errorbars in a plot. I would like to set a different color to the margin of the line. I...

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

1

réponse

Question


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...

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

1

réponse

Question


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 ...

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

3

réponses

Question


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, ...

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

1

réponse

Question


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 ...

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

1

réponse

Question


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...

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

3

réponses

Question


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 ...

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

2

réponses

Question


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...

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

1

réponse

Question


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

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

1

réponse

Question


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...

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

0

réponse

Question


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...

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

1

réponse

Question


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...

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

2

réponses

Question


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...

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

0

réponse

Question


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...

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

2

réponses

Question


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...

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

2

réponses

Question


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...

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

2

réponses

Question


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...

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

1

réponse

Question


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...

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

1

réponse

Question


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...

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

0

réponse

Question


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...

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

1

réponse

Réponse apportée
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...

plus de 3 ans il y a | 0

| A accepté

Question


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 ...

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

2

réponses

Charger plus