Community Profile

photo

MUNKHBOLOR BAIGALI


Last seen: 1 year ago Active since 2020

Statistics

  • Explorer

View badges

Content Feed

View by

Question


convex function with constant Hessian
Hello. I have a problem. Consider the convex function with constant Hessian. How to solve it in Matlab? what is Matlab code,...

3 years ago | 1 answer | 0

1

answer

Question


Using CLEAR ALL usually decreases code performance and is often unnecessary
Hello. Error : Using CLEAR ALL usually decreases code performance and is often unnecessary It get an error like this. Should ...

3 years ago | 1 answer | 0

1

answer

Question


How can I write an optimization problem and PSO code separately?
Hello I am trying to write a code using the PSO algorithm to optimize the PV and battery system. So I was looking for an exampl...

3 years ago | 0 answers | 0

0

answers

Question


Why should I use the zeros function?
Hello, I don't understand. Why should I use the zeros function? Eb=zeros(1,8640); time1=zeros(1,8640); diesel=zeros(1,8640); ...

3 years ago | 2 answers | 0

2

answers

Question


What is parseSolution and struct?
Hello I trying to know some code. model.Plants.PZ{1}={[210 240],[350 380]}; model.Plants.PZ{2}={[90 110],[140 160]}; ...

3 years ago | 0 answers | 0

0

answers

Question


month to hour ?
hi Do you know this code mean? I did not understood this code? I try to run. This not work. 1 month is 720 hours. tamb=[25...

3 years ago | 1 answer | 0

1

answer

Question


PSO algorithm pv system code
How can we use particle swarm optimization matlab code in PV system? Any example code Please Or another optimization method in...

3 years ago | 1 answer | 0

1

answer

Question


How to calculate P at each x values?
Hello. I tried to calculate P. Please help me function [Tc, P] = myfun2() Ppv_rated = 250; G = [5.75, 6, 6.365, 6.5, 6.185,...

3 years ago | 1 answer | 0

1

answer

Question


How to return an array to single value?
Hello, I want to return from array to single values. This code's result is P calculated at each x values with matrix ---------...

3 years ago | 1 answer | 0

1

answer

Question


I want to calculate some function using PSO algoritm. but it doesn't work please help me.
Hello I want to calculate some function using PSO algoritm. In 'myfunc' file -----> When x(optimal size) = 0 , 2 , 5, 7 , 8 , 9 ...

3 years ago | 1 answer | 0

1

answer

Question


I want to calculate any function using PSO algorithm. but It doesn't work. please help
Hello, I want to calculate any function using PSO algorithm. ex: Sphere m-file is good working. BUT myfunc is not working. pl...

3 years ago | 1 answer | 0

1

answer

Question


how do I calculate all values in for loop?
Hello. please help me I want to calculate in each x = [0, 2, 5, 7, 8, 9, 10 ] -----> Output P equation. I tried to wri...

3 years ago | 2 answers | 0

2

answers

Question


How do I call a function within another function AND How do I input known variables in function?
Hello. I want to write below equation in matlab code. in this problem unknown variable is x = optimalsize(0 , 2 , 5, 7, 8 , 9 ...

3 years ago | 1 answer | 0

1

answer