Community Profile

# yared Zeleke

Last seen: fast 3 Jahre vor Aktiv seit 2018

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

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

fast 5 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

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

fast 5 Jahre vor | 1 Antwort | 0

### 1

Antwort

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

fast 5 Jahre vor | 0

Frage

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

fast 5 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 5 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 5 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 5 Jahre vor | 1 Antwort | 0

Antwort