BN

Last seen: Today Active since 2019

Followers: 0   Following: 0

All

Feeds

View by

Question

"Try the New Desktop" icon persists even after uninstalling the add-on (New Desktop for MATLAB (Beta))
I recently installed the New Desktop for MATLAB from MATLAB FEX (by reading this article of Matlab Blog) to enable dark mode. Ho...

12 dagar ago | 1 answer | 0

1

Question

Problem with Anderson-darling test
Hello everyone, I used a MATLAB FEX function namely AnDarksamtest, but after running the simple example as follows: clear; c...

1

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

mer än ett år 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 ...

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 2 answers | 0

2

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

mer än ett år ago | 1 answer | 0

1

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

mer än ett år ago | 2 answers | 0

2

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

nästan 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 2 answers | 0

2

Question

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

mer än 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 1 answer | 0

1

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

mer än 2 år ago | 1 answer | 0

1

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

nästan 3 år ago | 1 answer | 0

1

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

nästan 3 år ago | 2 answers | 0

2

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

mer än 3 år ago | 1 answer | 0

1

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

mer än 3 år ago | 1 answer | 0

1

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

mer än 3 år ago | 1 answer | 0

1

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

mer än 3 år ago | 1 answer | 1

1

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

mer än 3 år ago | 1 answer | 0

1

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

mer än 3 år ago | 1 answer | 0

1

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

mer än 3 år ago | 1 answer | 0

1

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

mer än 3 år ago | 1 answer | 0

1

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

nästan 4 år ago | 1 answer | 0

1

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

nästan 4 år ago | 1 answer | 0

1

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

nästan 4 år ago | 1 answer | 0

1

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

nästan 4 år ago | 1 answer | 0