photo

reshdev


Aktiv seit 2014

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort