Community Profile

photo

sam moor


36 total contributions since 2016

matlab coder

sam moor's Badges

  • Thankful Level 2
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Question


How to locate and record the folder number that exceeds user defined value in a directory?
I have multiple folders in increasing order of last 4 digits in the directory as r1_0.05, r1_0.10, r1_0.15, r1_0.20...... In ea...

1 year ago | 1 answer | 0

1

answer

Question


How to save each iteration in cell array?
I am using for loop for each folders to save the value in each iteration. But, the problem is: it overrides the value and save o...

2 years ago | 1 answer | 0

1

answer

Answered
How to save data of each folders in cell array?
here is my code

2 years ago | 0

Answered
How to save data of each folders in cell array?
I did that..but when it goes for another folder. the data store is replaced for 2nd folder

2 years ago | 0

Question


How to save data of each folders in cell array?
I have four folders r1, r2, r3 and r4. I used for loop for each folders and read files and store data using if statement inside ...

2 years ago | 2 answers | 0

2

answers

Question


How to repeat the same number after certain interval in if statement?
I have a if statement in which certain value (e.g. nf) runs from 1 to 7 and from 8 to 16. I have some data to store for nf from ...

2 years ago | 1 answer | 0

1

answer

Question


How to apply for loop for specific files of each subfolder and record maximum value in matrix form?
I have folder name "m2ftaci_wns_BFGS".The folder have multiple subfolders,m2ftaci_wns_BFGS_0.05, m2ftaci_wns_BFGS_0.10 etc. I...

2 years ago | 1 answer | 0

1

answer

Question


How to get selected folders from multiple folders in a directory?
I have multiple folders named as run_0.05, run_0.10, run_0.15..........run_2.50 etc. I would like to select particular 4 folders...

2 years ago | 2 answers | 0

2

answers

Question


Problem getting error while trying to save .mat file in every folder
I have 44 folders and I have a matlab script which runs for loop for every folder and save .mat file. But when I save .mat file ...

3 years ago | 1 answer | 0

1

answer

Question


How to convert cell to matrix?
I have 13x1 cell. 1 to 7 rows are empty. I want to convert cell to matrix for rows 8 to 13 with different name for each cell{8,1...

3 years ago | 0 answers | 0

0

answers

Question


Getting error while loading .mat file from many directory
I have main directory named'data' and sub directories (r1,r2,r3...). In each sub directory, I have several folders(r1_0.05,r1_0....

3 years ago | 1 answer | 0

1

answer

Question


How to find out certain number in MxN matrix?
I have a matrix as shown below in the figure. I want to find out the number greater than 0.7 going from left column to right exc...

3 years ago | 1 answer | 0

1

answer

Question


How do we find value greater than certain number in a array?
I have 2 dimensional array as shown in the figure below. I want to search the number from left to right that is greater than 0.1...

3 years ago | 1 answer | 0

1

answer

Answered
How to extract a certain value from 3-dimensional array?
Anyone have idea dealing with 3 dimensional array.

3 years ago | 0

Question


How to extract a certain value from 3-dimensional array?
I have 3-dimensional array named as bfrag.mat file. In bfrag.mat file I have 2x16x16 frag file and Int_m file associated with fr...

3 years ago | 1 answer | 0

1

answer

Question


How to load *.mat file from each directories in new script?
I have 15 directories and in each directories, I have minimum 8 sub-directories( varies in each directories). For each directory...

3 years ago | 2 answers | 0

2

answers

Question


How to hide folders in current directory?
I have a bunch of folders in current directory as shown in figure. I want to hide some of the folders so that when I run my matl...

3 years ago | 1 answer | 0

1

answer

Question


How do we automatically read current folder name in matlab script to read all data?
I have attached below a part of my matlab script. The script is to read current sub-folders directory. As shown in the picture b...

3 years ago | 2 answers | 0

2

answers

Question


How to count the given data range and calculate cumulative sum of given data and plot it?
I have excel data as attached below. I want to have sf(data.xls) range as 0-0.05,0.05-0.1, 0.1-0.15,0.15-0.2....and so on. Now, ...

3 years ago | 1 answer | 0

1

answer

Question


How to count the given data range and calculate cumulative sum of given data and plot it?
I have excel data as shown below. I want to have a range of sf like 0-0.05,0.05-0.1, 0.1-0.15,0.15-0.2....and so on. Now, 2nd co...

3 years ago | 0 answers | 0

0

answers

Question


Plotting seperate figure in for loop
I have matlab script which gives me a vector( name as PSa) of 3991x44. I do have another vector (name as PSa_avg) of 3991x1 (it'...

3 years ago | 1 answer | 0

1

answer

Question


How do I use two different matlab scripts to plot the figure using subplot?
I have two different matlab scripts that works on different directory which plots the different figures from each script. I don'...

3 years ago | 1 answer | 0

1

answer

Question


Calling multiple matlab scripts in to single script?
Let's say I have four matlab files named a.m, b.m, c.m and d.m. In every matlab file, there is figure to plot. I want to introdu...

4 years ago | 3 answers | 1

3

answers

Question


Cell to matrix conversion of different dimension
I have a 1x44 cell with different dimension. I want to change those cell in to single matrix so that I can do manipulation? I tr...

4 years ago | 1 answer | 0

1

answer

Question


How to store data in matrix form from a for loop extracting data from a several sub directories?
I have main directory and many sub-directories inside it. Every sub directories have data files that I want to extract. I have r...

4 years ago | 0 answers | 0

0

answers

Question


How to create a loop in a main directory for each sub folders and do function for each file in sub directory?
I have main directory named as 'Far Field Ground record sets'and 22 sub directory in it as shown below. In each sub directory I ...

4 years ago | 0 answers | 0

0

answers

Question


how to extract data from directory
I have main directory and 20 sub directories in main directory. In each sub directories there are 4 files. Now, I would like to ...

4 years ago | 2 answers | 0

2

answers

Question


Extracting data from the original data set
I have a data file named roof-disp.out attached below. 1st column data refers to time and all other columns refers the correspon...

4 years ago | 1 answer | 0

1

answer

Question


Extracting a particular data from the original data
I have a data file named rd.txt attached below. 1st column data refers to time and all other columns refers the corresponding di...

4 years ago | 2 answers | 0

2

answers

Question


Giving error while interpolating data or changing time step of data
I have a data attached as rd.txt file. In the file 1st column represent time data and all other columns are distance data. I wan...

4 years ago | 1 answer | 0

1

answer

Load more