Community Profile

photo

ali akbar


Last seen: 1 year ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Correspondence between optimization outputs and symbolic variables
I have solved an optimization problem with five symbolic variables. I don't know which optimization output corresponds to which ...

2 years ago | 2 answers | 0

2

answers

Question


Mean of mutiple variables
I have 5 '.mat' data files where each datafile contains 1 by 19 cell (each cell size = 512 by 9). I wanted to find the mean of t...

2 years ago | 1 answer | 0

1

answer

Question


nonlinear equality constraint with symbolic variables
Here are some bits of my code which I am trying to run. sigma1=[1 0;0 1];sigma2=[0 1;1 0];sigma3=-1i*[0 -1i;1i 0];sigma4=[1 0;0...

2 years ago | 1 answer | 0

1

answer

Question


symbolic matrices optimization with fmincon
I am trying to minimize a function. The function is , where and are defined as chi= rand(4,4) %% for example syms t [1 16] ...

2 years ago | 1 answer | 0

1

answer

Question


fmincon and optimization with a symbolic matrix
I am working on the following optimization problem syms t [1 16] tt=reshape(t,[4],[4]); a=tril(tt); chi1=trasnpose(a)*a; c...

2 years ago | 1 answer | 0

1

answer

Question


Extracting numeric values from symbolic variables
I have two matrices say x=[2 4 9 10]; syms c [1 4]; x==c it returns 2=c1 4=c2 9=c3 10=c4 However when I write c1 in com...

2 years ago | 4 answers | 0

4

answers

Question


customizing the index of reshape A 2X2 matrix
So I have a 2x2 matrix test=[1 2;16 9] y=reshape(test,[],1) which returns 1 16 2 9 I want it to reshape like this ...

2 years ago | 1 answer | 0

1

answer

Question


function with two variables
I have a long symbolic function which is evaluated inside matlab and contains two variables theta and xi. realG1=((1.0*(cos(the...

2 years ago | 2 answers | 0

2

answers