![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9212467_1522131516594_DEF.jpg)
Pratik Anandpara
Followers: 0 Following: 0
Statistics
28 Questions
0 Answers
RANK
181,704
of 293,508
REPUTATION
0
CONTRIBUTIONS
28 Questions
0 Answers
ANSWER ACCEPTANCE
32.14%
VOTES RECEIVED
0
RANK
of 20,037
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
n*2 matrix which come from output--Row is not fixed but column is 2--- and that process rotate in loop 10 times save all values of loop in result matrix
a=18; b=22; for i=1:10 r1 = randi([18 22],1,1) name= (b-a).*rand(r1,2) + a end save this all name matrix v...
7 years ago | 1 answer | 0
1
answerQuestion
any single vector element =0 than loop again rotate and again loop start from first line
30 element in vector check each value of vector and any element in vector =0 than loop again start from first step i want to g...
7 years ago | 1 answer | 0
1
answerQuestion
each time take two value from GA in range put that value as x(1) and x(2) in P and after that value check the answer of Q which we want minimum value
unction [p,q]=fitfunda1(x) %for this we give two values of x(1) and x(2) sys= xlsread('IEEEE1.xlsx'); %this is exce...
7 years ago | 0 answers | 0
0
answersQuestion
i have one function file and m file now i give values of x(1) and x(2) in function file which update in m fille and run
function y=fitfund1(x) %for this we give two values of x(1) and x(2) sys= xlsread('IEEEE1.xlsx'); %this is excel file...
7 years ago | 2 answers | 0
2
answersQuestion
i have function file i want put limit in variables
function y=myfitness(x) y= x(1)+x(2)+x(3); end this is function file and i want 2<x1<11 ,3<x2<12, 4<x3<12 in this ran...
7 years ago | 1 answer | 0
1
answerQuestion
covert 9.2532 decimal into binary
convert decimal into binary with decimal point
7 years ago | 1 answer | 0
1
answerQuestion
check answer in range otherwise do again process with random generated number check until all digit of loop in range
for k1=1:10 %set population generation limit her pop1h(k1)=randi([200 1150],1,1 ); %random genert...
7 years ago | 1 answer | 0
1
answerQuestion
check all matrix element and if any element is out of range do again process
in one for loop i do 10-11 process and get matrix if matrix element is not in range than do again same process ,in first step ge...
7 years ago | 1 answer | 0
1
answerQuestion
store each result inspite of re write updated answer i work in main file and call function from function file store each result of values which run in function file
function [branchcu,totalpowerloss,vpu,finalloss] = loadflow1(sys,DLF,BIBC,branch,result,BCBV) v0=(12660+1i*0).*ones(bra...
7 years ago | 0 answers | 0
0
answersQuestion
i want vector which is long size and each time size change but pattren is same in putting value
vector like this....i want in this sequence..this is for 1 to 8 row =[ 2 1 4 3 6 5 8 7 3 1 5 3 7 5 1 7...
7 years ago | 1 answer | 0
1
answerQuestion
check with all parameter except its own
3 5 1 5 2 2 2 5 2 5 3 1 5 1 3 7 ...
7 years ago | 1 answer | 0
1
answerQuestion
for loop each time create matrix ,i set if loop which check row total==9 ,if not proper than loop again create and check conditiion but here condition not follow and create matrix
clc close all; clear all; X = 0:9 ; %three variables Y=X ; Z = X ; objfun=[(X-0.33).^2+(Y-0.33).^2+(Z-0....
7 years ago | 0 answers | 0
0
answersQuestion
6*3 matrix and put each value row wise in equation f(x,y,z)= [(X-0.33).^2+(Y-0.33).^2+(Z-0.33).^2] and calculate the answer and store that value as 4th column in matrix
firstpop = x y z f(x,y,z) 6 1 2 2 5 2 7 1 1 2 6 1...
7 years ago | 2 answers | 0
2
answersQuestion
in entry matrix first two raw is exchange with another matrix which is 2*3 replace first two whole raw with that
entry matrix 1.00 4.00 4.00 3.00 0 6.00 5.00 ...
7 years ago | 1 answer | 0
1
answerQuestion
generate crossover process and make matrix of new created childs
entry = randi(9,6,3) now convert this entry matrix in 8 digit binary now change two conecutive element column and created n...
7 years ago | 0 answers | 0
0
answersQuestion
i generate three digit from crossover with another digit but now i valid only that child1+child2+child3..(in this sequence) which total is less than or equal to 9
bins=fliplr(de2bi(entry,8)); swappedcolumns = [4 5 6]; child = bins; swapoddeven = reshape([2:2:size(bins, 1); ...
7 years ago | 0 answers | 0
0
answersQuestion
random matrix 6*3 and i want set row according highest total of row set as first than lower
2.00 1.00 6.00 =9 0 8.00 2.00 =10 1.00 2.00 ...
7 years ago | 2 answers | 0
2
answersQuestion
find minimum of math function with genetic algorithm in matlab, I know matlab have toolbox for GA but I want achive it programmically
main.m global population; global fitness; global popsize; format bank; popsize=50; report=zeros(popsize,2); ...
7 years ago | 0 answers | 0
0
answersQuestion
i want only that child which strickly follow X+Y+Z=9 if not follow than doing process one more time with other element,
wrappedcolumns = [7 8]; child = parent; swapoddeven = reshape([2:2:size(parent, 1); 1:2:size(parent, 1)], 1, ]); chil...
7 years ago | 0 answers | 0
0
answersQuestion
i want to store elements in matrix and call number wise but there call in workspace it seems undefined function and consider only last entry
for d=1:18 parent=bitand(entry(d), 2.^(7:-1:0)) > 0; end (there is entry(18*1) matrix it has 18 decimal number) ...
7 years ago | 1 answer | 0
1
answerQuestion
parent1= 0 0 0 0 1 0 0 1 and parent2=0 0 0 0 1 1 0 0 and i have another parent 1 to 50 element and i want swap 7 and 8th raw
parent 1 :0 0 0 0 1 0 0 1 parent 2: 0 0 0 0 1 1 0 0 swap 7 & 8 element of both1 and create new one child 1: 0 0 0 0 1 0...
7 years ago | 2 answers | 0
2
answersQuestion
rowsToSwap = [5 6 7]; child1 = pa2; child1(rowsToSwap) = pa1(rowsToSwap); child2 = pa1; child2(rowsToSwap) = pa2(rowsToSwap); make this process in for loop
parent 1--> 0 0 0 0 1 1 0 0 parent 2--> 0 0 0 0 1 0 0 1 child 1--> 0 0 0 0 1 0 0 0 child 2--> 0 0 0 0 1 1 0 1 as like this ...
7 years ago | 0 answers | 0
0
answersQuestion
i have S= 6*3 matrix and i want to give sequencial name to each element like s(1,1)=p1 ....s(1,2)=p2...
i have random 6*3 matrix and want to give name to each element in sequence like i call p1 than show me the data of s(1,1)
7 years ago | 2 answers | 0
2
answersQuestion
two point corssover process in given matrix element In matlab
matrix2D = '00000011' '00000100' '00000010' '00000010' '00000010' '00000101' '00000010' '000000...
7 years ago | 0 answers | 0
0
answersQuestion
i have matrix matrix2D= '00000001' '00000011' '00000111' '00000100' '00000101' '00000100' '00000001' '00000010' '00000001' '00000001' '00000100' '00000011' '00000111' '00000100' '00000001' '
in matrix2D each element is in binary form a b c 1 1 7, 3 2 4, 7 ...
7 years ago | 0 answers | 0
0
answersQuestion
p=4 and b1=dec2bin(p,8) now b1='00000100' and iwant now b1= 0000 first raw & 01000 second raw 2*4 size matrix from binary digit number
8 digit binary to 4 digit group and make matrix from it b1= 0 0 0 0(first raw) 0 0 0 1(second raw) b2= 0 0 0 0 1 0 1...
7 years ago | 1 answer | 0
1
answerQuestion
using genetic algorithm solve algebric equation in matlab without using genetic toolbox. i want to find equation=(X-.33).^2+(Y-0.33).^2+(Z-0.33).^2 minumum value in range 0<x<10, 0<y<10,0<z<10 and X+Y+Z=9.99 value for x,y &z upto 2 decimal point
all process of genetic algorithm in crossover-mutation in matlab code,single point crossover is done in this process at each tim...
8 years ago | 0 answers | 0
0
answersQuestion
i want to solve X+Y+Z=10 and 0<x<10, 0<y<10, 0<z<10 want each combination value of x,y and z in full digit
for value of x,y and z satisfy that equation and x, y and z in this range and answer in full digit in matlab than give answer i...
8 years ago | 2 answers | 0