Answered
GUI size change wih the screen dimension
Are you sure everything has units of normalized (including the text)? h = text(0.5, 0.5, 'Hello world') get(h, 'FontUnit...

14 years ago | 0

| accepted

Answered
Function
What problems are you having. the code looks pretty close. You don't define h, so I just replaced it with gcf (the current figur...

14 years ago | 0

Answered
How to determine if license is concurrent?
I don't know if there is a built-in programmatic way. The license command doesn't seem to provide that information. I don't have...

14 years ago | 0

Answered
selection of value in particular column
The first part is easy x = [ 79.0000 88.0000 1.0000 0 94.9457 80.0000 87.0000 0 0 94.910...

14 years ago | 0

Answered
Line graph shading?
The fill command can do this. It requires some careful control of the ordering of the points and the ordering of the lines (henc...

14 years ago | 0

| accepted

Answered
separate audio from video
Do you want a pure MATLAB based solution? This is one of those things I would not do in MATLAB. In Linux ffmpeg -i audiovid...

14 years ago | 0

Answered
help with single precision floating point arithmetic
You do need to be careful with MATLAB and converting to single. Potentially not obvious is that isequal(single(pi*pi), sing...

14 years ago | 0

Answered
Setting camera properties on axes is not working as I'm expecting
This seems to work for me [x, y, z] = peaks; mesh(x, y, z) hold on set(gca,'CameraPosition', center(1:3), 'CameraPositi...

14 years ago | 0

Answered
Handle figures without bringing them to the front
You can do h = get(n, 'Name') but you might want to consider doing something like hfig = zeros(N, 1); for n = 1...

14 years ago | 0

| accepted

Answered
convert files into matrix
What version of MATLAB are you using? It looks like arr is growing in your loop. Prior to r2011a (???) preallocating a variable ...

14 years ago | 0

| accepted

Answered
About command Orientation
My system does not have an orientation command. If your does: doc orientation help orientation type orientation ar...

14 years ago | 0

Answered
finding lower case letters
x = 'aStringWithCamelCaseThatHasSomeCapitalLetters'; y = x; z = x; y(ismember(x, 'A':'Z')) = '?' or z(ismem...

14 years ago | 0

Answered
System command 'cd' not working
From your comment to Walter, it seems you are trying to change the directory of the "shell" from within MATLAB. It is not really...

14 years ago | 2

| accepted

Answered
Concatenating an empty numeric array to a cell array
I am not sure why this is allowed: [mycellarray [3 4]] I think it should require [mycellarray {[3 4]}] which wor...

14 years ago | 0

| accepted

Answered
Is there a way to open a second command window to displya some numbers and text?
Sure, but is is ugly ... system('matlab -r ''disp(12.01);pause(10);exit''')

14 years ago | 1

Answered
Tutorial on how to make a colourful GUI in matlab ?
I would suggest: <http://undocumentedmatlab.com/blog/modifying-matlab-look-and-feel/>

14 years ago | 1

| accepted

Answered
Is it possible to use an array in an if statement?
Nu_G = zeros(size(Gr)); Nu_G(Gr<10^5) = 0.5.*Gr(Gr<10^5).^0.25; Nu_G(Gr>=10^5) = 0.13.*Gr(Gr>=10^5).^0.33; This is pote...

14 years ago | 0

| accepted

Answered
labelling X and Y axis from another variables
Isn't this the same question you asked before (and accepted my answer)? I will give you the same answer again ... Basically, t...

14 years ago | 0

Answered
Combining Folders
I wouldn't use MATLAB for this. From the CLI in Linux you can do: find ./ -type f -exec cp {} FullPathToNewDirectory \; ...

14 years ago | 0

Answered
labelling X and Y axis
The formatting of your question is a little off, but I think you want ... xlabel([num2str(((i-1)*10)+j), 'resp']) ylabel...

14 years ago | 0

| accepted

Answered
permission issues between Linux (RH 5.5) and WIndows (Server 2K8)
It looks like you are trying to get the mount to work from fstab. I would suggest trying to get it to work first from your user ...

14 years ago | 0

Answered
Searching for specific word containing specific letters and removing last element in the string
For the first part of your question: wordlist = {'airplane', 'ball', 'bell', 'bull'}; letters = 'a':'z'; % a, b, c, ..., z...

14 years ago | 0

| accepted

Answered
can convert date to another form?
It is just a display formatting issue: format long datenum('2006-04-19','yyyy-mm-dd') ans = 732786 datenum('20...

14 years ago | 0

| accepted

Answered
About Ylim
I set the YLimMode to auto in case you have already specified a ylim value. If the max of ylim is less than 0, you need to set t...

14 years ago | 1

Answered
Nyquist rate is not true always
The Nyquist theorem basically says that if you sample at twice the highest frequency you can reconstruct the signal exactly with...

14 years ago | 0

| accepted

Answered
encryption of password
Don't do this. Displaying a series of *'s to mask the password is not encryption. MATLAB is still saving the password in an unen...

14 years ago | 0

| accepted

Answered
Detecting if a file is open by another application
Since you wrote the other app that opens the file, there are lots of ways of doing it (none of them are particularly good). I th...

14 years ago | 0

Answered
How to get answers for my unanswered questions?
Even better than just bumping your question is to edit your question with what you have found out since you asked the question. ...

14 years ago | 4

Answered
Identify Matlab Version used to create a .m file
No. You do not need MATLAB to create .m files. The MATLAB editor does not insert any meta data about its version in the .m file....

14 years ago | 3

| accepted

Answered
Assigning data to variable names in a vector during a for loop.
While you can do this with eval, it is generally not recommended. This is pretty well covered in the FAQ: <http://matlab.wikia.c...

14 years ago | 3

Load more