photo

Jakub Reczek


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to change one line of code?
Hi! I have 2 files, one function and a main code. In function code is: function y = myfun(x) a(:,2)=10.0*ones(4,1); for j...

5 years ago | 1 answer | 0

1

answer

Question


PSO algorithm value problem
Hi I have a pso code, but i have a little problem. Here is a code clc; clear; close all; %% Problem Definition CostFun...

5 years ago | 1 answer | 0

1

answer

Question


How to change this function fun = @(x)x(1)*exp(-norm(x)^2) to x^2+y^2?
Hi I dont know how to change fun = @(x)x(1)*exp(-norm(x)^2) to function x^2+y^2?? Thanks for answers

5 years ago | 1 answer | 0

1

answer