Rank: 97555 based on 0 downloads (last 30 days) and 0 file submitted
photo

Pegah Hosseini

E-mail
Company/University
University of Southampton

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Pegah View all
Updated File Comments Rating
04 Mar 2014 arrow.m Draw a line with an arrowhead. Author: Erik Johnson

I think this is one of the best functions I have ever stumbled upon. Thanks alot.

04 Dec 2013 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

Hi everyone. I found out how to freeze the colorbar as well. Actually, I got my answer from the test_main.m file of this submission. You should download cbfreeze.m and cbhandle.m (by Carlos Adrian Vargas Aguilera) and freeze your colorbar with these functions. Just make sure to download cbhandle.m as well or MATLAB will give you some handle errors.

example:
load clown
figure
subplot(1,2,1)
imagesc(X)
colormap(gray)
freezeColors
h=colorbar;
cbfreeze(h)
subplot(1,2,2)
imagesc(X)
colormap(jet)
freezeColors
h=colorbar;
cbfreeze(h)

04 Dec 2013 freezeColors / unfreezeColors Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. Author: John Iversen

Hi. This is great.
I have the same problem as Fedor. The colorbars that I add to my plots all have the same colors of the last entry for colormap. So now, my jet colormap has a gray colorbar.

06 Aug 2013 MyFriedman Friedman test for non parametric two way ANalysis Of VAriance Author: Giuseppe Cardillo

Hi, I am a bit confused with the multiple comparison part. If I have 3 treatments and I get a matrix like [0 0 0;1 0 0;0 1 0], then it means that there is a significant difference between treatments (1,2) & (2,3)?
The reason I am this confused is that I apply both friedman of matlab and myfriedman on a set of random 10x3 matrices(say 100 times). Everytime that MATLAB's friedman gives a p-value less than 0.05, myfriedman also reports a significance (they seem to give the same result up to this point). But then the significance difference is different between the multcompare of MATLAB (with Tukey as ctype) and the one in myfriedman. For example, myfriedman gives a difference between (1,2) whereas MATLAB's multcompare gives a difference between (2,3).
I know that the two files use different post-hoc methods but I assumed that one should only be a more conservative form of the other. So, I expected the group differences result of one of these methods to be a subset of the other one not almost completely different group differences.

Contact us