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

plus de 6 ans il y a | 1 réponse | 1

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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

plus de 6 ans il y a | 0

| A accepté

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 6 ans il y a | 2

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
How to write cell array to excel file
Try this: writecell(X, 'X.xlsx')

plus de 6 ans il y a | 1

Réponse apportée
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 ...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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

plus de 6 ans il y a | 3 réponses | 0

3

réponses

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Charger plus