Community Profile

photo

Ancy S G


Active since 2021

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Feeds

View by

Question


How to do iteration using while loop?
step 1 clc; gb=3;gs=8;s=gb;b=gs; Eg=[50 100 150 175 200 250 300]; Egm=mean(Eg); P=[20 15 10 5 1 0.5 0.1]; Ns = []; ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Doubt in matlab coding
I want to get the output of this concept: that is, if Eg>Egm then output is Ns =5,6,7 Otherwise if Eg<Egm output as Nb=1,2,3...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to correct the code?
phis=3;phib=8; cons=-.95:0.5:10;% for plotting Eg=[-2.9583 5.2519 -6.5456 5.2455 -0.4883 -7.0614];% for 6 prosumers xi=[1 1 1...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Error'incorrect dimensions for matrix multiplication'
phis=3;phib=8; zeta=-.95:0.5:10; Eg=[-2.9583 5.2519 -6.5456 5.2455 -0.4883 -7.0614 -6.5562]; xi=[1 1 1 1 1 1]; for n=1:1:6 ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to plot the optimal point of an objective function
I want to maximise the optimization model ∑F with respect to x,y.But this function has different values for two conditions: F=y...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to maximise the objective function with constraints and plot the solution
I want to maximise the objective function with respect to x function=a*ln(1+x)+b(c-x) subjected to constraints : x,min<=x<=x,m...

ungefär 2 år ago | 2 answers | 1

2

answers

Question


"Check for incorrect argument data type or missing argument in call to function 'symsum'".Why this error ?
While write this summation equation "∑_(j=1)^4=〖(x_ij^k+V^k)〗"using symsum shown this error 'Check for incorrect argument data t...

ungefär 2 år ago | 0 answers | 0

0

answers

Question


write equation in for loop
I have to update this equation Pij^(k+1)=[Pij^k-a^k*(xij^k-yij^k)]+ where i represents row, j represents coloumn and k represe...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to plot a graph with a set of updated values from the for loop?
I have to plot a graph with number of iterations on the x axis and the updated values for each iterations(ie, set of values) in ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


How to write equations in matlab coding.
how to write this equation containing sigma summation function in mathlab code language.

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Can anyone tell me how to communicate a value of variable from a for loop to another for loop
I have a doubt.I want to communicate the updated value of a variable from the previous for loop to the next for loop.How could b...

mer än 2 år ago | 1 answer | 0

1

answer