Question

How to run MATLAB code in Mathematica?

Is there any way to run MATLAB code in Mathematica?

8 månader ago | 1 answer | 0

Question

How to remove both leading and trailing zeros from a binary string?

Let A=[00000001111; 00000110010; 10111011100; 00001000110; 11111010000; 00000001010] I want to remove zeroes from both left a...

9 månader ago | 1 answer | 0

Question

How to find x-coordinate of the curve If y-coordinate is given?

disp('y^2 = x^3 + 14 mod 17') y=0:16 for i=1:17 left_side = mod(y(i).^2,17); right_side = mod(x.^3+14,17; end If I...

10 månader ago | 2 answers | 0

Question

How to save output?

x=[0:n-1]; y=[0:n-1]; figure for i=1:5 for j=1:5 if rem(((y(j))^2)-((x(i))^3)-2*(x(i))-3,5)==0 plo...

10 månader ago | 1 answer | 0

Question

How can I find the time difference between each consecutive rows?

I have a column in which date and time is mentioned, I want to find the time difference between every consective rows . Also ho...

mer än 3 år ago | 1 answer | 0

Question

How to solve problem with particle swarm optimization?

I want to define an objective function (any function e.g. ax+b) in addition to error function (e.g. mean square error) with part...

mer än 3 år ago | 1 answer | 0

Question

Artificial neural network with particle swarm optimization ?

I want to train artificial neural network with particle swarm optimization. with an error function and an objective function in ...

mer än 3 år ago | 0 answers | 0

Question

How to optimize a function?

f(x)=x^2+2x-3 x belong to [0,20] i- How can I optimize the function in matlab?

mer än 3 år ago | 1 answer | 0

Question

How do we optimize weight of feed forward artificial neural network with particle swarm optimization?

There are many links related to my particle swarm optimization , but I am unable to understand those for my problem. I have 3 i...

mer än 3 år ago | 0 answers | 0

Question

How to generate all the 3 by 3 matrices ?

I have to generate the matrices based on the following conditions A=[a b c;d e f;g h i] How can I generate all the possibl...

mer än 3 år ago | 3 answers | 0

Question

How to filter rows with respect to specific entry?

I have thousands of rows and I want to filter those rows in which the entry at third position is three For example A=[1 2 ...

nästan 4 år ago | 1 answer | 0

Question

How to find the position of specific entry in a Matrix?

I have a matrix like A=[3 2 1;3 1 2;2 3 1]; I want to find the position of 2 in each row I need 1 2 2 3 3 1...

nästan 4 år ago | 1 answer | 0

Question

How to write nodes names with in the circle?

A=[1 1 5; 1 2 3; 1 3 9; 1 4 8; 2 1 7; 2 2 1; 2 3 2; 2 4 11; 3 1 12; 3 2 ...

nästan 4 år ago | 0 answers | 0

Question

How we write in cyclic form?

I have two column 1 2 2 1 3 3 which represent 1 map on 2, 2 map on 1 and 3 map on 3, how we get this in cyc...

nästan 4 år ago | 0 answers | 0

Answered

How to find permutation cycle in matlab?

No, sorry I want to find the position of a number in a matrix then I define a mapping and I want to write in a cycle as I explai...

How to find permutation cycle in matlab?

No, sorry I want to find the position of a number in a matrix then I define a mapping and I want to write in a cycle as I explai...

nästan 4 år ago | 0

Question

How to find number of linearly independent eigenvectors in a matrix?

I have a matrix 0 -1 -2 -1 -1 0 -1 0 -2 -1 0 -1 -1 0 -1 0 Each column represent an eigen vector,...

nästan 4 år ago | 1 answer | 0

Question

How to find permutation cycle in matlab?

A= 4 1 2 3 1 2 3 4 2 3 4 1 3 4 1 2 I def...

nästan 4 år ago | 1 answer | 0

Question

How to filter rows?

I have a matrix like this 1 2 3 4 5 6 7 8 2 3 4 1 2 3 4 5 1 2 3 4 1 1 1 1 1 2 3 5 4 2 2 1 I want to separate ...

nästan 4 år ago | 2 answers | 0

Question

How to resolve error while saving?

when I try to save data from matlab command window into excel , the following error show Warning: Added specified worksh...

nästan 4 år ago | 0 answers | 0

Question

How we count number of matrices with respect to some condition?

I have 1000 rows for i=1:1000 B=A(i,:); C=reshape(B,4,4); D=bsxfun(@minus,C,max(C(:))) end Now I have 1000 D...

nästan 4 år ago | 1 answer | 0

Question

How to exclude rows on the basis of specific entries?

I have 260 rows and 16 columns with entries belong to {1,2,3,4}, I want to exclude those rows in which first four entries of eac...

nästan 4 år ago | 2 answers | 0

Question

How to find permutation symbol in MATLAB?

L=[2 3 1 4;1 4 2 3;4 1 3 2;3 2 4 1] Suppose Latin L = (li,j ) has order n. We can get n permutations that represent of each...

nästan 4 år ago | 0 answers | 0

Question

Matlab multiplication of two matrices in max-plus algebra?

In max-plus algebra x+y=max(x,y) x*y=x+y where x , y denote the entries. How two multiply two matrices in MATLAB ...

nästan 4 år ago | 1 answer | 0

Question

How can I install maxplus algebra toolbox in my matlab ?

I want to download or install maxplus algebra toolbox in my MATLAB R2013a , Can I install on my own ? Please help me to use tha...

nästan 4 år ago | 1 answer | 0

Question

why there is no pair of orthogonal latin square of order 6?

why there is no pair of orthogonal latin square of order 6? Is there any counter example which shows that these two latin squar...

nästan 4 år ago | 0 answers | 0

Question

How to generate all possible matrices with the given entries?

I have 9 different entries (11,12,13,21,22,23,31,32,33). I want to generate all possible 3 by 3 matrices consisting of these ent...

nästan 4 år ago | 1 answer | 0

Question

how can I save from MATLAB

I have generated a large number of matrices in MATLAB , all these are appear on the MATLAB comand window as; Matrix 1 = ...

nästan 4 år ago | 1 answer | 0

Answered

How I generate all possible pairs of matrices?

The question is same as earlier , but still I don't know the appropriate way to get all possible pairs in MATLAB. Would you ple...

How I generate all possible pairs of matrices?

The question is same as earlier , but still I don't know the appropriate way to get all possible pairs in MATLAB. Would you ple...

nästan 4 år ago | 0

Question

How I generate all possible pairs of matrices?

First I define orthogonal matrix as when I combine two matrices (entry in first matrix with the corresponding entry in second ma...

nästan 4 år ago | 1 answer | 0

Question

How I separate codewords on the basis of hamming Distance?

e.g I have 5 code words 1111 , 1123 , 1223 , 1342 , 1234. Out of these I want to separate those codewords such that their h...

nästan 4 år ago | 1 answer | 0