Community Profile # Aimen Mujahid

Active since 2017

#### Statistics

• #### Content Feed

View by

Question

i used "active set" algorithm in fmincon and got exit flag 5, is this answer should be considered right or not?
Options=optimset('Algorithm','active-set','Display','Iter','TolFun',1e-12,'MaxFunEvals',1000, 'TolCon',1e-12,'TolX',1e-15); ...

4 years ago | 2 answers | 0

### 2

Question

kindly suggest the related codes and help to solve the below question?
analysis and simulations of a communication system with binary amplitude shift keying modulation and non coherent (post detector...

4 years ago | 0 answers | 0

### 0

Question

how to generate a random number between the range -50 to 50?
a=rand(1,[-50,50])

4 years ago | 1 answer | 0

### 1

Question

how to define connection factors for supply chain for GA/fmincon optimization?
function [Xmd]=checkb(Q) Xmd(1,1)=Q(1);% connection b/w manufacturer 1 and distributer 1 Xmd(2,1)=Q(2);% connection b/w manufa...

4 years ago | 1 answer | 0

### 1

Question

is there any simple code for this to solve larger matrices?
function b =check(Q) Qmd2(1,1)=Q(1); Qmd2(2,1)=Q(2); Qmd2(3,1)=Q(3); Qmd2(1,2)=Q(4); Qmd2(2,2)=Q(5); Qmd2(3,...

4 years ago | 1 answer | 0

### 1

Question

how take input matrix of same dimension for the scaler multiplication?
function b =check(Q) Qmd2=Q(1); c=[1 2;1 3;1 4]; b=c.*Qmd2; end

4 years ago | 0 answers | 0

### 0

Question

how will this code take input in matrix form for scaler multiplication??
function b =check(Q) Q(3:2)=zeros(3,2); Qmd2=Q(3:2); disp(Qmd2); c=[1 2;1 3;1 4]; b=c.*Qmd2; end

4 years ago | 0 answers | 0

### 0

Question

how to perform this multiplication form or by using loop?
function y=a Q=[1 2;3 4;5 6]; X=[1 0 1;0 1 0]; disp(Q); s=[2000 3000;1000 4000;2000 3000]; disp(s); a=[(s(1,...

4 years ago | 1 answer | 0

### 1

Question

How can we do it bu function call?
M=input('Enter number of manufacturers'); D=input('Enter number of distributers'); O=1; T=1; R=1; Z=1; Cmd=...

5 years ago | 0 answers | 0

### 0

Question

What is wrong in this code?
O=1; U=input('Enter number of retailers'); for u=1:U; Cuo=zeros(u:O); Cuo(u,O)=input('Enter traveling cost for retailer to ...

5 years ago | 0 answers | 0