photo

Andrew Alkiviades


Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 3 risposte | 1

3

risposte

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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); % ...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 12 anni fa | 0 risposte | 0

0

risposte

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 0 risposte | 0

0

risposte

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Carica altro