Community Profile

photo

sam moor


Last seen: 3 years ago Active since 2016

matlab coder

Statistics

All
  • Thankful Level 3
  • First Answer
  • Scavenger Finisher
  • Solver

View badges

Content Feed

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

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

5 years ago | 1 answer | 0

1

answer

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

5 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 years ago | 1 answer | 0

1

answer

Load more