Question


What is the true syntax for export_fig in order to save in a specific folder?
I read almost everywhere of 3rd party Matlab function namely export_fig (downloaded from FEX) documentation But, I don't know ho...

4 years ago | 1 answer | 1

1

answer

Question


Save OR open figure with transparent background
Hello, I need to save my pie charts without white background behind it (transparent), I was searched dozens of webpages and tr...

4 years ago | 1 answer | 0

1

answer

Answered
How to reset the default layout for text editor? How to display the editor above the command window?
Hi click on this, <</matlabcentral/answers/uploaded_files/283864/matlab.jpg>> Then choose docked

4 years ago | 0

| accepted

Question


Plot multiple separate figures
Dear all, I have a table with two rows, I have a code to plot a pie chart for a first row, Now for each row I want to have a s...

4 years ago | 1 answer | 0

1

answer

Question


Is it possible to summarize this code?
Hey all, Is it possible to summarize this code below? This code creates a pie chart with 5 equal parts, then checks for city n...

4 years ago | 2 answers | 0

2

answers

Question


How to make this pie chart?
Hey all, I want to know is possible to have a pie chart with 5 pies so that I can change the color of each pie that I want? Just...

4 years ago | 2 answers | 0

2

answers

Question


Extract first row from cell arrays
Hey all, I have a 1 x 3 cell, which contains tables. In each table there are a lat and lon columns, I want to extract the first ...

4 years ago | 1 answer | 0

1

answer

Question


Index nearest vlaue to zero between some negative and posetive values in one row
Hello, I have a table, I want to index the nearest value to the zero in each row; I have some data like -0.009, 0.0025 ( I mean ...

4 years ago | 1 answer | 0

1

answer

Question


Comparing rows of a table
Hey all, I have a table, this table represents the value of creation coefficient (CC) and RMSE for 3 of my models. Now in each ...

4 years ago | 1 answer | 0

1

answer

Answered
Ignore NaN and -9999 values
Hi, It should be something like this, I learned it yesterday. I assume T is the name of your table: T_new = standardizeMissing...

4 years ago | 2

Answered
How to load a table from .csv and skip lines?
Hi, try this filename = 'student_mat.csv' % open file (make sure it exist in the current folder) T = readtable(f...

4 years ago | 1

| accepted

Question


How to filter tables in the cell?
Hey all, I have a 1x2 cell array (C), containing tables. In each table, I have a column named season. rows in the season column ...

4 years ago | 2 answers | 0

2

answers

Answered
How to write cell array to excel file
Try this: writecell(X, 'X.xlsx')

4 years ago | 1

Answered
help with creating a function
Try this function F = myfun(x,y) %UNTITLED Summary of this function goes here % Detailed explanation goes here if x<y ...

4 years ago | 0

Answered
How can I read and extract Fill Value from netcdf file
Try this: I assume that the name of your NetCDF is filename vinfo = ncinfo(filename) % You can see the struct now Fill_v = vi...

4 years ago | 0

Answered
converting a table of numeric data into a double array?
I believe it's mean that you have non-numeric data in your table. Try this: If T is your table, use cell2mat after table2array...

4 years ago | 1

| accepted

Question


Comapre arrays of two cells and keep similar arrays
Hi I have 2 cells, A and B; each one containing tables. In the tables, there are a "lat" and "lon" columns. Some "lat" and "lon...

4 years ago | 1 answer | 0

1

answer

Question


Plot value during months (stackedplot)
Hey all I want to stackedplot vlaues of models for each month of a year, I have 7 models. In the array that attached, I have 1...

4 years ago | 1 answer | 0

1

answer

Question


Display mean of data on a boxchart
I need to show the mean of each box plot on the figure. here is the code to generate my box plot: x = 1:numel(data); colors = ...

4 years ago | 1 answer | 0

1

answer

Question


How to have more than one box plot in one plot?
Hey all, I'm unable to plot more than one box plot in one figure. My data sets are seven n x 1 double (every double array of t...

4 years ago | 2 answers | 0

2

answers

Question


Whats wrong with this 45 degree line on the plot?
Hey all, I wanted to have a 45-degree line on my plot in order to have a background for comparing with the trend line of forecas...

4 years ago | 2 answers | 0

2

answers

Question


Problem with subplot size and annotation of each plot
Hey all, I read the documentation very carefully and make this subplot, however, you can see it is very messed up. I have annot...

4 years ago | 1 answer | 0

1

answer

Question


How to modify this code for calculation seasonal values for each year (not all years)
I have a 1x3 cell contains three 360x3 tables. For every table, I want to calculate the average of rrr24 for each season and wri...

4 years ago | 1 answer | 0

1

answer

Question


Sort and export data from 2 cells
Hey all, I have 2 cells (A and B). Each one contains three 1x2 tables. In each table, I have a month number column and precipi...

4 years ago | 1 answer | 0

1

answer

Question


Error in using rmoutliers()
Dear All, I was read rmoutliers documentation carefully and want to use it in order to remove outliers' values in a matrix (na...

4 years ago | 2 answers | 0

2

answers

Question


I want to add a 45-degree line on my plot. I tried some ways (including refline) all give me a 38-degree line!
Hey all I wanted to have a 45-degree reference line on my plot. I searched and found there is a function namely refline so I us...

4 years ago | 3 answers | 0

3

answers

Question


Why my for loop does not work correctly?
Hey all, I had this code below: for i = 1:numel(Class1_mon_avg_synop) %size of Class1_mon_avg_synop is 1 x 12 cell ave(i...

4 years ago | 1 answer | 0

1

answer

Question


How to use bar function?
Hey all, I have X= 6 and Y= 14. I want to have a plot like this: (x is blue and y is green) I tried so many ways, All unsucc...

4 years ago | 1 answer | 0

1

answer

Question


I want the points that located in a certain polygon
Hey, I have 92 points. Each point has latitude and longitude. On the other hand, I have a shape file consist of six different p...

4 years ago | 1 answer | 0

1

answer

Question


Please help me to correct my for-loop
Hey all, I have a 1x3 cell with three 360x3 table. Each table has a column date with 30 years of the monthly data (30x12 = 360)....

4 years ago | 1 answer | 0

1

answer

Load more