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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 2

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 3

| akzeptiert

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 2

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 2

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 3

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 1

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

fast 11 Jahre vor | 0

Mehr laden