Question

How to extract certain files according to numbers in the filename?

Hello, So i have files with names as shown below: bar_3pressure.xlsx bar_3temp.xlsx bar_4pressure.xlsx bar_4temp.xlsx this...

2 meses ago | 1 answer | 0

Question

Uitable column name with symbols and subscripts

Hello, I want to write the column name in my uitable as <reff,f> where eff,f are subscripts. I tried using html but for some ...

5 meses ago | 1 answer | 0

Question

I have a problem aligning text in uitable due to the data type.

Hi all, I have a uitable in my figure and can`t seem to adjust the alignment of the text. Apparently, from the documenation (h...

5 meses ago | 0 answers | 0

Question

opening 5D netcdf array

Hello all, So i have this netcdf file that is a 5D array (longitude,latitude,level, bin, time). I was using ncread to open t...

9 meses ago | 0 answers | 0

Question

How can i place saved figures into a new figure as subplots?

Hello, I am trying to place my plotted figures (saved as .fig) as subplots in one figure. The problem i face is that they axis...

alrededor de 1 año ago | 1 answer | 0

Question

How to save figures while specifying the saving location, extension and resolution?

Hello, below is the saving section of my code which works fine. However i would like to get figures saved with a higher resol...

alrededor de 1 año ago | 1 answer | 0

Question

stacked histogram and xaxis issues

Hello, I`m plotting histograms and would like stack 2 data sets instead of having them overlap. The problem is i didn`t find an...

más de 1 año ago | 1 answer | 0

Question

How to replace xtick labels on histogram plots properly?

Hello, So i am plotting a histogram of log values and i want the xaxis to show the corresponding linear values. edge_tl are ...

más de 1 año ago | 0 answers | 0

Question

adding table next to plot

Hello, I would like to add a table next to my plot. Similar to a legend. The best solution was as if im adding text, but i co...

más de 1 año ago | 0 answers | 0

Question

converting num to date on the xaxis in Matlab R2016a

Hello all! I am plotting a line plot with date on the x axis. The date is in numeric form eg 733590 and i want to convert it t...

más de 1 año ago | 2 answers | 0

Question

how to set figure handles in a for loop?

Hello! I have a for loop that uses two different tables to simultaneously create two figures (multiple curves are plotted on ea...

casi 2 años ago | 0 answers | 0

Question

Getting error when asking from max and min for negative values.

I have two vector of negative numbers (log values). The first is fine as it has a postive max value and a negative min. But i...

casi 2 años ago | 2 answers | 0

Question

Getting -Inf when applying the mean to log values

Hello all,I have a very large set of numbers. I got the log and then used the following line to get the monthly mean Fine_avg ...

casi 2 años ago | 1 answer | 0

Question

loop for counting numbers within specified ranges

Hello, I am trying to create a histogram. I have a vector 2671 values and i want to count the number of values that occur withi...

casi 2 años ago | 1 answer | 0

Question

performing a function to a column in a table

Hello, I have a table where GroupingVariables is month. It has 3 columns, the month, the groupcount, and the mean. I would lik...

casi 2 años ago | 0 answers | 0

Question

Index exceeds matrix dimensions.

Hello! The code below shows two sections for deleting rows according to two conditions. They are exactly the same but for some ...

casi 2 años ago | 0 answers | 0

Question

Why does an empty duplicate figure box appear?

Below is part of a code that i am using to plot some scatter plots. The problem is that for every loop i am getting two plots. ...

alrededor de 2 años ago | 1 answer | 0

Answered

How can i plot (annual plots) data according to the years (which are listed in the first column)?

For those who would like to know the answer...i did a conditional loop. There was some problems with the last lines for each ye...

How can i plot (annual plots) data according to the years (which are listed in the first column)?

For those who would like to know the answer...i did a conditional loop. There was some problems with the last lines for each ye...

alrededor de 2 años ago | 0

Question

How can i plot (annual plots) data according to the years (which are listed in the first column)?

Hello, I have a table where the first column shows the years. I would like to plot the values for each year. example: year...

alrededor de 2 años ago | 2 answers | 0

Answered

Why does length sometimes read the number of columns instead of the number of rows?

thanks all!

Why does length sometimes read the number of columns instead of the number of rows?

thanks all!

alrededor de 2 años ago | 0

Question

Why does length sometimes read the number of columns instead of the number of rows?

Hello, I`m looping over the length of a table (converted to array to be 'double'). However, sometimes the length reads the row...

alrededor de 2 años ago | 3 answers | 0