how to create a table in matlab to list my results in without the need to run the program each time to get the results and plot
Show older comments
i ran the same program twice in two cases to get the value of SNR & BER and i got two list of values for each .. how can i apply it in a runnable table plz?
Accepted Answer
More Answers (2)
Image Analyst
on 27 Dec 2012
0 votes
What is a "runnable table"? What does "apply" mean? If you want to save variables from a run of your program, you can use the save() function. If you need to recall them into another run of your program, you can use the load() function. If you want to have a table, you can use the uitable() function or GUIDE to create a grid/table. Beyond that, I have no more guesses about what you mean.
4 Comments
mary
on 27 Dec 2012
Image Analyst
on 28 Dec 2012
I don't have randsrc() so I can't run your program. You can use uitable() to create a table, then do something like
set(handleToYourTable, 'Data', yourMatrix);
mary
on 28 Dec 2012
Image Analyst
on 29 Dec 2012
Pass them via the argument list, or via .mat files.
Rick Rosson
on 29 Dec 2012
0 votes
Please take a look at this self-paced tutorial:
It will answer this question along with many others that you may have.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!