Community Profile

photo

Aimen Mujahid


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

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); ...

6 years ago | 2 answers | 0

2

answers

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...

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

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...

7 years ago | 1 answer | 0

1

answer

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,...

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 0 answers | 0

0

answers

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

7 years ago | 0 answers | 0

0

answers

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,...

7 years ago | 1 answer | 0

1

answer

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=...

7 years ago | 0 answers | 0

0

answers

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 ...

7 years ago | 0 answers | 0

0

answers

Question


What's wrong in this code? why is this not displaying whole matrix?and how to sum whole matrix?
M=input('Enter number of manufacturers'); D=input('Enter number of distributers'); O=1; T=1; R=1; Z=1; for m=1:M; for...

7 years ago | 1 answer | 0

1

answer