Question

Matrix dimenssion must agree

Hello, this is my code to find out the best values but getting some error please any one help me out to solve this. functi...

2 years ago | 0 answers | 0

Question

How to find the respective sets according to the minimum cost

one set is S1( 7,4,3,9,2) another one S2 ( 3,6,7,1,8) cost1 = 20 // respective to S1 cost2 =23 // respective to S2 A = min...

2 years ago | 0 answers | 0

Question

Create a function helps to find the path

I want a create a recursive function for that I wrote one algorithm to calculate the path like function( int i , int j) if...

2 years ago | 0 answers | 0

Question

Finding the nearest node in this case

I am trying to find nearest node from the fixed node. so here is the code x1= [16,38,56,78,45]; y1 =[23,62,77,56,34]; x2 ...

2 years ago | 1 answer | 0

Question

How to give number to the node randomly

I placed 50 random node in the area of 180*40. Now how to give number to that random node from 1-50 and also how to calculate t...

2 years ago | 1 answer | 0

Question

Finding minimum value by using min()

I want to find minimum 10 value i wrote for j= 1:10 for i= 1:10 for k = 1:13 fitness (j,i,k)=(........);%10*10*13 double ...

2 years ago | 2 answers | 0

Question

Subscript indices must either be real positive integers or logicals. New to MATLAB please help me out.

clc; close all; % Close all figures (except those of imtool.) clear; % Erase all existing variables. Or clearvars if you w...

2 years ago | 1 answer | 0

Question

Indexed exceeds matrix dimensions

clc; close all; % Close all figures (except those of imtool.) clear; % Erase all existing variables. Or clearvars if you wan...

2 years ago | 2 answers | 0

Question

Please help me to do free search krill herd algorithm in Matlab. I have the algorithm but not able to write the source code by using matlab. its urgent me to do please somebody help me to do it.

Begin Initialization. Set the generation counter ???? = 1; set the foraging speed ??, maximum diffusion speed ?max, and the ma...

2 years ago | 0 answers | 0

Question

Please help me to write a MATLAB code for free search krill herd algorithm

I am new to here tring for free Search krill herd algorithm implications by using MATLAB. please some help me

2 years ago | 1 answer | 0

Question

How to draw a rectangle and placed node by clicking on them using MATLAB

draw a rectangle and placed node by clicking on them using matlab

2 years ago | 0 answers | 0