Community Profile

photo

yared Zeleke


Last seen: environ 4 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

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

presque 6 ans il y a | 1 réponse | 0

0

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

A répondu
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; ...

environ 6 ans il y a | 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...

environ 6 ans il y a | 1 réponse | 0

1

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 6 ans il y a | 1 réponse | 0

1

réponse