Question

calling a matrix with different names in a for loop

I have three matrixes with different names as NPV_1, NPV2 and NPV_3. I have tried the below but It did not work. Can you please ...

11 jours ago | 1 answer | 0

Question

How to create multiple cdfplot in one graph?

I have tried to create a multiple cdfplot in one graph as below but I need an efficient way since I'm using this in a big matrix...

12 jours ago | 1 answer | 0

Question

Returning an additional value that is not part of the fitness function or objective for all population evaluation in GA

Can anyone please help by showing the code how can I return an additional value (Sigma) that is not part of my fitness function ...

25 jours ago | 1 answer | 1

Question

Collecting a value (Sigma ) over all of the objective function evaluations while using GA optimizer

I want to collect all the values of (Sigma ) over all of the objective function evaluations. I'm not really sure how to do this ...

3 mois ago | 0 answers | 0

Question

How to return an additional parameter that is not part of the population nor the objective in ga MATLAB?

I'm looking for a way to retun an additional variable (risk) with my objective (ecnomic_value) paramter for each population (wei...

4 mois ago | 0 answers | 0

Question

How to return an additional variable that is not part of the objective for each population while using GA optimizer?

I have a function that I'm optimizing by GA. In addition, I would like to show all the population (by using an output function)...

4 mois ago | 1 answer | 0

Question

Number of Population and Generation in GA?

I have a function where I'm trying to optimize. So, Im using GA and I have run the optimizer on the defult case. Is there anyway...

4 mois ago | 1 answer | 0

Question

Scatter plot with a color variation based on a third vector

I have three variables (Return, Risk, Supply) where I would like to present them on a scatter plot as the attached. I would like...

4 mois ago | 1 answer | 1

Question

How to find the final formula or equation that is produced by regression learner.

I have created a trainedModel for my data by using Train Regression Models in Regression Learner App. After I exported my model ...

4 mois ago | 0 answers | 0

Question

gamultiobj optimizer is not working and I get the following error massage "Reference to non-existent field 'Best'"

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

4 mois ago | 0 answers | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 mois 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 = ...

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

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

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

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

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

7 mois ago | 1 answer | 0