Community Profile

# Seyedali Mirjalili

### seyedalimirjalili.com

Last seen: 6 Tage ago Active since 2017

Professional Interests: Multi-objective optimization, Robust optimization, Swarm intelligence, Computational intelligence

All

#### Content Feed

View by

What are the best free MATLAB resources for image processing?
You can find nice tutorials here: <https://au.mathworks.com/help/images/getting-started-with-image-processing-toolbox.html>

mehr als 3 Jahre ago | 0

Help needed to decrease computational time by removing for loops
By the way, if you want to check the speed, just write: tic // code fragment for either for loop of vectoriaed version. ...

mehr als 3 Jahre ago | 0

Help needed to decrease computational time by removing for loops
You can use the concept of vectorization. Here is an example: With for loop: for k = 1 : 10 a(k) = k ^ 2; end ...

mehr als 3 Jahre ago | 0

I am not sure about the declaration of 4 variables..
In Matlab, you do not declare a variable. However, if you ask how to initialise four variables, here is the code: var1 = 0 ...

mehr als 3 Jahre ago | 0

How to compare tables/cells/characters?
Does the following help? tf = strcmp(s1,s2) compares s1 and s2 and returns 1 (true) if the two are identical and 0 (false) ot...

mehr als 3 Jahre ago | 0

Plotting a 3D graph, incorrect solution.
The problem is that after exiting the for loops, x and y are both equal to 100. So, they are scalars and cannot be used in surf....

mehr als 3 Jahre ago | 0

| accepted

xlswrite too large imput
I had the same issue and managed to fix it. I was trying to create a file that did not exist in the path. So, I created the file...

mehr als 3 Jahre ago | 0

I can not create a matrix
Please note that curly brace ({i}) makes a cell array and not a matrix. You have to use square brackets instead: [] So: ...

mehr als 4 Jahre ago | 0

I need help writing a program to pick the largest number in a list
Try this: my_max = -inf; for k=1:length(y) % y is your array if my_max < y(k) my_max = y(k); end ...

mehr als 4 Jahre ago | 0

| accepted