Statistics
RANK
23.152
of 293.481
REPUTATION
1
CONTRIBUTIONS
37 Questions
6 Answers
ANSWER ACCEPTANCE
51.35%
VOTES RECEIVED
2
RANK
of 20.033
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148.733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
bijna 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
ongeveer 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 11 jaar ago | 0 answers | 0
0
answersQuestion
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 ...
bijna 12 jaar ago | 0 answers | 0
0
answersQuestion
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...
bijna 12 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 12 jaar ago | 3 answers | 1
3
answersQuestion
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...
bijna 12 jaar ago | 2 answers | 0
2
answersQuestion
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...
bijna 12 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
ongeveer 12 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
ongeveer 12 jaar ago | 1 answer | 0
1
answerQuestion
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...
ongeveer 12 jaar ago | 1 answer | 0
1
answerQuestion
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...
ongeveer 12 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
ongeveer 12 jaar ago | 2 answers | 0
2
answersQuestion
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); % ...
ongeveer 12 jaar ago | 0 answers | 0
0
answersQuestion
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...
ongeveer 12 jaar ago | 0 answers | 0
0
answersfor 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)...
ongeveer 12 jaar ago | 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...
ongeveer 12 jaar ago | 3 answers | 0
3
answersQuestion
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:...
ongeveer 12 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
ongeveer 12 jaar ago | 0 answers | 0
0
answers"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...
ongeveer 12 jaar ago | 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) ...
ongeveer 12 jaar ago | 2 answers | 0
2
answersQuestion
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 ...
ongeveer 12 jaar ago | 1 answer | 0
1
answerConvert 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...
ongeveer 12 jaar ago | 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 ...
ongeveer 12 jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan 12 jaar ago | 1 answer | 0
1
answerQuestion
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_...
meer dan 12 jaar ago | 1 answer | 0