Question

Transforming uniform variables to normal variables

Hello, How would you transform variables with uniform distribution [0,1] to variables with a normal normal distribution in M...

mer än 10 år ago | 3 answers | 0

Question

transforming the distribution of variables

Hello, Would anybody know if there is a function in matlab to transform a continuous random variable x to a uniform distribu...

mer än 10 år ago | 1 answer | 0

Question

Normalizing a histogram

Hello, I've plotted a histogram of some data. Here it is http://dl.dropbox.com/u/54057365/All/departure%20time.JPG How can...

mer än 10 år ago | 5 answers | 0

Question

Creating a histogram

Hi, Is the correct syntax to create a histogram of data X with 22 bins the following hist(X,22) When I type it noti...

mer än 10 år ago | 1 answer | 0

Question

plotting a cdf over a histogram

Hello, I've plotted a histogram of some data. Here it is <http://dl.dropbox.com/u/54057365/All/departure%20time.JPG> How ...

mer än 10 år ago | 1 answer | 0

Question

How to save 2 column vectors to an excel file

Hi, What is the correct syntax to save to vectors x and y to an excel file in columns A and B? Is it xlswrite(C:\Fold...

mer än 10 år ago | 1 answer | 0

Question

saving vectors to an excel file

Hello, I am importing data from excel files, performing a process and saving data to a .mat file. My question is, how co...

mer än 10 år ago | 1 answer | 0

Question

trying to create a new vector from 2 vectors.

Hello, I have a routine below that reads in an excel file. The vector y is created. It then computes r from a function and f...

mer än 10 år ago | 3 answers | 0

Question

basic code question

Hello, If I had two vectors x1 and x2. How could I make vector x3 with all the elements of x2 except the first 3 elements an...

mer än 10 år ago | 3 answers | 0

Question

basic code question

Hello, If I have a 2 vectors A and B, how would I save them as one vector in the workspace called C? For example C would be ...

mer än 10 år ago | 1 answer | 0

Question

writing a formula in matlab

Hello, I'm trying to write a function in matlab. I have an example: A gaussian kernel is % Gaussian kernel fun...

mer än 10 år ago | 1 answer | 0

Question

basic code question

Hello What does the '@' symbol do in this equation? Is the first (z) multiplied the e^(...)? thank you % Gaussi...

mer än 10 år ago | 2 answers | 0

Question

basic code question

Hello, Say I have a vector 'data' with 2 columns. What would be the code to set x = to the first column and y equal to t...

mer än 10 år ago | 1 answer | 0

Question

kernel smoothing matlab

Hello, Would anybody know how to smooth data with kernel smoothing regression. Here is an example http://dl.dropbox.com/u/...

mer än 10 år ago | 0 answers | 0

Question

Correct syntax for ksdensity() function

Hello, I'm trying to use the kernal smoothing density function http://www.mathworks.co.uk/help/toolbox/stats/ksdensity.h...

mer än 10 år ago | 1 answer | 0

Question

dir() function not working?

Hello, I'm trying to rename some files using the code below. It works if I list the file names at the beginning but there ar...

mer än 10 år ago | 1 answer | 0

Question

opening many files and changing code to match file name

Hello, I was hoping that somebody might be able to help me with a problem that I have. I have 1000 files in the current dire...

mer än 10 år ago | 2 answers | 0

Question

Renaming a lot of files

Hello, I've made a 1000 copies of a file in the current directory. For example RW.a_process Copy of RW.a_process ...

mer än 10 år ago | 3 answers | 0

Question

loop through files not working correctly.

Hello, I'm trying to convert .xls files in a folder into .mat files, but the code is not looping through the files correctly....

mer än 10 år ago | 1 answer | 0

Question

Preventing unwanted variables being saved in .mat file

Hi there, I am using the code below to create a .mat file. In the .mat file it is saving # fn # k # nrows # sch...

mer än 10 år ago | 1 answer | 0

Question

Determining the second last row

Hi there, How would you code the number of rows minus one? Below I use size() to find the number of rows, but I want to set ...

mer än 10 år ago | 2 answers | 0

Question

Seeking help to automate a simple process if possible

Hello, I'm using a software that is based on the Matlab environment. I have a simple problem that I was hoping somebody ...

mer än 10 år ago | 2 answers | 0

Question

Converting .mat files to .xls

Hello, I'm trying to load 1000 .mat files with file names cycle1.mat cycle 2.mat...cycle1000.mat and save them as excel file...

mer än 10 år ago | 0 answers | 0

Question

Can you use DIR to list files in subfolders ?

Hello, Would somebody be able to advise me on how to use DIR to find the dates that each file was last modified with a .mat ...

mer än 10 år ago | 7 answers | 1

Question

Help to rename files in order of date and time created

Hello, I am hoping that somebody could perhaps help me out with a problem that I have. I'm trying to change the name of file...

mer än 10 år ago | 1 answer | 0

Question

K-means clustering, is it possible to get vertical boundaries?

Hello, I have performed K-means clustering on some data and formed 3 clusters. Here is a graph <http://dl.dropbox.com/u/5...

nästan 11 år ago | 1 answer | 0

Question

Calculating a weighted average of multiple matrices

Hello, I was hoping that perhaps somebody could help me out with a problem that I have. It is a relatively simple operation (...

nästan 11 år ago | 1 answer | 0

Question

Converting a .mat file to .xls

Hi there, Is there anyway to convert a .mat file to an excel file in matlab? Thank you

nästan 11 år ago | 2 answers | 0

Question

creating a single structure with 100 entries

Hello, I was hoping that perhaps somebody could help me out with a problem that I have. I have imported 100 4x4 matrices...

nästan 11 år ago | 1 answer | 0

Question

help with a simple error

Hello there, I was hoping that somebody could perhaps help me out with a problem that I have. I'm only learning how to use ma...

nästan 11 år ago | 1 answer | 0