Community Profile

photo

Ivan Mich


Last seen: Today
122 total contributions since 2019

Ivan Mich's Badges

  • Thankful Level 4

View details...

Contributions in
View by

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

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

23 jours ago | 0 answers | 0

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

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

environ un mois 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...

environ un mois 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...

environ 2 mois 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...

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

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

2 mois ago | 2 answers | 0

2

answers

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

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

2 mois ago | 2 answers | 0

2

answers

Question


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

2 mois ago | 1 answer | 0

1

answer

Question


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

2 mois ago | 1 answer | 0

1

answer

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

2 mois ago | 0

| accepted

Question


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

2 mois ago | 2 answers | 0

2

answers

Question


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

3 mois ago | 1 answer | 0

1

answer

Question


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

3 mois ago | 1 answer | 0

1

answer

Question


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

3 mois ago | 0 answers | 0

0

answers

Question


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

3 mois ago | 1 answer | 0

1

answer

Question


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

3 mois ago | 4 answers | 0

4

answers

Question


How to solve readcell 1x1 missing ?
I am using readcell command in order to read a file. But some numbers/data in columns show 1x1 missing. How could I solve this p...

3 mois ago | 1 answer | 0

1

answer

Question


Find maximum value of each row in a double matrix
I have a matrix A double with columns and rows. All the data of A are numbers. I would like to find the maximum value of each ro...

3 mois ago | 1 answer | 0

1

answer

Question


Histfit : how to set minimum and maximum value for clusters?
Hello, I want to create a histogram. I want my histogram to start from a specific minimum value and to end to a specific maximu...

3 mois ago | 1 answer | 0

1

answer

Question


error in writematrix command (using loop)
I have a syntax problem with a code. I want to use writematrix command in order to get output files from my code. Previously in ...

3 mois ago | 0 answers | 0

0

answers

Question


Output with specific critiria in data ?
I am having a txt file with 4 columns. I would like to get a new file with spesific critiria, depending on the limits of values ...

3 mois ago | 1 answer | 0

1

answer

Question


How to plot only the available data?
I have two columns. The second column has not all its data completed, and as a result with the use of command readcell there is ...

3 mois ago | 1 answer | 0

1

answer

Question


How to keep only numbers in a cell (.xlsx file)?
I have an .xlsx file. In one column there are numbers and text in each cell (e.g. 0.562550 (AHV)). How could I keep ONLY the n...

3 mois ago | 2 answers | 0

2

answers

Question


Problem with cross correlation
Hello. I have a problem with a code. I have two kinds of data (lets call them a and b). These are cells, and in each cell I have...

3 mois ago | 1 answer | 0

1

answer

Question


Add specific numbers to a plot
I have a code that I am calculating some values. I would like to add this values to a spesific point in my plot (I mean I would ...

3 mois ago | 1 answer | 0

1

answer

Question


Convert an array of letters into numbers
I would like to convert an array of letters into numbers. Based on this code: Alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' number...

3 mois ago | 2 answers | 0

2

answers

Load more