Pregunta


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

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 1

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 0

| aceptada

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

alrededor de 12 años hace | 0

| aceptada

Pregunta


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

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

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

alrededor de 12 años hace | 1

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 12 años hace | 1

| aceptada

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 1

1

respuesta

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Cargar más