Community Profile

photo

yared Zeleke


Last seen: 3 maanden ago
7 total contributions since 2018

yared Zeleke's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


I want to get child_fitness=0 i got some eror please any one figure it out let me know thanks?
clear;close all;clc; GENSIZE=20; target = input('Enter a string (max 30 chars in length): ', 's'); genepool=[]; pop= char...

ongeveer 2 jaar ago | 0 answers | 0

0

answers

Question


please would you change this python program to matlab ?
GENSIZE=20 genepool =[] for i in range(0,GENSIZE); dna = [random.choice(string.printable[:-5]) for j in...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Answered
i want to change this python program to matlab
clc clear all target="hello,world!"; function fitval = fitness(source, target)%def calc_fitness; fitval = 0; ...

ongeveer 2 jaar ago | 0

Question


i want to change this python program to matlab
import random import string target = "Hello, World!" def calc_fitness(source, target): fitval = 0 for...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


a simple evoulutionary algorithm 1. the user can enter any user defined string as the evolutionary tareget up to 30 characters max
clc clear t= 'Hell world!'; numRands=length(t); tlength=numRands; source=t(ceil(rand(1,tlength)*numRands)); ...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


write some statements on the command line to remove the largest elements from a vector .try it out on x=[1 2 5 0 5]. the idea is to end up with [1 2 0] in x. Use find and empty vector [ ].
clc clear runflag='Y'; while runflag=='Y'|runflag=='y' x_6 = input('Please input in the following format...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


where can i use round function to make the function perfect
function [amt_ret, x]= calculate_change(tendered,price) %------------------------------------------------------------------...

meer dan 2 jaar ago | 1 answer | 0

1

answer