Top 10% contributor
i think this is the answer i found another site
after line 29 add this code. i think it will help for others too.
Answered 2 years ago
i have 10 number of folders. when i run the main.m file the folders shows like 10 number of push buttons. the push button having...
Asked 2 years ago
i have some data. see below
l1 = input('bus connection(choose one number from 1 to 30) = ');
i have some functions then i have
each iteration i got one figure. now i want to save th...
i have a folder of image the folder name is 'image' in the current directory.
all files are .jpg format. now i can apply the fu...
dear programmers i am newbie here.
i need to split a image into 8x8 pixels.
please give the simple code.
i have a matrix
A = [ 1 5 9 7
3 5 7 8
8 2 4 6 ];
now i want to put number 12 in ...
i have a matrix
B = input('enter the element to delete(enter any one 1,2,5,8,6,)= ')
A = [1 2 5 8 6];...
when i press F5 the program start running. how can i stop the program while running.... any shortcuts?
matrix are inputs. also please explain function calling in separate .m file
bdata=[ 1 0 0
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
2 years ago
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
can anyone explain the concept of pso algorithm. and its application.
i am new here....