Feeds
提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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(:,:...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 2 个回答 | 0
2
个回答提问
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(...
10 years 前 | 0 个回答 | 0
0
个回答提问
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,...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 2 个回答 | 1
2
个回答提问
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)*) ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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- ...
10 years 前 | 1 个回答 | 0
1
个回答1
个回答提问
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 ...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 1 个回答 | 0