Community Profile

photo

Sadiq Akbar


Last seen: Today 2015 年からアクティブ

I am Sadiq Akbar, a keen learner in Matlab

統計

All
  • Thankful Level 5
  • Explorer
  • First Review
  • First Answer

バッジを表示

Content Feed

表示方法

質問


How to convert the attached equations in Matlab?
I have two equations which I have attached in the attachment here. I want to convert them in Matlab code. But how? I tried but i...

約1時間 前 | 0 件の回答 | 0

0

回答

質問


why the arrangement of elements are changing?
I have a function fNoise() and a main.m. Both are in the attchment. When I run the main several times, some time the arrangement...

4日 前 | 1 件の回答 | 0

1

回答

質問


Why does this code give me an error?
I want to run the Wild Horse Optimizer (WHO) with my fitness function. It will give me an estimated solution "gBest". Then I wan...

7日 前 | 2 件の回答 | 0

2

回答

質問


How to get a surface plot for the given function to know how many minima are there?
I have a function whose code is given below. I want to determine whether it has one local minimum or several local minima? Fo th...

7日 前 | 1 件の回答 | 0

1

回答

質問


How to modify the 2nd code like the 1st one?
I have two codes. I want to modify the 2nd code given below like that of the 1st code given below: CODE1: u=[30 40 50 80]; %i....

約2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to vectorize the given code?
u=[1 2 40 70];b=u; [~,C]=size(b); P=C/2; M=2*C; f=1e9; c=3e8; l=c/f; K=(2*pi)/l; M=10; d_circular=l/2; a=(M*d_circular...

約2ヶ月 前 | 2 件の回答 | 0

2

回答

質問


How to reduce the execution time of the given piece of code?
I have an algorithm "WHO", a function "fobjNoise" and a script "main". I run the main and I get different values of fitness for ...

約2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to tackle the given issue?
I copied the given code from the following Mathworks site: https://www.mathworks.com/help/phased/ref/phased.rootmusicestimator.s...

7ヶ月 前 | 0 件の回答 | 0

0

回答

質問


Why the given codes give errors for vector bounds but runs well for scalar bounds?
I have downloaded an algorithm BBO from the Mathworks site. I run it with my fitness function "fitVectorized1.m". I oberved the ...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to use two releases of MATLAB (R2017a and R2022b) simultaneously on my laptop?
I had one relaese of MATLAB R2022b installed on my system but it is missing the optimtool. Then I treid to install R2017a, it is...

7ヶ月 前 | 0 件の回答 | 0

0

回答

質問


Why do we get different results here?
I have two functions namely "myfunAskMathworks.m" and "ByAskic.m". The latter is a modified version of the 1st one. In the 1st o...

12ヶ月 前 | 2 件の回答 | 0

2

回答

質問


The code works but it gives this warning. How to remove this warning?
In the attachment, run the "main.m" file. It works but it continuiusly gives the following warning types: Warning: Integer oper...

1年弱 前 | 2 件の回答 | 0

2

回答

質問


Why this piece of code gives error?
When I run the following code, it gives me error on line 19. The code is: clear;clc; c = 3e8; % signal propagation spee...

約1年 前 | 1 件の回答 | 0

1

回答

質問


Why the 2nd code does not behave like the 1st code?
In the attached code of "myfunAskMathworks.m", yo and ye both are of the order 36x1 and these are correct. But in the other atta...

約1年 前 | 2 件の回答 | 0

2

回答

質問


Is there a way to reduce execution time of the following because it took 6 hours and still is executing?
I have attached a file 'main.m'. I started to run main.m at 1:50pm today and still its going on executing and I don't know when ...

約1年 前 | 1 件の回答 | 0

1

回答

質問


Why this code says unrecognized function u?
I had a GA code which was generated by GA in earlier MATLAB version. But I had used there global variables. Later on, I replaced...

約1年 前 | 1 件の回答 | 0

1

回答

質問


Why does this code give error?
I want to implenet timeit() function to find the machine time for the execution of the m-file 'fpa1.m'. But when I run the attac...

約1年 前 | 1 件の回答 | 0

1

回答

質問


why estimating 3 values takes longer time than estimating 4 values?
In the attached code, when we estimate 2 values of u, it takes less time than the case where we estimate 3 values of u? It seems...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to find the total memory used during the execution of the code?
To find the efficiency of my algorithm, I searched this site: URL: https://www.kdnuggets.com/2022/09/calculate-algorithm-effici...

約1年 前 | 2 件の回答 | 0

2

回答

質問


How to find the efficiency of an algorithm?
I have an algorithm fpa1. How can I find its efficiency? All the required files are in the attachment. You can run the main file...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How can we reduce the execution time of this whole code?
I want to minimize the "execution time" of the code given in the attachment. You can run the m file "main".

約1年 前 | 1 件の回答 | 0

1

回答

質問


Why legend is not displayed?
How can I display the legend at my desired side outside the figure? I run the following code but it doesn't work: clear all; cl...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to display a message as flashing and in my desired color and font size?
I want to display the following message in flashing and in my desired color and font size: " Yes, the error is the same " I ...

約1年 前 | 2 件の回答 | 0

2

回答

質問


How to remove all for-loops with vectorization?
I have the following piece of code. I have posted similar codes earlier also and therefore 1st I tried myself to vectorize it bu...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to replace all row vectors except 1st according to the difference?
I have a matrix named as 'two' of size 100 x 4. I have also a singe row vector u=[-55 55 65 -65]; Let we find the error ...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to replace the array data in workspace data?
I have three Mat files namely '2sn0dB.mat', '3sn0dB.mat' and '4sn0dB.mat'. All of them have array 0f size 100 x 1 and having sam...

約1年 前 | 1 件の回答 | 0

1

回答

質問


How to replace the values of a vector from desired location to its end?
I have three vectors a, b and c given below. I want to replace all the values of 'a' from my desired location say for example fr...

約1年 前 | 2 件の回答 | 0

2

回答

質問


How to arrange a matrix in descending order w.r.t rows?
If we have a large matrix and we want to arrange it in descending order i.e., the largest row shoud come on top, then 2nd larges...

約1年 前 | 2 件の回答 | 0

2

回答

質問


How to find the vector b if we know the RMSE?
If we have two vectors given by: a=[3,6,8,20,35,45]; b=[3.0343, 6.2725, 8.5846, 18.3781, 34.2025, 44.9699]; Then its Mean Squ...

約1年 前 | 2 件の回答 | 0

2

回答

質問


How to replace all for-loops ?
I had posted a function here for vectorization. Now this is the same function and even I tried myself to replace all for-loops l...

約1年 前 | 1 件の回答 | 0

1

回答

さらに読み込む