Answered
Figure size and fonts are different with or without GUI in Linux...
This might be related to this question: <http://www.mathworks.com/matlabcentral/answers/1238-font-size-changes-in-figures> It...

14 years ago | 0

Answered
bar graph with broken y-axis
Are you sure you want to do this? In my opinion this rarely looks good and also is usually not the best way to convey informatio...

14 years ago | 0

Answered
Std in matlab different from stdevp in excel
There are two ways to calculate the standard deviation. In Excel these are stdev and stdevp. In MATLAB they are std(x) and std(x...

14 years ago | 2

Answered
write a function about ' v(t)=10^9+10^8*(1-exp(-t./100))-1.5*10^7*t '
I don't think you can. If you work through the math, I think you will eventually get something t+a*log(b*t) is equal to c. If yo...

14 years ago | 0

Answered
How can code formatting be made more intuitive for newcomers?
Maybe the question is wrong. I think a better question is why is unformatted code so unreadable? I cannot believe that there isn...

14 years ago | 0

Answered
Simplifying a large nested for-loop
It sounds like a recursive problem to me. What about something like function comb = looper(comb, IX, n, N) if n > leng...

14 years ago | 1

| accepted

Answered
Are we voting enough?
I have decided that I haven't been voting enough. Basically I haven't been voting at all. I have now decided that if I read a qu...

14 years ago | 2

Answered
mfilename in nested functions
I think you can use dbstack to get the information. The easiest, although potentially hardest to maintain is to set the "functio...

14 years ago | 0

Answered
Switch Case where case is a word_anynumber
A regular expression might be useful for this type of task. Using the following as the test case: a = cellstr([repmat('word...

14 years ago | 0

| accepted

Answered
delete files
I wouldn't use MATLAB for this ... On Linux find ./ -type f -name *DIN* -exec rm {} \; I am not sure of the syntax of find ...

14 years ago | 0

Answered
matlab error message
My guess is that you are either trying to define a function at the command prompt or in a script. Functions are only allowed to ...

14 years ago | 0

Answered
Can handle class be used to simulate "Pointer" in C language?
Objects of the handle class are not identical to pointers. When you pass an object to a function (whether it is a value class or...

14 years ago | 1

Answered
new lines from an edit text component
Assuming h is the handle to your uicontrol ... s = get(h, 'string'); scell = mat2cell(s, ones(size(s, 1), 1), size(s, 2)...

14 years ago | 0

| accepted

Answered
To Know about language
Most of the machine specific processing is closed source and proprietary and individuals working with the source are generally r...

14 years ago | 2

| accepted

Answered
png to eps conversion
You realize that png is a bitmap image format and eps is traditionally used for vector graphics. While you can embed a bitmap im...

14 years ago | 0

Answered
Text-file manipulation
This smells like a regular expression to me. I am guessing someone with good regexp foo can do this with one line. I am not that...

14 years ago | 0

Answered
How to set line style while using plot in a for loop?
With a slight change (changing lin to be linS) it works for me... linS = {'-','--',':'}; for j=1:2 subplot(2,1,j) ...

14 years ago | 4

| accepted

Answered
What figure properties does graymon sets?
You can see the inner workings of graymon with type graymon.m It changes the DefaultAxesColorOrder for all current and...

14 years ago | 0

| accepted

Answered
how do I set up a user for both linux and windows matlab use?
This seems strange to me, how did you get the Linux MATLAB to read the Windows preferences? Assuming you haven't linked the Wind...

14 years ago | 0

Answered
indeterminate progress bar for GUI
There are a number of submissions on the FEX: <http://www.mathworks.com/matlabcentral/fileexchange/?term=progress+bar>

14 years ago | 1

Answered
How to replace values of a large array by the values of a smaller one?
Is this what you mean: T3 = T1; [c, ia, ib] = intersect(T2(:, 1:2), T3(:, 1:2), 'rows'); T3(ib, 3) = T2(ia, 3)

14 years ago | 0

| accepted

Answered
How do I apply my filter to my image? (first matlab project)
I would start by reading the documentation for dfilt doc dfilt From there you will see: y = filter(Hd,x) which i...

14 years ago | 1

Answered
p(5 sets of twins in the SD state football tournament)
Don't confuse expectation and probability. The expectation is that if you flip a fair coin two million times that you will get h...

14 years ago | 0

| accepted

Answered
x.abs()?
I disagrees with both answers. Starting with x = -1; You can see that abs is a method with methods(x) metaclass(x) me...

14 years ago | 2

Answered
randn
Your question is not really clear ... how about x = mod(randn(2, 100)+10, 20) You maybe you mean ... x = 10*randn(2...

14 years ago | 0

| accepted

Answered
fprintf applied to variable
I think you are looking for sprintf and fprintf doc sprintf

14 years ago | 0

| accepted

Answered
How to cite a User's Guide?
Using <www.mathworks.com/help/pdf_doc/gads/gads_tb.pdf> and APA style as an example: I would treat it as a mix between a "Report...

14 years ago | 0

| accepted

Answered
How to cite a User's Guide?
I am going to go with don't cite it. User's guides are secondary sources and you tend to be better off citing primary sources. ...

14 years ago | 0

Answered
parfor (file reading)
I am not sure how exactly MATLAB handles file reading and how hard drives handle multiple read request, but my guess is that dis...

14 years ago | 0

Answered
Problem Matlab Ubuntu
Are all your file separation slashes correct? You can use filesep to handle the / and \ differences. Is the directory your image...

14 years ago | 0

Load more