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

environ 5 ans il y a | 1 réponse | 0

1

réponse

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 de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 2 réponses | 0

2

réponses

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

A répondu
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...

plus de 5 ans il y a | 0

| A accepté

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

A répondu
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'));

plus de 5 ans il y a | 0

| A accepté

Question


Running an m-file in each subfolders
I'm looking for away to access subfoders and run script ('TESTING_4000.m') in each subfolder. Not sure what I'm missing in the c...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


scatter plot with different legend and color
I'm trying to make a scatter plot for two vectors mean_vector_15 (1X8) and STD_Vector_15 (1X8). I want to make each dot with dif...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Opening folders and read its information
I'm new to the field of creating or opening folders from a script. I have tried many things and I always get "the file was not f...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Cumulative distribution function for non-normal distribution
I have data that is not normally distributed and I'm trying to create its CDF; any idea please? Thanks

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


log of a vector
I need a help with taking the log of vector C, however when I do it I get some complex numbers. I understand this happens for th...

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


3D Plot with Four Variables
Hello, I have four variables (Demand, NPV_all, STD_all, STD_In) and I would like to plot them in a 3D plot. I have created the p...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

A répondu
Plotting a huge matrix
If you do not want to include outliers then use this: if true boxplot(y,'symbol','') end

plus de 5 ans il y a | 0

A répondu
Plotting a huge matrix
You are all right but I just wanted to see the whole dense lines. I'm using now boxplot instead since I could not show all the l...

plus de 5 ans il y a | 0

Question


Plotting a huge matrix
I have a big matrix (Supply) with size of 21 X 1000,000 and I want to plot each column against a fixed time vector as stairs(...

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


I cant find GA Optimization in 2018 Matlab
I downloaded the new version of 2018 MATLAB and I cant find GA optimization as before. Would you please help.

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Creating Random Log Normal Distribution
I'm a bit confused with converting a normal distribution to a log normal and then creating random numbers. I'm not sure if what ...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


fplot a function in different intervals
I'm trying to plot a function in two different intervals. The function is the following: if true G = [14000000 ...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Convert structure to a vector?
Dear all, I need a help with accessing and converting a structure if true G = {'A', 'B'}; A = 1; B = 2...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How can I convert the following to a vector
How can I convert the following G = [20] [15] [4.5000] to a vector as G = [20 15 4.5]

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How to pass mat file as an argument?
Is there a way to pass mat file through a function. Something does not require any if statement. Output = myfun(filename)

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


Customised output function for ga
I have been looking how to create my own output function in GA to get each x and fval of each iteration and generation. Although...

presque 6 ans il y a | 2 réponses | 0

2

réponses

A répondu
Passing Extra Parameters in Optimization Output
I tried it but it shows the z value at the minimum point of y. Is there a way to show the value of z at all values of y; not onl...

presque 6 ans il y a | 0

Question


GA optimization with multiple variables and constraints
I have a function named (Kings) that I would like to optimize using GA. So far, I was able to put this problem. However, I'm str...

presque 6 ans il y a | 1 réponse | 0

0

réponse

Question


How to present priority list in an optimization problem?
I need help with an optimization problem please. My model is a non linear model and I need to optimize x which has two varia...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


Splitting matrices into small matrices based on column values
I have two matrices, A and B where A is the name of each field and B is their corresponding productions as: A = [3 2 1 ...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


How to compute Permutation with repetition, (One Value From Each Vector Only)?
I’m trying to create a permutation with Field_A, Field_B, Field_C, taking a value from each field once a time to create a vector...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Charger plus