MATLAB Answers

How to present our data in different graphs

3 views (last 30 days)
Sadiq Akbar
Sadiq Akbar on 5 Apr 2020
Commented: Sadiq Akbar on 6 Apr 2020
(A) I have a desired vector u=[1 2 3 4]. I used an algorithm and that algorithm estimated a best solution for my desired vector u. I ran that algorithm 100 times and obtained 100 such estimated vectors of same size as my u vector. That algorithm also estimated 100 values of my fitness function, 100 values of Execution time of that algorithm, 100 values of Absolute Error Vector of same size as u. Then I found the errors in each indivudual element of u and estimated vector. Then I got the mean of 1st two errors separate and mean of last two error separate, thus got 100 such vales for each mean.
(B) Then I added a noise to vector u. and repeated the above process. Then I changed the value of noise and repeated the same process.
(C) Now I increased the number of elements in u from 4 to 6 and repeated the same process with noise and without noise
(D) Now I increased the number of elements in u from 6 to 8 and again repeated step (C).
Now I want to present this data in diffrent such graphs which attract a reader. Can any body help me in this regard?


Sadiq Akbar
Sadiq Akbar on 6 Apr 2020
Thank you very much Ameer Hamza for your guiadance. Yes you are right, but I want to represent my data in such a way that shows that (1) how my algorithm estimated the four values during these 100 iterations (2) how the fitness varies with respect to number of increasing "the no. of elements" in vector u during these 100 iterations (3) What is the % of succes of estimations for 4 elements, 6 elements and 8 elements during these 100 iterations etc. In short to display such statistical different graphs that can show that yes the algorithm is successfull in estimation of these values. Also if you can suggest something else that can show the convergence, robustness etc. of the algorithm.
Sadiq Akbar
Sadiq Akbar on 6 Apr 2020
Dear Ameer Hamza I am attaching one such sheet for you to understand it in a better way. Read the Note in Column K carefully.

Sign in to comment.

Answers (0)