Quick conference with James ( Our TA), one things has been noted that "not using the plot function for more than 3 times, otherwise it will take more than half an hour to do it instead of 5 seconds of plotting three elements in one plot".
With Louis' new finding, as in resizing everything and reshape after words, he did get something interesting and we got the confidence of finishing the research.
Right now, we have three clusters, and we might do more to make our plot more accurate.
Testing Notes:
1) failed to plot different layers
Conference (as well as testing/solving) with Dr. Anu :
Basically, we convert linear scales into one dimension, and we should get something like one vector with one dimension.
Procedure:
1) pick one value, or make one value to determine the category as in the classification.
2) determine the columns we have, by code " min(km1) " and " max(km1) "
3) get the value by " sum(km1== 1)" and " sum(km1== 2)" and " sum(km1== 3)", so that the returning number would be the number we need, or the value corresponding to the consecutive 1, 2, and 3.
4) reshape the thing we get, with code "reshape( xxxx,,xxxx)"
5) resize the value after reshape and multiplication " imresize(xxx)", then use the plot function
" plot (i2=1, 'r') "
***check the matlab built- in function, "getpixelposition" , which gets an HG object in pixel units.
No comments:
Post a Comment