Beantwortet
What is the approach to simultaneously changing the brightness on both the GUI axes and figure?
What do you mean by "brighten" the figure? Do you mean that you want the background color to become a lighter shade of gray (or ...

mehr als 13 Jahre vor | 0

Beantwortet
Standard deviation ignoring 0s in matrix
One easy way would be to convert all zeros to NaN, and then use the nanstd function to ignore the NaNs in the std calculation. ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
How to extract data from a figure which contains a uitable?
The number that is given when you do get(gcf,'Children') is the handle to one of the child objects (presumably the uitable if th...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Mapping colored image on grayscale
What do you want the resulting image to look like? Do you want the brain to render as gray, with the tumor shown in the flame-li...

mehr als 13 Jahre vor | 0

Beantwortet
rows which do not contain zero
row = any(D,2); rowCount = sum(row); %number of rows with non-zero elements

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Brain tumor detection in CT data
Hi Peter, Nobody is going to be able to give you a full turnkey solution to your problem, largely because a) such a task is p...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
I have a code for Powell's hybrid method for optimization can any one change it to Matlab
Hi Raj, This code appears to be written in Fortran. In general, nobody on this forum is going to have the time to convert you...

mehr als 13 Jahre vor | 1

Beantwortet
How can i store the labeled coordinates in differnt arrays?
Run regionprops() on B, and then look at the 'PixelList' property.

mehr als 13 Jahre vor | 0

Beantwortet
Need help with a While loop
I reformatted the code for easier reading. A few questions: # 1. what are X and Y for? They don't appear to be used anywhere...

mehr als 13 Jahre vor | 0

Beantwortet
Modifying impixelinfo to display 3d coordinates
I don't believe that impixelinfo or impixelinfoval allows you to specify a custom callback, which is what you would need to do w...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
matrix turning nans to 1
Let M be your matrix. M(isnan(M))=1;

mehr als 13 Jahre vor | 2

| akzeptiert

Beantwortet
encryption of .mat files
Hi Khaled, This hasn't gotten any bites yet, so I thought I'd take a stab at it, although I am not an encryption expert by an...

mehr als 13 Jahre vor | 1

Beantwortet
irregular ,specific geometric shapes
Hi selim, I've actually worked on a similar problem of trying to match irregular shapes from a pattern of other shapes. (In m...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Create a 4-pole, 300-6000HZ bandpass butterworth filter?
If you have the Signal Processing Toolbox, you can use the 'butter' function. doc butter Also, you mention that you hav...

mehr als 13 Jahre vor | 0

Beantwortet
Computing the curvature of a boundary
Hi Said, I have done something similar. Here's one approach: If you have the Spline Fitting Toolbox, you can use the periodic...

mehr als 13 Jahre vor | 0

Beantwortet
Proper implementation and use of fmincon
Hi Mitesh, I'm confused as to your problem formulation. The x(1)=[1 2 3 4] and x(2)=[6 7 8] are not valid MATLAB. What does t...

mehr als 13 Jahre vor | 0

Beantwortet
Manipulate data in cells
Hi Rebecca, I think it would be easiest just to loop through all of the elements of the matrix. To access a given element in...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Selecting a particular part of a string variable
Regular expressions might provide an easier way. fcn = @(s) regexpi(s, '^(\D+)', 'match', 'lineAnchors'); %regex function ...

mehr als 13 Jahre vor | 0

Beantwortet
GUI: draw 2 point
One way to do it is to reset the callback 'windowbuttondownfcn' after two clicks. Something like this: function pushbutton1...

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


Documentation of 'spectrum' function from Matlab 5.x releases?
Hi everyone, I am upgrading some very old code that I inherited. The function comments indicate that code was originally writ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to get specific data with an input, without using eval command
Hi Juan, I agree that you should be able to do it without eval. However, I am still a little unclear how you want your code t...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
accelerating code in matlab - for loop
Could you please format your code properly? It is difficult to tell which lines are commented, etc. Please edit your question to...

mehr als 13 Jahre vor | 0

Beantwortet
Maximum separation of certain points on a 2d plot
You write that "the optimum kx+b line should separate points in such a manner so that there are no points with label 1 in region...

mehr als 13 Jahre vor | 0

Beantwortet
Skull striping without affecting tumor region
If you have the Image Processing Toolbox, you can use 'regionprops' to identify the various objects after your thresholding. For...

mehr als 13 Jahre vor | 1

Beantwortet
'terminator ' 'LF'
The 'terminator' character is an ASCII character (in this case, ASCII char 10) that MATLAB looks for from the serial port to ind...

mehr als 13 Jahre vor | 0

Beantwortet
Smart Solution needed (reading bar code)?
This isn't really a MATLAB question, but anyway.... What exactly do you mean by "manage the extraction or carrying out the su...

mehr als 13 Jahre vor | 1

Beantwortet
*Import data from a file - HELP*
I would first read the file into a string using fileread(). You should then be able to parse the file using regexp(), with the ...

mehr als 13 Jahre vor | 0

Beantwortet
I have a closed outline How t associate a label for each pixel that exit in the region limited by outline
Can you clarify what you are trying to do? Is the closed outline in an image? In that case, use bwboundaries() to get the pixels...

mehr als 13 Jahre vor | 0

Beantwortet
how to get boundary of a hand image???
Images in MATLAB are read in as row x column matrices, like any other matrix. Thus, the horizontal position of a given pixel is ...

mehr als 13 Jahre vor | 0

Beantwortet
SEGMENTATION
There is no generic code that we can send you--it entirely depends upon your image. Regions of interest can be identified using ...

fast 14 Jahre vor | 0

Mehr laden