Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
01 Oct 2009 SETPROD Cartesian Product of Sets. Author: Mukhtar Ullah Campbell, Rob

Does the job and has been well coded since previous (now redundant) negative comment was submitted.

20 May 2009 TWXTICKLABEL Tweaks xtick labels for better export to eps for LaTeX inclusion. Author: Mukhtar Ullah Jon

Very helpful little package. Especially useful with bar(...). Nice work. Thanks.

20 Apr 2009 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah C, Matt

Needs some TLC and polish; though a good utility function.

20 Apr 2009 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah C, Matt

05 Nov 2008 FINDROW Find indices of a given row within a matrix when INTERSECT can't help Author: Mukhtar Ullah Jos (10584)

Unfortunately this function errors for non-numeric input.

05 Nov 2008 FINDROW Find indices of a given row within a matrix when INTERSECT can't help Author: Mukhtar Ullah Betty

14 Oct 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah K, Senthilkumaran

Ohh.. Now I could understand, why I did not get roundn function. I didn't install Mapping tool box in R2007b. ThxJohn Greeb for the info.

11 Oct 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah Vallabhajosula, Srikant

works for me!!! great timely help!!!

18 Jun 2008 SETAXES creates handles of nested functions for fixing problems with MATLAB figures. Author: Mukhtar Ullah mezger, tom

cool. this is one of the best files i have ever found.

08 Jun 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah Chai, Kian

Thanks a lot

19 May 2008 SETAXES creates handles of nested functions for fixing problems with MATLAB figures. Author: Mukhtar Ullah Barrington-Leigh, Christopher

Wow, this is a labour of love and is nearly magical for me. For months I have been struggling with the infuriating difficulty of exporting small figures with LaTeX-rendered xlabels.
The automatic mode of your code improves the situation for me. I need to use the detailed version to get it right, and that means fiddling around by hand for each plot. Being reduced to that again is of course, a great shame and a significant failure for Matlab, but at least I know how now. To Mukhtar (and the blog which inspired him) -- THANK YOU!!!

30 Apr 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah Greeb, John

Regarding roundn- I found it in the Mapping toolbox from MATLAB.

27 Apr 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah Deb, Amita

This seems very useful. I am surprised that MATLAB doesn't have a built-in function to to rounding-off up to a desired number of decimal places.

24 Apr 2008 SYMBMAT subscripted symbolic matrix (SYMBMATMAKE vectorized) Author: Mukhtar Ullah Betancourt, Ramon

Since a lot of time am seeking a program for create multidimensional symbolic arrays. this is just that i need.

Tanks

22 Feb 2008 FAPPENDL FAPPENDL Write line to file in an intuitive syntax rather than FPRINTF Author: Mukhtar Ullah L, K

I stick with saveascii.m

21 Feb 2008 FAPPENDL FAPPENDL Write line to file in an intuitive syntax rather than FPRINTF Author: Mukhtar Ullah Ullah, Mukhtar

John,
Thank you for your comments. I will change the help accordingly. The idea is not to replace fprintf but to make life easier for simpler tasks.

21 Feb 2008 FAPPENDL FAPPENDL Write line to file in an intuitive syntax rather than FPRINTF Author: Mukhtar Ullah D'Errico, John

By the way, why did I rate this submission as only a 4? After all, it seems to work reasonably nicely.

I did so because I had to figure out that it does not work if I wanted to append a line with numeric data, that I had first to convert the numeric data to a string. While this is not incredibly hard to do, I had to figure that out by testing the code. There is no statement in the help that this will not work. Since the help is really only an example of use, it gives you only a hint of what DOES work. You need to infer the rest.

Excellent help would have told me all I needed to know about how to use it, without ever testing the code.

20 Feb 2008 FAPPENDL FAPPENDL Write line to file in an intuitive syntax rather than FPRINTF Author: Mukhtar Ullah D'Errico, John

This is a very simple utility, but it is moderately simpler than the alternative of fprintf when you wish to create a text file.

Note that it ONLY writes text lines. So if you wanted to write out the value of some numeric variable, you will need to use fprintf anyway, or convert your numbers to a string on your own.

The help is mainly an example of use, but it seems to get the point across.

18 Feb 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah Atanasov, Angel

Thank you. Great addition for me. :)

05 Feb 2008 TWXTICKLABEL Tweaks xtick labels for better export to eps for LaTeX inclusion. Author: Mukhtar Ullah a, a

Great package, if you add in:
'FontWeight',get(ax,'FontWeight'),
and
'FontName',get(ax,'FontName'),
to the line:
set(h, 'fontsize', get(ax,'fontsize'),..

you can maintain your global font style

05 Feb 2008 HELPER functions for SETAXES Three HELPER functions for the function SETAXES on the ML file exhange Author: Mukhtar Ullah SINGH, SAHEB

05 Feb 2008 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah Ullah, Mukhtar

Senthilkumaran, I could not find roundn in MATLAB R2007b. May be you have mistyped it? It will be very interseting to know if there is a function like that.

05 Feb 2008 HELPER functions for SETAXES Three HELPER functions for the function SETAXES on the ML file exhange Author: Mukhtar Ullah Ullah, Mukhtar

I forgot to mention two things about this post.
If you have the FIXPSLINESTYLE http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=17928&objectType=file
in your working directory, then PRINTFIG will apply that to the eps output. If you have MiKTeX installed (and on your path), then the pdf output is generated from the pdf output by using epstopdf.
I would encourage users to download FIXPSLINESTYLE because it improves your output.

05 Feb 2008 TWXTICKLABEL Tweaks xtick labels for better export to eps for LaTeX inclusion. Author: Mukhtar Ullah Ullah, Mukhtar

This file is no longer needed if you download SETAXES I recently submitted.

05 Feb 2008 TWYTICKLABEL Tweak ytick labels to preserve fonts and spacing of YTick Labels in exported eps. Author: Mukhtar Ullah Ullah, Mukhtar

This file is no longer needed if you download SETAXES I recently submitted.

28 Nov 2007 DIRDIFF Directional derivative Author: Mukhtar Ullah Centi, Riccardo

% if F is a surface its directional
% derivative at the point x in the
% direction r can be expressed
% DF(x,r) = D(F(x+a*r,r) - F(x))/da with a = 0

syms a;
syms f1;
f1 = subs(f,x,x + a*r);
Xpdf = subs(diff ((f1-f),a),a,0)

28 Nov 2007 DIRDIFF Directional derivative Author: Mukhtar Ullah Riccardo, Centi

Function directionally derivative can be calcolated faster in the following way

syms a;
syms f1;
f1 = subs(f,x + a*X);
Xpdf = subs(diff ((f1-f),a),a,0)

14 Nov 2007 FREQTABLE Frequency table. Author: Mukhtar Ullah ploner, meinhard

ok, i had a transposed vector in the last try(see last review). surely [1; 1+find(diff(S))] instead of [find(diff(S)); end] does not change anything in terms of performance ;-))

14 Nov 2007 FREQTABLE Frequency table. Author: Mukhtar Ullah ploner GMX, meinhard

i changed the code line after "S=..." to:

    B = S([ 1 1+find(diff(S)) ]);

and now it works for me, too. Without the change i got the message: ??? Error using ==> vertcat
CAT arguments dimensions are not consistent.

31 Oct 2007 SYM2POLYS Improved version of Sym2Polys (by Paul Godfrey). Author: Mukhtar Ullah Ferguson, Noviar

It helps me a lot!
Thank you very much!!! =)

31 May 2007 TWXTICKLABEL Tweaks xtick labels for better export to eps for LaTeX inclusion. Author: Mukhtar Ullah Gruber, Diego

31 May 2007 TWYTICKLABEL Tweak ytick labels to preserve fonts and spacing of YTick Labels in exported eps. Author: Mukhtar Ullah Gruber, Diego

15 May 2007 TWYTICKLABEL Tweak ytick labels to preserve fonts and spacing of YTick Labels in exported eps. Author: Mukhtar Ullah Narz, Dirk

This is just what I've been looking for, thanks so much!

11 May 2007 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah K, Senthilkumaran

Hi... Do u have any idea about roundn function..
I used it in R14 version but couldn't find it in 2006b. Anyway your code helped to bridge that gap.

10 May 2007 BINOMIAL (Binomial coefficient.) Binomial coefficient of arrays Author: Mukhtar Ullah Ullah, Mukhtar

nchoosek is for scalars only.

12 Apr 2007 BINOMIAL (Binomial coefficient.) Binomial coefficient of arrays Author: Mukhtar Ullah Park, Memming

what's the difference from MATLAB's built-in nchoosek? (type "open nchoosek" and you can see the source code)

04 Dec 2006 TWXTICKLABEL Tweaks xtick labels for better export to eps for LaTeX inclusion. Author: Mukhtar Ullah Ullah, Mukhtar

I found a serious problem. Since updating is temporarily unavailable, please remove or comment out the following lines, until I update the file.

set(0, ...
    'defaulttextfontsize', 8, ...
    'defaulttextfontname', 'cmr', ...
    'defaultaxesfontsize', 8, ...
    'defaultaxesfontsize', 8, ...
    'defaultaxesfontname', 'cmr')

04 Dec 2006 TWYTICKLABEL Tweak ytick labels to preserve fonts and spacing of YTick Labels in exported eps. Author: Mukhtar Ullah Ullah, Mukhtar

In continuation to the last review ....

or comment out line 45-50 for the moment until I update the file.

04 Dec 2006 TWYTICKLABEL Tweak ytick labels to preserve fonts and spacing of YTick Labels in exported eps. Author: Mukhtar Ullah Ullah, Mukhtar

I have found a very serious problem. Since the update is temporarily unavailable, I am mentioning the correction here. Please change line 45 from
   set(ax, ...
to
   set(0, ...

03 Dec 2006 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah Ullah, Mukhtar

In continuation to previous remark: in ISWHOLE(X1,X2,..,XN), the arrays X1, X2,... can have different dimenions. How on earth can you vectorize ISWHOLE in that case?

02 Dec 2006 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah Ullah, Mukhtar

Dear Carlos,
You seem to have completely missed what I meant. My dear, in my first syntax ISWHOLE(X), X is an array, which means it can be a vector or matrix. My second syntax ISWHOLE(X1,X2,..,XN) is for the general case when X1, X2 ,.. XN are arrays (vectors or matices). Matlab is an array oriented language, so I don't have to write that explicitely. Matlab users get it usually.

22 Nov 2006 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah Vargas Aguilera, Carlos Adrian

What? Do you really think so, Ullah? It's Matlab! Check out like i said, Fibonacci.m or my roundd.m, is easy my friend... and then the input can be [X1,X2,..,XN] or a matrix...

22 Nov 2006 MODE Computes mode of statistical data. Author: Mukhtar Ullah Rex, James

Neat.

20 Nov 2006 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah Mukhtar, Ullah

Carlos,
If you only consider the first syntax I provide ,ISWHOLE(X), then you are right. I don't need varargin. The if part of the if-else structure is vectorized already. However, the non-vectorized else part, corresponds to the 2nd syntx, ISWHOLE(X1,X2,..,XN), which cannot be vectorized, at least with the current Matlab verions.

11 Nov 2006 ISWHOLE True for integers(whole numbers). Author: Mukhtar Ullah Vargas Aguilera, Carlos Adrián

Good but, why not vectorized? And why not make it for any kind of arrays? There's not need for varargin.

Check the inside of file Fibonacci.m by David Terr.

30 Aug 2006 DARROW draw arrows at specified point in spefied directions Author: Mukhtar Ullah Aldous, Anthony

there is a problem with the use of annotation:

Error using ==> annotation
X and Y values must be between 0 and 1

as it wants normalised coordinates. Could you fix it? I would be greatful if you could as it would be very useful for my project.

Thanks

28 Aug 2006 BINOMIAL (Binomial coefficient.) Binomial coefficient of arrays Author: Mukhtar Ullah Demands, O

I was laughing out loud when I got the error mesage: ??? Undefined function or variable 'isfloat'. Only the most incompetent programmer would put in requirements of that type in a trivial function file like this.

24 Aug 2006 SYM2POLYS Improved version of Sym2Polys (by Paul Godfrey). Author: Mukhtar Ullah Ullah, Mukhtar

udhaya kumar,
Thanks for detecting this bug. I have uploaded the bug-fixed version today. It should appear soon in this ML exchange.

22 Aug 2006 BINOMIAL (Binomial coefficient.) Binomial coefficient of arrays Author: Mukhtar Ullah mercier, luc

Remedies a clear lack in matlab built-in functions. Very handy!

24 Jul 2006 FREQTABLE Frequency table. Author: Mukhtar Ullah Sobrino, Celia

very smart

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com