Community Profile

photo

Clifford Shelton


ISCTE Lisbon

Active since 2012

Professional Interests: Complexity Science

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to create vectors from each column usin column names whn importing CSV format??
I normally import .xls files and i am easily able to manage data in a program I have written. However, now I need to import CSV...

11 years ago | 0 answers | 0

0

answers

Question


Looping over folders, skipping a folder if a file is present
I have code that executes a for loop through a folder and all of its subdirectories. My questions is how do I write the code in...

11 years ago | 2 answers | 0

2

answers

Question


Unable to do work through a loop of subdirectories
I'm having mucho problems trying to get this to work: I'm trying to do some work while looping through a group of sub-directori...

11 years ago | 3 answers | 0

3

answers

Question


Can't seem to loop through subdirectories and do work...
I'm attempting to loop through excel files that are contained in a bunch of folders that are all subdirectories of the c:\data f...

11 years ago | 1 answer | 0

1

answer

Question


M file in one location to loop over directories/sub directories in another location
I'm not sure how to get this syntax to do exactly what i want it to do. Help is most appreciated! I am trying to get my mfil...

11 years ago | 2 answers | 0

2

answers

Question


Loop over files within a directory and all its sub-directories
Happy Holidays to everyone! I have a folder: C:\data and I wish to loop over all the files that are within the sub-folder...

11 years ago | 2 answers | 0

2

answers

Question


Continue in a for loop if a file isn't present
I'm having a problem with the correct syntax to complete the task without receiving an error. Any help is most appreciated! ...

11 years ago | 1 answer | 0

1

answer

Question


What code can I write to "stretch" my regressions to visually fit together
I am having to do regressions of data regularly so I need help with the following: On a graph I have two lines: 1) the ran...

11 years ago | 1 answer | 1

1

answer

Question


Error importing files in a ForLoop
I keep running into an error when I try to run this code..but I am unsure why. I am trying to import files within a for loop ...

11 years ago | 1 answer | 0

1

answer

Question


How do I simplify importing .xls files within a for loop?
Thanks for any assistance in advance! I have the following problem: I have generated spreadsheets of data (.xls file for each ...

11 years ago | 1 answer | 0

1

answer

Question


plotyy with different data ranges to visually appear equal.
Ok. When making a line plotyy graph, the two y-axis have data with different ranges. For example y(1) has a range fr...

11 years ago | 2 answers | 0

2

answers

Question


Populate an array randomly with some constraints
This has had me stumped all day. Any help is appreciated. I'm trying to do the following with an array: 1.) randomly popula...

11 years ago | 1 answer | 0

1

answer

Question


Adding a constraint to my if else if statement.
So the follwoing for loop will generate 8133 random values for 'astrosRuns' between the possible range of (0:16). The random val...

11 years ago | 2 answers | 0

2

answers

Question


If else If statment embedded in a for loop with a constraint?
It's not easy being a beginner! Ok..I'm trying to add some bias to the following random walk in values. Here's the example c...

11 years ago | 1 answer | 0

1

answer

Question


Using histogram to find the frequency of combinations within the data set
I am new to Matlab and just started getting into generating histograms. I understand how to create a histogram that determine...

11 years ago | 1 answer | 0

1

answer

Question


Using strings in regular code.
Simple question. I've looked around the documentation and can't seem to find this. How do I use a string and pass it into cod...

11 years ago | 1 answer | 0

1

answer

Question


Putting Three different functions into one program
I have written three different functions, each with different m.file names. Each of the functions have prompted inputs in the c...

11 years ago | 2 answers | 0

2

answers

Question


Specifying range of data from a plot??
This is my plot: x=1:5; y=rand(size(x)); lh=line(x,y); xp=get(lh,'xdata'); yp=get(lh,'ydata'); ...

12 years ago | 1 answer | 0

1

answer

Question


Extending a sine regression to forecast
I would like to know the best way to extend my newly constructed sine wave fit to my data into the future another 20 days. ...

12 years ago | 2 answers | 0

2

answers

Answered
Combine or Superpose 151 Sine Waves?
Thanks a bunch. Both of the suggestions work. But now it seems that the single sin wave created is extremely thin. My data se...

12 years ago | 0

Question


Combine or Superpose 151 Sine Waves?
Using the below code and I have been able to successfully created 151 different sine waves all fit to my data set. y = ...

12 years ago | 2 answers | 0

2

answers

Answered
Sine Wave Regression Increment Plot from a non-scalar structure?
Ok...i think i figured out how to plot them. It doesn't need to be automated...I was able to pull all the data from the structu...

12 years ago | 0

| accepted

Question


Sine Wave Regression Increment Plot from a non-scalar structure?
With help I was able to create a non-scalar structure in order to automate the multiple calculations for a regression of sinwave...

12 years ago | 1 answer | 0

1

answer

Question


Need to Automate multiple sinwave regressions of a dataset
I have a data set of 501 days with a sample rate of 1 day. After doing a spectral analysis of the data I want to generate a sin...

12 years ago | 1 answer | 0

1

answer

Question


Sin Cos calculation for a regression
My aim is to best fit sin waves to a dataset. I am using a data set with 501 days of data with a sample rate of 1 day. A...

12 years ago | 1 answer | 0

1

answer

Question


Regression Fit a SinWave to a dataset?
Ok..I'm almost there. Yesterday I received some help but still have questions (I'm an ultra beginner). I love baseball and h...

12 years ago | 3 answers | 0

3

answers

Question


How do I Regression Fit a SinWave to a dataset?
I have a dataset and I want to best fit a sinewave to the plotted data set. This process I think is called a regression...but a...

12 years ago | 2 answers | 0

2

answers

Question


How to do a Bartel's Test
If anyone could please help me with how to do a specific statistical measure, called the Bartel's Test or Bartel's Statistic. I...

12 years ago | 0 answers | 1

0

answers

Answered
plot textdata on the x axis and number data on the y axis
Thanks for all the help! I'm still having trouble with it..but I'll get there sure 'nuff!

12 years ago | 0

Question


plot textdata on the x axis and number data on the y axis
I am a ultra beginner at Matlab..so I'm constantly frustrated with problems. I have a time series data set that I imported from...

12 years ago | 5 answers | 0

5

answers