Community Profile

photo

BN


Last seen: Today Active since 2019

Statistics

All
  • Knowledgeable Level 3
  • 6 Month Streak
  • Explorer
  • Solver
  • Knowledgeable Level 2
  • Thankful Level 5
  • First Review
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
How can i extract small matrix from a big matrix
Let A be your example matrix (10x10), and you want to extract the first 5 rows of its first column. It's pretty easy: A = rand(...

21 days ago | 1

| accepted

Question


Error using horzcat Dimensions of arrays being concatenated are not consistent.
Dear all, I want to read the variable “tref” for desired latitude and longitude (which I index them), 24th M, 4th L, and all S ...

21 days ago | 1 answer | 0

1

answer

Question


Problem using num2cell!
Hi, I wanted to split the contents of “A” into separate cells of “C”, where the third dimension of “A” including in each cell. A...

22 days ago | 1 answer | 0

1

answer

Question


How to replace the zero with NaN in the specific column of cell arrays?
Hello, I have a cell (1*5) with some 0 in the second and third columns in each cell array; I want to know how to replace all th...

23 days ago | 2 answers | 0

2

answers

Question


How to convert column to a cell's arrays?
Dear all, I want to know how I can convert columns of a 444*5 array (namely CF, attached to this question) to cell arrays; wher...

24 days ago | 1 answer | 0

1

answer

Question


Change date InputFormat across a cell
Dear all, How to change datetime format of this attached cell arrays from 1/1/1989 to 1989-1-1? Here is my try, but it does...

25 days ago | 2 answers | 0

2

answers

Question


Extracting only some cell arrays from a cell- based on a double array
Dear all, I have a 1*29 cell (C) containing tables. For example C{1,1} = 444*12 table. From this 1*29 cell, I want to keep onl...

4 months ago | 1 answer | 0

1

answer

Question


Change the markers color in the figure after plotting
Dear all, I used this function in Matlab FEX to draw a Taylor diagram. I really need to change the color of generated markers t...

12 months ago | 2 answers | 0

2

answers

Question


A question about adjustment the Histogram2 Properties
Hello all, Do you know how to: A: Delete the black line around each square of left side figure ( to be similar to the right sid...

12 months ago | 1 answer | 0

1

answer

Question


How to change x-axis in kruskalwallis auto-generated boxplots?
Dear all, I want to change the x-axis labels of the auto-generated Kruskal-Wallis test boxplot. so if this is the code clear;...

1 year ago | 1 answer | 0

1

answer

Question


How to plot this frequency graph?
Dear all, I have runoff and precipitation data (as I attached), how I can achieve such a plot? I tried this script: histog...

1 year ago | 1 answer | 0

1

answer

Question


How to plot this?
Dear all, I have a table containing the cumulative distribution of 3 variables (x, y, and m). Now I want to plot contours of "m...

1 year ago | 1 answer | 0

1

answer

Question


How to plot the difference between two plots (using shade)
Hello everyone, I have two plots like this: plot(OBS,'Color','#007aa5') hold on plot(Modeled,'Color','#ff55a3') xlabel('time...

1 year ago | 1 answer | 0

1

answer

Question


I need help with converting hourly data to daily summation inside a cell
Dear all, I have a cell that contains hourly data of precipitation for the period 1987-2016. I want to convert these hourly dat...

1 year ago | 1 answer | 0

1

answer

Question


How I can modify the decimal numbers in a table's column?
I have a table with different values like: 0.5, -0.300, -99, 5, 0, and so on. I want to use the output of this table in a hydrol...

1 year ago | 2 answers | 0

2

answers

Question


Error in dlmwrite (line 181)
Dear all I have 2 arrays namely A and B that I wish to aggregate into one array like this: 1/1/1978,0.00 1/2/1978,0.00 1/3/1...

1 year ago | 1 answer | 0

1

answer

Question


Merge columns and export to a text file
Dear all, I have array like that: AB = [ 15.5000 4.3000 13.9000 0.7000 12.2000 6.9000 11.5000 ...

1 year ago | 1 answer | 0

1

answer

Question


Count number of smaller than the threshold in the certain rows of cell arrays
Dear all, I have a 1 x 3 cell array, each 3 array includes 360x1 double. For each 1 to 360 rows stored in every 3 arrays, I wan...

2 years ago | 1 answer | 0

1

answer

Question


How to make this plot?
Dear all, I have a table namely DATA. I don't know how to have a plot like this in the below for it. Any advice is highly ap...

2 years ago | 1 answer | 1

1

answer

Question


Counting consecutive negative numbers in an array
Hello, I need to find how many times consecutive negative numbers are in the array. For example: v = [11 2 3 -1 -2 1 -1 -1 -3 1...

2 years ago | 1 answer | 0

1

answer

Question


How to shift the y-axis and force it to start at another number rather than 0?
Dear all, I have this: But I need to see what is the plot if the horizontal axes cross value is -3 like this (with same as ...

2 years ago | 1 answer | 0

1

answer

Question


How to plot this?
Dear all, I want to have something like this plot: GPCC, UDel, CRU, and APH are models, and MBE, MAE, and MD are correspondin...

2 years ago | 1 answer | 0

1

answer

Question


How to find the percentage of smaller than X in a specific column in all tables in a cell
Hello everyone I have a cell with four "360x5 tables" inside it. I want to understand the percentages of smaller than 0.5 in t...

2 years ago | 1 answer | 0

1

answer

Question


Save just part of the figure
Dear all, I generate my color bar using this code ax = axes; colormap (flipud(cool(10))) caxis([0 1]) c = colorbar(ax,'south...

2 years ago | 1 answer | 0

1

answer

Question


The plot draws at y = -20, is there any way to force it to plot like normal (y=0)?
Dear all, I don't know why my plot starts plotting at -20! Is there any way to plot it on the y=0? Thank you

2 years ago | 1 answer | 0

1

answer

Question


Select rows based on a string in a cell
Hello, I have a 1x19 cell. Each cell looks like this: I want to store the precip values of WIN in each array. So the output...

2 years ago | 1 answer | 0

1

answer

Question


How to plot confident interval of ecdf() as shade?
Hello all, I used ecdf() to plot my data, it calculates upper and lower band, but I don't know how to plot them like this: a...

2 years ago | 1 answer | 0

1

answer

Question


Huge white space around the plot after saving
Hi all, Unfortunately, after save my figure and paste it in the Microsoft office word I see there is a huge white space around ...

2 years ago | 1 answer | 0

1

answer

Question


Question about extracting rows from a table based on string
Hello everyone I wanted to store all winter ("Win") values of the rrr24 column in my data set in a new array So I tried to d...

2 years ago | 0 answers | 0

0

answers

Question


Select points inside a polygon
I have 96 points (longitude and latitude); each point is a center of 0.5 x 0.5 pixel (box), on the other hand, I have a polygon,...

2 years ago | 3 answers | 0

3

answers

Load more