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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

bijna 3 jaar ago | 1 answer | 0

1

answer

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

bijna 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 0 answers | 0

0

answers

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 3 answers | 0

3

answers

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 3 answers | 0

3

answers

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

meer dan 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 0 answers | 0

0

answers

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 0 answers | 1

0

answers

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

meer dan 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 2 answers | 0

2

answers

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

bijna 4 jaar ago | 0 answers | 0

0

answers

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

bijna 4 jaar ago | 1 answer | 0

1

answer

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

bijna 4 jaar ago | 0

| accepted

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

bijna 4 jaar ago | 2 answers | 0

2

answers

Load more