Answered
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 =...

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 0

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

mer än 8 år ago | 1

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

nästan 9 år ago | 0

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

nästan 9 år ago | 0

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

nästan 9 år ago | 2

| accepted

Answered
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(:,...

nästan 9 år ago | 0

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

nästan 9 år ago | 0

| accepted

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

nästan 9 år ago | 3

| accepted

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

nästan 9 år ago | 1

| accepted

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

nästan 9 år ago | 0

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

nästan 9 år ago | 1

| accepted

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

nästan 9 år ago | 1

| accepted

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

nästan 9 år ago | 0

| accepted

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

nästan 9 år ago | 2

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

nästan 9 år ago | 1

| accepted

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

nästan 9 år ago | 0

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

nästan 9 år ago | 0

Answered
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') ...

nästan 9 år ago | 2

Answered
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:...

nästan 9 år ago | 0

| accepted

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

nästan 9 år ago | 0

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

nästan 9 år ago | 3

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

nästan 9 år ago | 0

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

nästan 9 år ago | 0

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

nästan 9 år ago | 1

| accepted

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

nästan 9 år ago | 0

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

nästan 9 år ago | 0

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

nästan 9 år ago | 1

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

nästan 9 år ago | 0

Load more