Question

How to change the boxplot color manually

I have a boxplot figure that was saved in my folder but I'm not really sure where the data is. Is there away to change the color...

plus d'un an ago | 0 answers | 0

Question

Does PCA funciton normalize the data while it generates the biplot?

Dear all, I have 16 variables and I would like to use PCA to understand how they are correlated among each other’s. The first 8...

plus d'un an ago | 0 answers | 0

Question

My gamultiobj is not working but it works for the ga?

I have a function that its single objective was optimized by using ga optimizer in MATLAB. Everything is working. Now, I would l...

plus d'un an ago | 0 answers | 0

Question

Find the max value and index of each interval in a big matrix

I'm looking for a way to split my data into group then find the maximum and index of each group. So, I have this code which give...

plus d'un an ago | 1 answer | 0

Question

How to find the index of splitapply

I have this code where I split the data into intervals and I look to find the maximum value for each interval as below. I need t...

plus d'un an ago | 1 answer | 0

Question

Find the highest value of y for each x value

Can anyone please help me with this quesiton. I have a big matrix where I’m only interested to plot the highest value of y for ...

plus d'un an ago | 1 answer | 0

Question

How to plot A Curve That Connects The Highest Values in Y-Axis

Can anyone please help me to create the curve as below. I'm looking for away to plot the highest point at y-axix for all x-axis....

plus d'un an ago | 1 answer | 0

Question

Find the maximum value in each group of a big matrix

I have a big matrix and I'm looking for an easy way to group them by a certain way then find the maximum in each group. I have c...

plus d'un an ago | 1 answer | 0

Question

Coloring The Dots in biPlot Chart

I have created biplot as below and I'm looking for a way to distinguish the dots by different colors according to their group na...

plus d'un an ago | 1 answer | 0

Question

How to related PCA output to the original data?

Hello, I'm new to PCA and I would like to learn the outcome of pca function. I have read the document and checked others works...

plus d'un an ago | 0 answers | 0

Answered

How to apply PCA correctly?

Dear the cyclist, thanks for showing this example. I have a question regarding to the order of the COEFF since they are differen...

How to apply PCA correctly?

Dear the cyclist, thanks for showing this example. I have a question regarding to the order of the COEFF since they are differen...

plus d'un an ago | 1

Question

Ylim is not working

I have tried to inlcude a common and fixed Y-axis and X-axis for all the figures but it is working. Can you please help. figur...

plus d'un an ago | 1 answer | 0

Question

Indexing with conditions for certain columns

I have a huge matrix where I want to find the indexes that meet each column median only and the rest of the column median should...

plus d'un an ago | 1 answer | 0

Question

Grouping A Scatter Plot

I have a big matrix (17400X18) as attached where I created their scatters by plotting column (17) vs column (18) as in Figure 1 ...

plus d'un an ago | 0 answers | 0

Question

Plotting 3D for three independent variables without any function

I have four vectors as attached in Data_1.tx. file. I'm looking for a way to plot their surface map. Where X = (:,column3), Y = ...

plus d'un an ago | 1 answer | 0

Question

A row vector that matches all similar rows in a matrix to group be them in a scatter plot

I have a huge matrix where I want to split them into smaller group based on certain criteria where all the rows are matching. Fo...

plus d'un an ago | 1 answer | 0

Question

How to use lognrnd?

I'm trying to create a random log-normal distributions for a vector . I have already read the lognrnd document as https://uk.mat...

plus d'un an ago | 1 answer | 0

Question

Saving plot with variables larger than 2 GB

I'm trying to save a huge boxplot figure but it is working. I used matfile and it is not saving yet. Any idea? for i = 1:length...

plus d'un an ago | 2 answers | 0

Answered

Plot a bar chart while sorting its variables and presenting the cosponsoring new sorted variables in the x-axis.

Cases = 1:19; [CV_Sorted,index] = sort(CV,'descend'); bar(CV(index)) xTick = Fields_Sorte; set(gca, 'xTick',Cases, 'xTickL...

Plot a bar chart while sorting its variables and presenting the cosponsoring new sorted variables in the x-axis.

Cases = 1:19; [CV_Sorted,index] = sort(CV,'descend'); bar(CV(index)) xTick = Fields_Sorte; set(gca, 'xTick',Cases, 'xTickL...

plus d'un an ago | 0

| accepted

Question

Plot a bar chart while sorting its variables and presenting the cosponsoring new sorted variables in the x-axis.

I have two vectors as below where i would like to plot them in a bar chart in a descending order while showing the corropsoing v...

plus d'un an ago | 1 answer | 0

Question

Creating a boxplot for every row in a matrix

I'm looking for an easy and fast way to make a boxplot for every row in a huge matrix (1000000 x 20) and showing all these boxes...

plus d'un an ago | 1 answer | 0

Question

Removing a row from a matrix based on certain conditions

I have three variables t_SS, t_A, and G and all of them have the size of 10000 X 8. I'm looking for away to remove the entire r...

plus d'un an ago | 1 answer | 0

Question

Create a Random log normal distribution from given mean and variance of a normal distribution

I have normal distributions with their means and stand deviations and I’m trying to great their lognormal distributions. Althoug...

plus d'un an ago | 1 answer | 0

Question

How to add fixed Colorbar based on a vector for 2D scatter plot with 3 vectors

I want to compare two [2D scatter] plots that both have three variables (x,y,z). I'm plotting x against y and showing vector z ...

presque 2 ans ago | 1 answer | 0

Question

Splitting a matrix into group based into the first column and select the maximum value from the second column for each interval

I have a big matrix,x, with size of 21,6000 x 2. The first Column is A and The second one is B. I'm looking for away to split th...

presque 2 ans ago | 2 answers | 0

Question

Matching the maximum Values in a matrix from another vector

I have a matrix with size of 21600 x 2 as Matrix_Vector = [STD_v,NPV_v]; I'm trying to find the values that matching xvalues = [...

presque 2 ans ago | 1 answer | 0

Question

Find the second derivative of an integral function

Can anyone please help me with this problem. I have an integral function that I would like to differentiate it twice to find if ...

presque 2 ans ago | 0 answers | 0

Answered

Include the name of each category in x-axis in a Plot

if true % code f(j) = figure; % Create axes axes1 = axes('Parent',f(j)); hold(axes1,'on'); pl...

Include the name of each category in x-axis in a Plot

if true % code f(j) = figure; % Create axes axes1 = axes('Parent',f(j)); hold(axes1,'on'); pl...

presque 2 ans ago | 0

| accepted

Question

Include the name of each category in x-axis in a Plot

Can anyone please help me on how to show the name of each category on a MATLAB plot. I know I can do it on a Bar chart but I nee...

presque 2 ans ago | 1 answer | 0

Answered

Running an m-file in each subfolders

I just updated the code and it is working now thanks. run(fullfile(folder,nFile{k},'TESTING_4000.m'));

Running an m-file in each subfolders

I just updated the code and it is working now thanks. run(fullfile(folder,nFile{k},'TESTING_4000.m'));

presque 2 ans ago | 0

| accepted