Community Profile

# Usman Taya

9 total contributions since 2016

View details...

Contributions in
View by

Question

How to use binary decision variable for charge and discharge of battery using PSO in MATLAB?
Hi All, I want to use binary decision variable for charge and discharge of battery using Particle swarm optimization (PSO) but ...

ongeveer een maand ago | 0 answers | 0

### 0

Question

Matrix Indexing with respect to sum of matrix raws
A = -9 3 -1 9 -4 0 1 -2 -2 5 6 -9 I want to sort it and want to get following result after ...

ongeveer 2 maanden ago | 1 answer | 0

### 1

Question

Error in matlab codes
Hi everyone, I write following codes: clear all close all clc % Define the details of the problem nVar = 4; ub = [10 1...

2 maanden ago | 1 answer | 0

### 1

Question

What is means by f = 1:1:dim ?
I didn't understand the meaning of f = 1:1:dim Here dim is dimension of problem. kindly someone explain for me?

3 maanden ago | 1 answer | 0

### 1

Question

Error in following MATLAB codes: "Array indices must be positive integers or logical values."
When I run following codes it show following error: Array indices must be positive integers or logical values.: x4 = [0,0,0,0,0...

7 maanden ago | 1 answer | 0

### 1

Question

Error in following matlab code.
Error in following codes for i = 1:12 if i == 12 x1 = 9 end x1 = [1]; x2 = [3]; if i == 1...

7 maanden ago | 1 answer | 0

### 1

Question

How to run the following codes.
what is error in following codes for i=1:12 if i = 12 x1 = 9 end x1 = [1]; x2 = [3]; x1(i) ...

7 maanden ago | 1 answer | 0

### 1

Question

How to set maximum and minimum limit of signal in MATLAB code.
I need to set maximum and minimum value of variables. For example, x3= x1 + x2 where maximum value of x1 = 3 minimum value o...

7 maanden ago | 1 answer | 0