Community Profile

photo

Kostas


Aristotle University of Thessaloniki

Last seen: 1 year ago Active since 2011

Statistics

All
  • 6 Month Streak
  • Thankful Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
how to make a heatmap for a monthly time serie?
Based on the heatmap documentation tbl = readtable('heatmap.test.xlsx'); months = categorical(tbl.Var2); years = categorical(...

2 years ago | 1

| accepted

Answered
plot graph and bar on same figure with 2 x-asis and 2 y-axis with different scales
You need to create a second axis to plot your line. See this example Try something like the following % Create the data x1...

3 years ago | 1

Question


How to preserve colors in histogram2
Hello all, i try to plot 5 datasets using histogram2 and hold on. I realize that the colors are not preserved (colors not showi...

3 years ago | 0 answers | 0

0

answers

Question


Calculate difference from a time series
Hello all, i would appreciate your help to solve the following issue (avoiding unnecessary loops if possible). I have a time s...

6 years ago | 2 answers | 0

2

answers

Answered
Select areas of plot
u can find the latitudes you want to plot and plot just them id1 = find(lat>=0&lat<=50); % make the plot plot(lat(id1...

7 years ago | 0

Answered
Extract data given coordinates from a map
I assume your data is a matrix of the form data(lat,lon,time) with dimension of the latitude, longitude and time. So you...

7 years ago | 0

Question


How to make a plot
Hello i need your help to make a plot like the attached one. i have my data in separated vectors, i.e. x y and z <</ma...

7 years ago | 2 answers | 0

2

answers

Question


Error in script Subscript indices must either be real positive integers or logicals.
I am trying to calculate the mean, max and min values from an array under some condition and at some specific case i get a very ...

7 years ago | 2 answers | 1

2

answers

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

9 years ago

Answered
Add world map background to contour plot
If you had the Map toolbox, that would be quite easy to make it. Now i would suggest you to google for the M_Map: A mapping pack...

9 years ago | 0

Question


Plot a contour map with statistical significance
Hello, i want to make a contour map and overlay the statistical significance (actually is a matrix of 0 and 1 with the same size...

9 years ago | 0 answers | 0

0

answers

Question


get numeric data from comma delimitted file
Hello i am reading a file and when i find some specific characters i want to get from that line some numbers. My problem is that...

9 years ago | 1 answer | 0

1

answer

Answered
Plot inside a for loop
well, it is like that because you don't create the x vector,it is just a value. You could try one of the both x=0:1:250; %c...

10 years ago | 0

| accepted

Answered
Correlation Coefficient, RMSE
Maybe you can find help in this topic http://www.mathworks.com/matlabcentral/fileexchange/22020-goodness-of-fit-modified

10 years ago | 0

Answered
Help with patch
Thanks for your answers, i have made the proposed alterations but i still get the same result, as can be seen in the following i...

10 years ago | 0

Question


Help with patch
Hello, i need your help to understand how patch works. I have made a 2D plot in matlab and i would like to add some patches to i...

10 years ago | 2 answers | 0

2

answers

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

10 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

10 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

10 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

10 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

10 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

10 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

10 years ago

Answered
Calculate mean monthly from daily values
maybe smt like this could work suppose you have a matrix called data(22281,5) months are stored in second column for i=...

10 years ago | 0

Answered
Plot multiple data sets in the same chart in which one set is plotted on another axes
Maybe this function from file exchange could help you http://www.mathworks.com/matlabcentral/fileexchange/1017-plotyyy

10 years ago | 0

Question


create a figure with box on and x-ytick off
Hello i would like to create a graph with box on but i 'd like to remove the x-ticks from upper x-axis and y-ticks from right y-...

10 years ago | 1 answer | 0

1

answer

Answered
percent residual
You could save your fitting values to workspace, using cftool choose analysis and there select the option evaluate fit at Xi (in...

10 years ago | 0

| accepted

Question


Help on code optimization
I have two matrices A (519840x5) and B (319966x5). Columns 2 to 4 for both contain "day of the year (format: 1-366) ", "hour (fo...

10 years ago | 2 answers | 0

2

answers

Answered
Change the name of array in each iteration
Thanks, it seems so simple i just change this part C = cell(11,1); for yy=2000:2010 ii=yy-1999; ..... C{ii}=[yr...

10 years ago | 0

Load more