Respondida
how you could adjust this script to guarantee that there is at least one letter and at least one digit?
generate a alpha numeric template like: N=20 minreq = 0; while ~minreq alphanum = randi(2,1,N) minreq =...

más de 10 años hace | 0

Respondida
Controling my GUI with just two keys..(for disable people)
I'm not familiar with the original software that Stephen Hawking used but a simple solution is a function that looks at the time...

más de 10 años hace | 0

Respondida
How to show total execution time using MATLAB GUI
you can try something like this: function matlabanswersexample() figure hstring = uicontrol('style','text','unit','...

más de 10 años hace | 0

Respondida
how to add a waitbar in while...end loop?
Depending on what your while condition is. If you are approximating maybe something like this (which converges a bit too fast t...

más de 10 años hace | 1

Respondida
Editing colors in the legend
******************************************** not working past version 2014a ******************************************** well...

casi 11 años hace | 0

Respondida
waitbar not on top
In your implementation do you need to close and create a new waitbar? can you re-purpose the existing waitbar to encompass the ...

casi 11 años hace | 0

Respondida
Problem with data of uitable
since you're coding the uitable instead of using GUIDE you do not have the handles structure. you already have the handles for ...

casi 11 años hace | 2

| aceptada

Respondida
How can I eliminate the pixels on an image that contain more blue or red than green?
create a mask using a threshold. samp(:,:,1) = repmat(0:.1:1,11,1); samp(:,:,3) = repmat([0:.1:1]',1,11); samp(:,...

casi 11 años hace | 0

Respondida
how can I make a colored 2D-surface in a polar plot? I want to give some labels to this polar... It is possible?
the fill is a bit temperamental (does not work for odd blades). but it should be a starting point for you to look further. clc ...

casi 11 años hace | 0

| aceptada

Respondida
How do I create a legend that explaines scatter plot by marker size
since you're using scatter one way around this is by doing this: r1 = randi(10,1,10); r2 = randi(10,1,10); a = 30*ran...

casi 11 años hace | 3

| aceptada

Respondida
How to find best match for single image from multiple images?
I'm not sure what the imfuse gets you besides something to see but why not calculate the structural similarity of the images to ...

casi 11 años hace | 1

| aceptada

Respondida
When I plot a polar.. How can I put the center of the 'marker' inside the 'circle' of the polar (not in the patch edge)?
there is no direct way to set axis limits but you can do what they suggest <http://www.mathworks.com/matlabcentral/answers/8948-...

casi 11 años hace | 0

Respondida
How can I retrieve data from an editable uitable ?
you would use the get() functionality to retreive the data. And these are not "variables" as you are calling them. they are in...

casi 11 años hace | 1

| aceptada

Respondida
How can I load multiple samples in a for loop
that is because sample is undefined but sample1 sample2 and sample3 is what you defined. how you're calling out that last line ...

casi 11 años hace | 1

| aceptada

Respondida
find handle to "uitable" already placed in figure?
I'm not sure why you're having a hard time finding the uitable handle since you've gave an example of finding the textbox handle...

casi 11 años hace | 0

| aceptada

Respondida
Distance Between a Set of Points
you can use the function nchoosek to generate the pairs: xy= randi(10,15,2) pairs = nchoosek(1:5,2) p1 = xy(pairs(:,1...

casi 11 años hace | 2

Respondida
Identify which row has a number which exceeds a number N
try any(A>=N,2) so I don't know what z is but changing z to A i get the desired answer any(A>=16,2)|any(~diff(sort(A...

casi 11 años hace | 1

| aceptada

Respondida
Struggling with legend on grouped bar charts (Matlab)
Well if we start by reading the documentation on legend() we see that we can obtain the handles of a legend and modify the param...

casi 11 años hace | 0

Respondida
Can MATLAB legend color order be changed as the legend element order changes?
I'll start off with Yes it can be done, and No there is not a separate function. What you did by double clicking is not changin...

casi 11 años hace | 0

Respondida
how to include degree circle symbol in legend
use the alt code (alt+248) which will give you ° when generating the legend. figure,plot(randi(10,1,10)) legend('°C') ...

casi 11 años hace | 2

Respondida
MatLab: how to create a rectangular hole in a hyperbolic paraboloid
just create a mask or by change the hole into NaN [s,t]=meshgrid(linspace(0,1,20),linspace(0,1,20)); [X,Y,Z]=meshgrid(0:...

casi 11 años hace | 0

| aceptada

Respondida
Threshold in my plot.
use the function find and any logical operators to determine the position in the array you are at/above/below the threshold. ...

casi 11 años hace | 0

Respondida
How to show cursor coordinate values of an image on screen in matlab?
impixelinfo will display the x,y and gray level of the pixel under the mouse cursor. it will display the information live in th...

casi 11 años hace | 3

Respondida
Matlab doesn't see a file
Thats because the file doesn't have a y at the end. Clearly the file shown using dir is TEMPOgratingEfficienc.xlsx and y...

casi 11 años hace | 0

Respondida
How do i prevent previous legend entries to get erased
Off the top of my head it is not part of the legend function. However it doesn't stop us from modifying what is already there. ...

casi 11 años hace | 0

Respondida
create an image like this
You can try something like this. If you think about what you're trying to do is create stripes based on degrees. And how do we...

casi 11 años hace | 1

| aceptada

Respondida
Build address for a local file
I think it really depends on your implementation and what you're trying to do. is 'C:\Users\...\Desktop\TestSet\' the same fold...

casi 11 años hace | 0

Respondida
How to restrict the polar plot angle from 0 to pi matlab?
I don't recall there is a built in function or parameter to do this but a very quick search on the "file exchange" brought up th...

casi 11 años hace | 0

Respondida
How to Graph a Function
As its homework probably not, but like any problem break it down into sections. you have a function f(x) = x^2-5x-12/(x^2-x...

casi 11 años hace | 1

Respondida
Problem with FFT plot
I totally agree you really need to explain what you want to see. here is a quick sample using the multitude of FFT examples out...

casi 11 años hace | 0

Cargar más