Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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 ...

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 2

| aceptada

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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''')

más de 14 años hace | 1

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

más de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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 ...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 1

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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. ...

casi 15 años hace | 4

Respondida
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....

casi 15 años hace | 3

| aceptada

Respondida
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...

casi 15 años hace | 3

Cargar más