Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 6 Jahre vor | 0

| akzeptiert

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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'));

etwa 6 Jahre vor | 0

| akzeptiert

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

Frage


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

etwa 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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.

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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]

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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)

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

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

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden