photo

Andrew Alkiviades


Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


manually label contours when there are two different contour plots on one graph
Hi I have the following code. I want to be able to manually select which contours to be labeled. At the moment it only selects o...

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

1

réponse

Question


edit text on contour plot
Hi I have a contour plot with two sets of contour lines and the label of the value on each of the contour lines. does anyone kn...

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

1

réponse

Question


double y axis bar chart to have bars next to each other
hi I have plotted a double y axis bar chart with the code below. It seems that the bars are overlaying. I am trying to get the b...

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

1

réponse

Question


lagrange multipliers - curve fitting toolbox
Hi I have two curve sets - "A" and "B". Both are a 10x6 matrix that output a contour plot with 10 lines each. I am looking fo...

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

1

réponse

Question


semilogy plot does not have a continuous line going through zero values
Hi I have the following data x = 1:24 y = [0 0 0 0 2 6 11 15 22 25 27 27 25 20 14 9 4 1 0 0 0 0 0 0]' I want to use the s...

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

1

réponse

Question


help with the formatting of a stacked bar chart
Hi I have the following code CC_monthly_thermal_demand = [495 500 500 195 210 100 70 65 85 265 320 430]'; AD_monthly_t...

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

1

réponse

Question


Create a stacked bar chart in matlab
Hi, I am trying to create a stacked bar chart in matlab. All I am trying to do is have the two data sets I am plotting on the sa...

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

0

réponse

Question


labelling the colormap and adjusting the x label of a 3D surface plot
Hi I am trying to plot a 3D surface plot in matlab with a colorbar. I would like to know how to 1) label the title of the ...

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

0

réponse

Question


reshape function error on number of elements
Hi I have the following code The error appears on the line of "B", however I think that A has 8760 elements and B = 365 x 24...

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

1

réponse

Question


sum every 24 rows in a vector
Hi I am trying to find an output which is the sum of every 24 rows of a 8760x1 vector below as hourly_deficit. Therefore I am...

environ 12 ans il y a | 3 réponses | 1

3

réponses

Question


divide matlab line plot in two lines of the same colour
Hi I am trying to plot a graph in the code below. Does anyone know how to split the "azimuth_summer_solstice" and "altitude_summ...

environ 12 ans il y a | 2 réponses | 0

2

réponses

Question


Cant get plotyy to work with string x tick labels
Hi I am trying to draw a double y axis graph with string text for the x labels. I have the following code x = 1:12; y...

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

1

réponse

Question


Using the length() in a for loop
Hi I have the following code which I am trying to loop. the loop isn't working however and I don't know why ...

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

1

réponse

Question


how to remove row from 4D matlab matrix
Hi I have the following 4D matrix for idx_number_panels = 1:length(number_panels) % range of PV panel units examined ...

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

1

réponse

Question


Index exceeds matrix dimensions for 5 dimensional matrix
Hi I have the following code with the error "Index exceeds matrix dimensions" on the line of the "if statement" and I can't figu...

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

1

réponse

Question


use previous element in 5 dimensional matrix for equation in current cell
Hi I have a 5 dimensional matrix as shown in the code below. What I am trying to do is find the "battery_capacity" shown in the...

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

1

réponse

Question


start for loop from non zero value
Hi I am trying to run the code below for "number_panels" going from 1000 to 2000 with a step interval of 500. The below doesn't ...

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

2

réponses

Question


Iteration for one column of linprog inequality constraint
Hi I have the following code Diesel_matrix = xlsread('test_diesel.xlsx','Sheet2'); Diesel_supply = Diesel_matrix(:,1); % ...

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

0

réponse

Question


Use of linprog with an implicit function attached
I am trying to use linprog as shown in the code below where: PV_supply, WT_supply and Diesel_supply are 24x1. As you can see, th...

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

0

réponse

Réponse apportée
for loop doesn't seem to loop
Thanks guys - I have made the changes you suggest, I now get, from the code below, two rows of A so I have a size(A) = (2,30)...

plus de 12 ans il y a | 0

Question


for loop doesn't seem to loop
Hi I have the following code for i = 1:8760 A = [PVtech(i,:) WTtech(i,:)]; b = demand(i); f = [CRF...

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

3

réponses

Question


Can linprog give an integer value of x's?
Hi I have a linprog code that has x1,x2,x3 and x4 in the objective function. The results I get give me values in the form:...

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

1

réponse

Question


Optimisation with multiple combinations of inequality constraints that must be run simultaneously
Hi I am trying to code a linear optimisation using linprog to determine the optimum number of PV (x1) and WT (x2) units under a ...

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

0

réponse

Réponse apportée
"Subscripted assignment dimension mismatch.' when running a linprog coding.
If I have understood correctly, I have adapted my code to your suggestions A = cell(27,3); for ii = 1:27 PV = P...

plus de 12 ans il y a | 0

Question


"Subscripted assignment dimension mismatch.' when running a linprog coding.
"Subscripted assignment dimension mismatch.' when running a linprog coding. My code is for M = 1 : size(PV_output,1) ...

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

2

réponses

Question


how do you stack (using colon) a 3 dimensional matrix
Hi I have a 3 dimensional matrix A(:,:,K) which I want to stack all the columns per value of K I haven't found the coding ...

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

1

réponse

Réponse apportée
Convert 3 dimensional matrix to vector (rows to columns)
I have managed to get it working for K = 1 I have transposed the matrix then stacked the columns. However, I need to code for...

plus de 12 ans il y a | 0

Question


Convert 3 dimensional matrix to vector (rows to columns)
Hi I have a 3 dimensional matrix that I am trying to convert the rows to columns and then stack all the columns to generate a ...

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

2

réponses

Question


Using value from previous cell in for loop calculation
Hi, I am trying to perform a set of calculations shown in the code below. I am trying to create a 365x24 matrix to find the "bat...

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

1

réponse

Question


Linprog error - The number of rows in A must be the same as the number of elements of b.
Hi , I am trying code a linprog optimisation my code is Aeq = [PV_power_output(:,:,K) WT_power_output(:,:,M) Bat_power_...

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

1

réponse

Charger plus