Answered

Obtaining the Bonferroni 95% confidence interval between two variables

Hello, my friend, I learn this a few days ago. In order to gain Bonferroni p-value you should have STATS, you may not hear abo...

Obtaining the Bonferroni 95% confidence interval between two variables

Hello, my friend, I learn this a few days ago. In order to gain Bonferroni p-value you should have STATS, you may not hear abo...

mer än ett år ago | 1

| accepted

Question

How to considering another column in this code?

Dear all, I use this code to get an average of certain columns namely rrr24 row-by-row for all tables inside a cell: C1 = mean(...

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

Question

Set interval for colorbar

Dear all, I used colormap bone colorbar But I want to have a color bar like this (intervals splite colors like this): I...

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

Question

What is the variable names of c in Kruskal-Wallis test documentation?

Dear all, I read the documentation of Kruskal-Wallis test; somewhere in it is talking about c = multcompare(stats) In this p...

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

Question

Problem with applying a function (kstest) to cell arrays

Dear all, I want to have the result of kstest (Kolmogorov-Smirnov test) for all arrays in a cell. In fact, I have a 1x93 cell ...

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

Question

A question about checking the significant difference between data sets

Dear All, I have 3 columns of data (C1, C2, C3) which represents modeled precipitation values (360 rows) using three different ...

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

Question

Set lower than 0.1 values to zero in tables that stored in a cell

Dear all, In a 1x3 cell containing three (28x6) tables; inside tables how I can set each value that lower than 0.1 to zero in a...

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

Answered

How to reshape matrix in this way?

Hello, Try this: Answer = reshape(M.',2,[]).';

How to reshape matrix in this way?

Hello, Try this: Answer = reshape(M.',2,[]).';

mer än ett år ago | 0

Question

Multiply values by the number of days in each month

Dear all, I have a 41x35x360 array namely C. So the C has 360 pages; while 360 represents months from 1-1-1989 (to 12-31-2018 w...

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

Question

How to add value to tables (inside a cell) from the other array?

Dear all I have an array 1x4 (namely point) and a cell 1x4 (namely C). In the C I have 6x1 tables. I want to respectively copy ...

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

Answered

How do I plot this?

Try this plot (a, 'color', 'blue') hold on plot(b,'color', 'red') hold on plot (c,'color', 'yellow') hold off If you want...

How do I plot this?

Try this plot (a, 'color', 'blue') hold on plot(b,'color', 'red') hold on plot (c,'color', 'yellow') hold off If you want...

mer än ett år ago | 0

| accepted

Answered

change y values in figure to names

Hello In your question you said y but it seems you mean x; anyways, Try this: names = {'January'; 'February'; 'March'; 'Apri...

change y values in figure to names

Hello In your question you said y but it seems you mean x; anyways, Try this: names = {'January'; 'February'; 'March'; 'Apri...

mer än ett år ago | 0

Question

Is it possible to bring "grid on" to the front of a figure?

Dear all, Normally when I use the grid on it appears behind my figure, but I need to bring it on my figure. Is it possible? I s...

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

Question

Is it possible to create this colormap and corresponding colorbar in Matlab?

Hello, I want to use something like this colorbar on my figure: Which you can see every 25 by 25 the color has changed. Now ...

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

Question

How to create a custom colormap in this case?

I want to know how I can change the color map and corresponding color bar to showing from light blue(#add8e6) to dark blue (#000...

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

Question

I need correct syntax of interpolation in this case

Hello, I have a 40x32x360 double array. (latitude x longitude x time) which presents precipitation for these latitudes and longi...

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

Question

How to plot pixels on the figure when I have coordinates of the center of each pixel

Hello, I have the coordinates of the center of 93 0.5x0.5 pixels. I want to plot them like this picture: Here is my data w...

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

Question

Cross-validation the output of "scatteredInterpolant" in order to choose best method (linear, nearest, and natural)

Dear all, I had the value of precipitation in 93 scattered coordinate stations; I used "scatteredInterpolant" to interpolate t...

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

Question

How to calculate the mean of a certain column of tables inside a cell

Dear all, I have a 1x3 cell, with tables as it's arrays. I want to have a mean of first column of each table. So the output I n...

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

Question

How to add tick just for the left axis

Dear all, Here is my plot: I turned off the thicklength in this plot using this code: set(gca,'TickLength',[0 0]) Now I wa...

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

Question

How to remove small indicator lines in the x and y-axis of a plot?

Dear all, Here is my plot: As you can see in every label there is an annoying small line (which I highlighted them using lig...

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

Question

Is it possible to have a custom color bar?

Is it possible to have a custom color bar? Dear all, I have a pre-plotted figure, Is it possible to add a color bar from -25 to...

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

Question

How to rotate the annotation text box?

I want to rotate my annotation text box so I used both of this codes: annotation(gcf,'textbox',... [0.365880952380952 0.21...

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

Question

Fill inside a polygon with a color

Dear all, I want to fill a polygon that I readed from shapefile with blue in order to visualzing it as lake. I searched alot an...

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

Question

Problem with plotting two x-Axes and y-Axes

Dear all, Here is my plot: I want to convert it to something like this picture below that I found on google: Here is my c...

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

Question

Calculating percent of data in table

I have a 1x12 table, Is there any quick way or function to find percentage for each column based on total? for example: data =...

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

Question

Grid data interpolation to find value in scattered points

Hello Everyone I have a grid data set (0.5 x 0.5 latitude x longitude) which each grid represents the average value for that gr...

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

Question

A question about scatteredInterpolant function

Hello everyone, I have a question about interpolating function scatteredInterpolant . Assuming I have some scattered points; t...

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

Question

save workspace BUT with another name!

Hey all, I can save all variables in my workspace using this: save workspace After that, it saved by the named workspace.mat....

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

Question

How to quickly index the first cell of sets of the array with near similar names?

Hey all, Here is my workspace: I want to know if there is any way to index the first cell of each P_ arrays based on (Jan, Fe...

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