Community Profile

photo

reshdev


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


help for vectorization coding for multiplication and addition matrixs
Hello, I have two separate codes. Use of for loops for following codes making them too heavy , so they are taking too lo...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


Random Path Generation between source node and destination node
Hello everyone, I have got *Implementation Idea* . Can anyone help me to write code. Suppose i have 5 node network. So, i...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


program to create matrix obeying constraints
Hello all, i have following code to create n*n matrix(say n=5 this time) which is following certain constraints. functio...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


creating random n*n matrix satisfying particular constraints using matlab?
Hello all, i have following code to create n*n matrix(say n=5 this time) which is following certain constraints. functio...

meer dan 9 jaar ago | 0 answers | 0

0

answers

Question


How to use break in for-if loop to get out of for loop?
Hello, In following program, i am trying to 'use break to get out of for loop' after checking my condition in if loop. i am u...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


addition of two matrix's with constraints
Hello, i have following code which i want to modify .... function new_fitness W =[0 0 0 3;0 0 0 0;0 0 0 0; 3 ...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


help on randfixedsum error?
hello, i am trying to use randfixed sum(link below) for n=1 and m=4 and s=5. limit of random for each element should be betwe...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


How to preallocate 3 D matrix?
Hello, Suppose output(:,:) is matrix with 5 rows and 10 columns. u is from 1 to n. So, i will have n different output(:,:...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


Need help for vectorization?
Hello This program is running very slow. Can anyone please help me to make it fast like by vectorizing this code. Thanks ...

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


How to vectorize given matlab code?
Hello, i am new to matlab. can anyone please vectorize this code. Thanks for row=1:n for col =1:n Fn(...

meer dan 9 jaar ago | 0 answers | 0

0

answers

Question


How to write program to choose random numbers from given input set?
i want to write two programs ---- a program that can randomly choose number T1 from [5, 10, 15] and if if it choose T1=5,...

meer dan 9 jaar ago | 3 answers | 0

3

answers

Question


help to write genetic algorithm cross over code
Hello, I have following parameters--- NP= no. of parent=2 Acually, in each parent, i am joining *two* (means dr=2) *5...

meer dan 9 jaar ago | 2 answers | 1

2

answers

Question


help for roulette-wheel selection matlab code for minimization problem?
Hello, I am trying to implement genetic algorithm.(Already able to generate initial population *(matlab code attached)*) ...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


How to get output in rows for running given matlab program(attached) 2 times for same inputs ?
Hello Everyone, Please see the attached matlab program which for example,i am running for input ...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


how to give different combinations of inputs within the program( i want to skip input questions)?
i have a program to which i am giving two sets of inputs at a time and getting two outputs combined in a column(set 1 output on ...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


matlab program for getting results of all inputs sets in one column
Hello, i want to run given below program for n set of inputs. example of input sets- ...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


How i can create random array with fixed sum for each row and column?
a

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


Need help to write general syntax for matlab program for combining results of all inputs
If i have a matlab program which requires input d. suppose i want to get results for d=8 and d=9. i can run program separately ...

meer dan 9 jaar ago | 3 answers | 0

3

answers

Question


Please help me to modify the following program
okay, thanks to Roger.i have got program with following constraints. A should be a randomly created 5 x 5 matrix whose eleme...

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


can anyone explain, how following program is working?(5th step)
A should be a randomly created 5 x 5 matrix whose elements are all integers ranging from 0 to 7 in such a way that 1) row 1...

meer dan 9 jaar ago | 2 answers | 0

2

answers

Question


if i have a i*j matrix(with random numbers ), then how can i make the sum of first row = d(say d= 5).
HELLO, I want to make random number matrix having the sum of first row elements equal to d (a positive number). I tried to us...

meer dan 9 jaar ago | 3 answers | 0

3

answers

Question


How i can create array with fixed sum for each row and column?
Hello Everyone, Please help me to write matlab code, I am trying to create 5*5 matrix containing random values having constra...

meer dan 9 jaar ago | 1 answer | 0

1

answer