Respondida
IMRECT: constrain rectangle heght to be a multiple of another value
This sounds like it might be possible with the _setFixedAspectRatioMode_ of the |imrect()| object. Then the aspect ratio will n...

más de 13 años hace | 0

Respondida
How can I code an on-screen keyboard within a GUI to be able to update an edit text box? Similar to a keyboard on a GPS system.
Here's how I would go about this: function OnScreenKeyboard %Figure and edit box hFig = figure; ...

más de 13 años hace | 1

Respondida
Anyone here solves MATLAB problems as 'part-time job' ?
I work > full-time solving MATLAB problems :)

más de 13 años hace | 1

Respondida
Report generation toolbox gives warnings and no figures in R2011b
The “log4j: WARN. . .” is due to a bug in the MATLAB and Simulink Report Generators. The bug was fixed for R2012a where an ...

más de 13 años hace | 2

Respondida
what are the reserved words in Matlab 2011b
You can find all of the keywords by opening |iskeyword.m| edit iskeyword As for builtin functions etc. You can tes...

más de 13 años hace | 1

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 13 años hace

Respondida
Choice between legends and curves
Here is how I would go about this: function showTwoLines %two lines and their legend hFig = figure; hL...

más de 13 años hace | 1

| aceptada

Respondida
how can i get the end point coordinates of major, minor axis of a blob
Use |bwmorph| with the _'endpoints'_ option on the label or binary image. <http://www.mathworks.com/help/releases/R2013a/imag...

más de 13 años hace | 0

Respondida
Having difficulty filtering data and extracting some information from data.
Use |datevec| on your date string to idenitfy the year. Then use logical indexing to discard everything that is not in 2008. ...

más de 13 años hace | 0

Respondida
How to get arg min of an N-dimensional Matrix ?
Or: min(min(min(M)))

más de 13 años hace | 1

Respondida
is there a version of Principle Component Analysis for images?
doc pca and edit pca

más de 13 años hace | 0

Respondida
basic map visualization question
Perhaps: doc mapshow doc geoshow ? Could you post a sample of your data

más de 13 años hace | 0

Respondida
How can i prevent a GUI from closing?
Set the figure's CloseRequestFcn to []; h = figure; surf(peaks); set(h,'CloseRequestFcn',[]); Note, this isn't fool ...

más de 13 años hace | 0

Respondida
Determination of distance within the voronoi-function
Maybe some of the Mapping Toolbox distance measurements would be useful to you: * <http://www.mathworks.com/help/releases/R2...

más de 13 años hace | 0

Respondida
Optimization Toolbox - Use of 'interior-point'
Hi Christoph and Matt J, |optimoptions| is a new class in R2013a meant to be used in place of |optimset|. If you are not usi...

más de 13 años hace | 1

Pregunta


Friday Fun with EVAL()
I think I may have come across the first time in my >5 years of using MATLAB that I have a case where the best possible answer i...

más de 13 años hace | 3 respuestas | 3

3

respuestas

Respondida
Optimizing drawnow for large real-time simulation
Have you tried using all three renderers to see which is the fastest for this application? Or are you tied to OpenGL for transp...

más de 13 años hace | 0

Respondida
Contour plot - how to show contours of irregular body in XY plane?
You could replace the values that you don't want with NaNs. For example: [x,y,z] = peaks; subplot(121) contourf(x,y,z) ...

más de 13 años hace | 0

| aceptada

Respondida
Crossover index and mutation index in GA
The _'Selection'_ vector contains the indices of the individuals that are chosen to create the next generation. Based on the nu...

más de 13 años hace | 0

| aceptada

Respondida
ERROR: Undefined function 'minus' for input arguments of type 'function_handle'.
Please run the following: dbstop if error This will stop with the debugger on the offending line. You will then be able...

más de 13 años hace | 0

| aceptada

Respondida
How can I make a editbox show what is happening in the command window?
What is happening that is causing the numbers to show up at the command window? Whatever function is printing this should be...

más de 13 años hace | 0

| aceptada

Respondida
difference between "care" and "lqry"?
As with any MATLAB function, I highly recommend reading the doc rather than the help. It has more details and examples: <htt...

más de 13 años hace | 0

Respondida
Displaying text correctly on buttons
Hi Andy, First, Good question +1. The problem is with _'Position'_ in this line: rbh1 = uicontrol(bgh,'Style','pu...

más de 13 años hace | 0

| aceptada

Resuelto


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

más de 13 años hace

Respondida
help with load command: how to use data set without knowing name prior to loading
file = 'f.mat'; S = load(file); fn = fieldnames(S); %assuming one variable data = S.(fn{1}) Load the file ...

más de 13 años hace | 0

| aceptada

Respondida
uitable and get/setappdata
More than likely the handles structure from the first GUI is not being passed to the second GUI. I.e. the second GUI is using _...

más de 13 años hace | 0

Respondida
Make figure data not accessible
Set the _'HandleVisibility'_ and _'HitTest'_ of any graphics object you don't want available to _'off'_

más de 13 años hace | 0

Respondida
search pattern without using built -in function
doc regexp

más de 13 años hace | 0

| aceptada

Respondida
Solving two trigonometric equations, two unknowns
syms L1 L2 p R x y Result=solve(R*cos(x)-L1*cos(y)==L2*cos(p),... R*sin(x)-L1*sin(y)==L2*sin(p),x,y) Result.x Res...

más de 13 años hace | 0

Respondida
Use of timer: what's the code to indicate that its period of time is expired?
One thing you could be do would be to |toc| a |tic| that was started earlier. However, the best approach would be to get the _I...

más de 13 años hace | 0

Cargar más