提问


time series analysis - correlation
My task involves finding the correlation between different variables for example air temperature and water temperature. The corr...

12 years 前 | 2 个回答 | 0

2

个回答

提问


correlation coefficient between cells
I have a dataset stored in a similar manner to the follwing example: clear all Year = cell(1,4); Year{1} = {'Y2007','...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
The technique of using "xlsread"
The following link may be useful: <http://www.mathworks.com/matlabcentral/fileexchange/22365-function-for-faster-data-trans...

12 years 前 | 0

提问


find the largest array
Consider the following example: clear all data = {rand(1,5),rand(1,4),rand(1,4),rand(1,6)}; data1 = cellfun(@(x) cell...

12 years 前 | 2 个回答 | 0

2

个回答

提问


corrcoef - vectors of different lengths
How is it possible to find the correlation between vectors of different lengths? For example: clear all time1 = 1 + (36...

12 years 前 | 1 个回答 | 0

1

个回答

提问


plotting second y axis with pcolor command
Is it possible to prodce a pcolor plot with 2 yaxis? Consider the following example: clear all temp = 1 + (20-1).*ra...

12 years 前 | 1 个回答 | 0

1

个回答

提问


find similarities between cells
Consider the following example: clear all Year1a = {'Y2007','Y2008','Y2009','Y2010','Y2011'}; Year1b = {'Y2004','Y200...

12 years 前 | 1 个回答 | 0

1

个回答

提问


fprintf of cell array
I am trying to generate text files from the following example: clear all Year = {'2007','2008','2009'}; for i =...

12 years 前 | 1 个回答 | 0

1

个回答

提问


obtain information from saved figure
I have a figure saved as 'Temp.pdf'. I would like to obtain the data from this figure within a new session. Some information abo...

12 years 前 | 1 个回答 | 0

1

个回答

提问


problem with time series objects
Im using the following to plot a time series plot: x = cell(1,length(Year)); fh = figure; x = cell2mat(Data{1...

12 years 前 | 1 个回答 | 0

1

个回答

提问


plotting time series
Is it possible to use the timeseries command in a loop? I use the following code for producing a plot: x = cell2mat(d...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
Importing a text with header
by saying lines, do you mean row or column vectors? Either way, try to use dlmread first: M = dlmread(filename) so your...

12 years 前 | 0

已回答
area under the graph
Maybe use the area command: <http://www.mathworks.co.uk/help/techdoc/ref/area.html>

12 years 前 | 0

已回答
2D color plot with 3 vectors
you could use pcolor(x,y,z). If you need further instruction let me know.

12 years 前 | 1

已回答
Importing a text with header
Its hard to say with the example you provided but I think you should be looking at using textscan <http://www.mathworks.co.uk...

12 years 前 | 0

已回答
How to label X axis in the form of characters?
set(gca,'XTickLabel',{'data point 1','data point 2'}); where data point 1 and data point 2 will become the name of that par...

12 years 前 | 0

| 已接受

已回答
Load Command on How to Skip Rows
You could use dlmread <http://www.mathworks.co.uk/help/techdoc/ref/dlmread.html> This will then load the data into matlab wi...

12 years 前 | 0

| 已接受

提问


xtick string with plot yy
From the following example how would I show the time denoted by 'out' along the xaxis: clear all time = (0:23)'; n = ...

12 years 前 | 3 个回答 | 0

3

个回答

已回答
Plot coloured points using plot function istead of scatter
you could do something like: clear all load seamount % example dataset Colors = hsv(length(x));%length of your data ...

12 years 前 | 1

已回答
Copy figure - bad quality
try saving the figure from matlab as a .jpg file by typing ff =(C:\My Documents); fnout = [ff, '\FigureName'...

12 years 前 | 0

提问


using datenum over several years
Say if I want to find the decimal day of year I would use: clear all StartDate = '2011-01-01 00:00'; EndDate = '2011-...

12 years 前 | 1 个回答 | 0

1

个回答

提问


labelling figures
Say that I have 3 subplots and I want to label the first subplot as (a) the second as (b) and the third as (c). I want the label...

12 years 前 | 1 个回答 | 0

1

个回答

提问


altering a 2d plot for a time series
This is a rather basic question but here we go. I'm plotting a time series of data, and was wondering if instead of having dates...

12 years 前 | 2 个回答 | 0

2

个回答

已回答
Using scripts from File Exchange
Yes, You need to save the file in your matlab directory. So, save the file in a folder somewhere such as my documents\matlab\fil...

12 years 前 | 2

| 已接受

提问


Correlation values of various time periods
The code below is a simplification to a problem that I am working through: clear all Data.L1 = 1 + (20-1)*rand(8760,1); ...

12 years 前 | 1 个回答 | 0

1

个回答

提问


convert a vetor of hours into time
I have a vector which shows hours of the day, it starts at 0 which corresponds to 00:00 and finishes at 23 which corresponds to ...

12 years 前 | 1 个回答 | 0

1

个回答

提问


2d line plot overlay boxplot
Is there a way of plotting a 2d line plot over a boxplot? the hold on command doesn't seem to apply for boxplots. If so, how wou...

12 years 前 | 1 个回答 | 0

1

个回答

提问


faster way of using fprintf
If I have a large cell array say 10x26 where the first two columns are strings and the remaining columns are all numbers. Instea...

12 years 前 | 1 个回答 | 0

1

个回答

提问


boxplot of correlation values from a cell array
Before describing my question I provided the following code, which help me in describing what I'm trying to do: clear all ...

12 years 前 | 1 个回答 | 1

1

个回答

提问


updating newer matlab version with toolbox from old
I have 2 versions of matlab, one which is R2011a on my laptop which contains several toolboxes, and R2011b on my pc which contai...

12 years 前 | 1 个回答 | 0

1

个回答

加载更多